askclass-home-theme 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/boxes/fullpage.html +1 -4
- data/_includes/boxes/rounded.html +3 -1
- data/_sass/_section.scss +7 -19
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79ebf39a48585ebae94e085b232f0dbc42f2d46952ae8a56da8da1d3ca6a5a99
|
4
|
+
data.tar.gz: 48058a39723ed90712494c140656d44a2baf7c0d3207b126b1c5d74635433b26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d23621970fd3b4cb5eef33e4a2562024471f79f11e501f2af0cfacff6f19b23afda6e5e1425aff7eabc3714543bbcc3c0435ba3cc50497d29e4378f91c7e526
|
7
|
+
data.tar.gz: ff5fd23501809244455acf97d7b390f78677230b40471a46f22105ff9ef3532321d3b0065d9392a980e1e49c37fd765c6a42f8168c4c3f801bb1d9b47867608d
|
@@ -27,12 +27,9 @@
|
|
27
27
|
{%- endif %}
|
28
28
|
|
29
29
|
<div class='text'>
|
30
|
-
{%- if info.subheader %}
|
31
|
-
{%- assign smaller = 'smaller' %}
|
32
|
-
{%- endif %}
|
33
30
|
{%- for hdr in info.headers %}
|
34
31
|
<h1
|
35
|
-
class='animated
|
32
|
+
class='animated'
|
36
33
|
style='animation-delay: {{ forloop.index | times: 300 | plus: 100 }}ms'>
|
37
34
|
{{ hdr }}
|
38
35
|
</h1>
|
@@ -3,8 +3,10 @@
|
|
3
3
|
{%- assign len = info.boxes | size %}
|
4
4
|
{%- if len > 1 %}
|
5
5
|
{%- assign splitContent = 'split-content' %}
|
6
|
+
{%- assign smaller = 'smaller' %}
|
6
7
|
{%- else %}
|
7
8
|
{%- assign splitContent = '' %}
|
9
|
+
{%- assign smaller = '' %}
|
8
10
|
{%- endif %}
|
9
11
|
<div class='max-width {{ splitContent }}'>
|
10
12
|
{%- for box in info.boxes %}
|
@@ -18,7 +20,7 @@
|
|
18
20
|
<img src='{{ box.image.src }}' title='{{ box.image.text }}' width='{{ box.image.width }}' />
|
19
21
|
</div>
|
20
22
|
{%- endif %}
|
21
|
-
<h1 class='smaller'>{{ box.title }}</h1>
|
23
|
+
<h1 class='{{ smaller }}'>{{ box.title }}</h1>
|
22
24
|
<p>{{ box.text }}</p>
|
23
25
|
{%- if box.button %}
|
24
26
|
<a class='a-button link' href='{{ box.button.href }}'>
|
data/_sass/_section.scss
CHANGED
@@ -48,13 +48,9 @@ article {
|
|
48
48
|
margin-top: 20px;
|
49
49
|
}
|
50
50
|
|
51
|
-
h1.smaller {
|
52
|
-
text-transform: uppercase;
|
53
|
-
}
|
54
51
|
h4 {
|
55
52
|
margin: 0;
|
56
53
|
padding: 0;
|
57
|
-
text-transform: uppercase;
|
58
54
|
color: var(--color-dark);
|
59
55
|
}
|
60
56
|
p {
|
@@ -78,7 +74,6 @@ article {
|
|
78
74
|
padding: 2em;
|
79
75
|
margin: 1em 0;
|
80
76
|
h1 {
|
81
|
-
text-transform: uppercase;
|
82
77
|
margin: 0;
|
83
78
|
line-height: 1;
|
84
79
|
}
|
@@ -88,36 +83,30 @@ article {
|
|
88
83
|
}
|
89
84
|
}
|
90
85
|
|
91
|
-
@mixin
|
86
|
+
@mixin large() {
|
92
87
|
h1 { font-size: 80px; }
|
93
88
|
h1.smaller { font-size: 70px; }
|
94
89
|
h4, p { font-size: 35px; }
|
95
90
|
}
|
96
91
|
|
97
|
-
@mixin large() {
|
98
|
-
h1 { font-size: 60px; }
|
99
|
-
h1.smaller { font-size: 50px; }
|
100
|
-
h4, p { font-size: 30px; }
|
101
|
-
}
|
102
|
-
|
103
92
|
@mixin medium() {
|
104
93
|
h1 { font-size: 50px; }
|
105
94
|
h1.smaller { font-size: 40px; }
|
106
|
-
h4, p { font-size:
|
95
|
+
h4, p { font-size: 30px; }
|
107
96
|
}
|
108
97
|
|
109
98
|
@mixin small() {
|
110
99
|
h1 { font-size: 40px; }
|
111
100
|
h1.smaller { font-size: 30px; }
|
112
|
-
h4, p { font-size:
|
101
|
+
h4, p { font-size: 24px; }
|
113
102
|
}
|
114
103
|
|
115
104
|
@media screen and (min-width:1024px) {
|
116
|
-
@include
|
105
|
+
@include large();
|
117
106
|
}
|
118
107
|
|
119
108
|
@media screen and (min-width:767px) {
|
120
|
-
@include
|
109
|
+
@include medium();
|
121
110
|
.max-width.split-content {
|
122
111
|
flex-direction: row;
|
123
112
|
&.align-right {
|
@@ -128,9 +117,8 @@ article {
|
|
128
117
|
}
|
129
118
|
}
|
130
119
|
}
|
131
|
-
@media screen and (max-width:767px) { @include
|
132
|
-
@media screen and (max-width:600px) { @include small(); }
|
120
|
+
@media screen and (max-width:767px) { @include small(); }
|
133
121
|
|
134
122
|
&.rounded .max-width,
|
135
|
-
.split-content { @include
|
123
|
+
.split-content { @include small(); }
|
136
124
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: askclass-home-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AskClass
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|