minimal-mistakes-jekyll 4.14.0 → 4.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/LICENSE +20 -20
- data/README.md +1 -1
- data/_data/ui-text.yml +1176 -1176
- data/_includes/analytics-providers/google-gtag.html +9 -9
- data/_includes/analytics-providers/google-universal.html +10 -10
- data/_includes/analytics-providers/google.html +13 -13
- data/_includes/analytics.html +13 -13
- data/_includes/author-profile-custom-links.html +6 -6
- data/_includes/author-profile.html +271 -271
- data/_includes/breadcrumbs.html +39 -39
- data/_includes/comments-providers/scripts.html +19 -19
- data/_includes/comments-providers/utterances.html +19 -19
- data/_includes/comments.html +174 -174
- data/_includes/footer.html +19 -19
- data/_includes/head.html +41 -41
- data/_includes/masthead.html +33 -33
- data/_includes/search/algolia-search-scripts.html +54 -54
- data/_includes/search/search_form.html +17 -17
- data/_includes/seo.html +164 -164
- data/_includes/video +13 -13
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +13 -13
- data/_layouts/posts.html +29 -29
- data/_layouts/single.html +94 -94
- data/_layouts/splash.html +21 -21
- data/_layouts/tags.html +42 -42
- data/_sass/minimal-mistakes.scss +1 -1
- data/_sass/minimal-mistakes/_archive.scss +437 -437
- data/_sass/minimal-mistakes/_base.scss +357 -357
- data/_sass/minimal-mistakes/_footer.scss +91 -91
- data/_sass/minimal-mistakes/_mixins.scss +91 -91
- data/_sass/minimal-mistakes/_navigation.scss +556 -556
- data/_sass/minimal-mistakes/_search.scss +126 -126
- data/_sass/minimal-mistakes/_sidebar.scss +318 -318
- data/_sass/minimal-mistakes/_utilities.scss +6 -0
- data/_sass/minimal-mistakes/_variables.scss +159 -159
- data/_sass/minimal-mistakes/skins/_dark.scss +27 -27
- data/_sass/minimal-mistakes/skins/_neon.scss +56 -56
- data/_sass/minimal-mistakes/skins/_plum.scss +63 -63
- data/assets/js/_main.js +106 -106
- data/assets/js/lunr/lunr-store.js +54 -54
- data/assets/js/lunr/lunr.js +3483 -3483
- data/assets/js/lunr/lunr.min.js +5 -5
- data/assets/js/main.min.js +5 -5
- metadata +2 -2
@@ -1,438 +1,438 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
ARCHIVE
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
.archive {
|
6
|
-
margin-top: 1em;
|
7
|
-
margin-bottom: 2em;
|
8
|
-
|
9
|
-
@include breakpoint($large) {
|
10
|
-
float: right;
|
11
|
-
width: calc(100% - #{$right-sidebar-width-narrow});
|
12
|
-
padding-right: $right-sidebar-width-narrow;
|
13
|
-
}
|
14
|
-
|
15
|
-
@include breakpoint($x-large) {
|
16
|
-
width: calc(100% - #{$right-sidebar-width});
|
17
|
-
padding-right: $right-sidebar-width;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
.archive__item {
|
22
|
-
position: relative;
|
23
|
-
}
|
24
|
-
|
25
|
-
.archive__subtitle {
|
26
|
-
margin: 1.414em 0 0;
|
27
|
-
padding-bottom: 0.5em;
|
28
|
-
font-size: $type-size-5;
|
29
|
-
color: $muted-text-color;
|
30
|
-
border-bottom: 1px solid $border-color;
|
31
|
-
|
32
|
-
+ .list__item .archive__item-title {
|
33
|
-
margin-top: 0.5em;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
.archive__item-title {
|
38
|
-
margin-bottom: 0.25em;
|
39
|
-
font-family: $sans-serif-narrow;
|
40
|
-
line-height: initial;
|
41
|
-
overflow: hidden;
|
42
|
-
text-overflow: ellipsis;
|
43
|
-
|
44
|
-
a::before {
|
45
|
-
content: '';
|
46
|
-
position: absolute;
|
47
|
-
left: 0;
|
48
|
-
top: 0;
|
49
|
-
right: 0;
|
50
|
-
bottom: 0;
|
51
|
-
}
|
52
|
-
|
53
|
-
a + a {
|
54
|
-
opacity: 0.5;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
/* remove border*/
|
59
|
-
.page__content {
|
60
|
-
.archive__item-title {
|
61
|
-
margin-top: 1em;
|
62
|
-
border-bottom: none;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
.archive__item-excerpt {
|
67
|
-
margin-top: 0;
|
68
|
-
font-size: $type-size-6;
|
69
|
-
|
70
|
-
& + p {
|
71
|
-
text-indent: 0;
|
72
|
-
}
|
73
|
-
|
74
|
-
a {
|
75
|
-
position: relative;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
|
-
.archive__item-teaser {
|
80
|
-
position: relative;
|
81
|
-
border-radius: $border-radius;
|
82
|
-
overflow: hidden;
|
83
|
-
|
84
|
-
img {
|
85
|
-
width: 100%;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
.archive__item-caption {
|
90
|
-
position: absolute;
|
91
|
-
bottom: 0;
|
92
|
-
right: 0;
|
93
|
-
margin: 0 auto;
|
94
|
-
padding: 2px 5px;
|
95
|
-
color: #fff;
|
96
|
-
font-family: $caption-font-family;
|
97
|
-
font-size: $type-size-8;
|
98
|
-
background: #000;
|
99
|
-
text-align: right;
|
100
|
-
z-index: 5;
|
101
|
-
opacity: 0.5;
|
102
|
-
border-radius: $border-radius 0 0 0;
|
103
|
-
|
104
|
-
@include breakpoint($large) {
|
105
|
-
padding: 5px 10px;
|
106
|
-
}
|
107
|
-
|
108
|
-
a {
|
109
|
-
color: #fff;
|
110
|
-
text-decoration: none;
|
111
|
-
}
|
112
|
-
}
|
113
|
-
|
114
|
-
/*
|
115
|
-
List view
|
116
|
-
========================================================================== */
|
117
|
-
|
118
|
-
.list__item {
|
119
|
-
.page__meta {
|
120
|
-
margin: 0 0 4px;
|
121
|
-
font-size: 0.6em;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
/*
|
126
|
-
Grid view
|
127
|
-
========================================================================== */
|
128
|
-
|
129
|
-
.archive {
|
130
|
-
.grid__wrapper {
|
131
|
-
/* extend grid elements to the right */
|
132
|
-
|
133
|
-
@include breakpoint($large) {
|
134
|
-
margin-right: -1 * $right-sidebar-width-narrow;
|
135
|
-
}
|
136
|
-
|
137
|
-
@include breakpoint($x-large) {
|
138
|
-
margin-right: -1 * $right-sidebar-width;
|
139
|
-
}
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
.grid__item {
|
144
|
-
margin-bottom: 2em;
|
145
|
-
|
146
|
-
@include breakpoint($small) {
|
147
|
-
float: left;
|
148
|
-
width: span(5 of 10);
|
149
|
-
|
150
|
-
&:nth-child(2n + 1) {
|
151
|
-
clear: both;
|
152
|
-
margin-left: 0;
|
153
|
-
}
|
154
|
-
|
155
|
-
&:nth-child(2n + 2) {
|
156
|
-
clear: none;
|
157
|
-
margin-left: gutter(of 10);
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
@include breakpoint($medium) {
|
162
|
-
margin-left: 0; /* override margin*/
|
163
|
-
margin-right: 0; /* override margin*/
|
164
|
-
width: span(3 of 12);
|
165
|
-
|
166
|
-
&:nth-child(2n + 1) {
|
167
|
-
clear: none;
|
168
|
-
}
|
169
|
-
|
170
|
-
&:nth-child(4n + 1) {
|
171
|
-
clear: both;
|
172
|
-
}
|
173
|
-
|
174
|
-
&:nth-child(4n + 2) {
|
175
|
-
clear: none;
|
176
|
-
margin-left: gutter(1 of 12);
|
177
|
-
}
|
178
|
-
|
179
|
-
&:nth-child(4n + 3) {
|
180
|
-
clear: none;
|
181
|
-
margin-left: gutter(1 of 12);
|
182
|
-
}
|
183
|
-
|
184
|
-
&:nth-child(4n + 4) {
|
185
|
-
clear: none;
|
186
|
-
margin-left: gutter(1 of 12);
|
187
|
-
}
|
188
|
-
}
|
189
|
-
|
190
|
-
.page__meta {
|
191
|
-
margin: 0 0 4px;
|
192
|
-
font-size: 0.6em;
|
193
|
-
}
|
194
|
-
|
195
|
-
.archive__item-title {
|
196
|
-
margin-top: 0.5em;
|
197
|
-
font-size: $type-size-5;
|
198
|
-
}
|
199
|
-
|
200
|
-
.archive__item-excerpt {
|
201
|
-
display: none;
|
202
|
-
|
203
|
-
@include breakpoint($medium) {
|
204
|
-
display: block;
|
205
|
-
font-size: $type-size-6;
|
206
|
-
}
|
207
|
-
}
|
208
|
-
|
209
|
-
.archive__item-teaser {
|
210
|
-
@include breakpoint($small) {
|
211
|
-
max-height: 200px;
|
212
|
-
}
|
213
|
-
|
214
|
-
@include breakpoint($medium) {
|
215
|
-
max-height: 120px;
|
216
|
-
}
|
217
|
-
}
|
218
|
-
}
|
219
|
-
|
220
|
-
/*
|
221
|
-
Features
|
222
|
-
========================================================================== */
|
223
|
-
|
224
|
-
.feature__wrapper {
|
225
|
-
@include clearfix();
|
226
|
-
margin-bottom: 2em;
|
227
|
-
border-bottom: 1px solid $border-color;
|
228
|
-
|
229
|
-
.archive__item-title {
|
230
|
-
margin-bottom: 0;
|
231
|
-
}
|
232
|
-
}
|
233
|
-
|
234
|
-
.feature__item {
|
235
|
-
position: relative;
|
236
|
-
margin-bottom: 2em;
|
237
|
-
font-size: 1.125em;
|
238
|
-
|
239
|
-
@include breakpoint($small) {
|
240
|
-
float: left;
|
241
|
-
margin-bottom: 0;
|
242
|
-
width: span(4 of 12);
|
243
|
-
|
244
|
-
&:nth-child(3n + 1) {
|
245
|
-
clear: both;
|
246
|
-
margin-left: 0;
|
247
|
-
}
|
248
|
-
|
249
|
-
&:nth-child(3n + 2) {
|
250
|
-
clear: none;
|
251
|
-
margin-left: gutter(of 12);
|
252
|
-
}
|
253
|
-
|
254
|
-
&:nth-child(3n + 3) {
|
255
|
-
clear: none;
|
256
|
-
margin-left: gutter(of 12);
|
257
|
-
}
|
258
|
-
|
259
|
-
.feature__item-teaser {
|
260
|
-
max-height: 200px;
|
261
|
-
overflow: hidden;
|
262
|
-
}
|
263
|
-
}
|
264
|
-
|
265
|
-
.archive__item-body {
|
266
|
-
padding-left: gutter(1 of 12);
|
267
|
-
padding-right: gutter(1 of 12);
|
268
|
-
}
|
269
|
-
|
270
|
-
a.btn::before {
|
271
|
-
content: '';
|
272
|
-
position: absolute;
|
273
|
-
left: 0;
|
274
|
-
top: 0;
|
275
|
-
right: 0;
|
276
|
-
bottom: 0;
|
277
|
-
}
|
278
|
-
|
279
|
-
&--left {
|
280
|
-
position: relative;
|
281
|
-
float: left;
|
282
|
-
margin-left: 0;
|
283
|
-
margin-right: 0;
|
284
|
-
width: 100%;
|
285
|
-
clear: both;
|
286
|
-
font-size: 1.125em;
|
287
|
-
|
288
|
-
.archive__item {
|
289
|
-
float: left;
|
290
|
-
}
|
291
|
-
|
292
|
-
.archive__item-teaser {
|
293
|
-
margin-bottom: 2em;
|
294
|
-
}
|
295
|
-
|
296
|
-
a.btn::before {
|
297
|
-
content: '';
|
298
|
-
position: absolute;
|
299
|
-
left: 0;
|
300
|
-
top: 0;
|
301
|
-
right: 0;
|
302
|
-
bottom: 0;
|
303
|
-
}
|
304
|
-
|
305
|
-
@include breakpoint($small) {
|
306
|
-
.archive__item-teaser {
|
307
|
-
float: left;
|
308
|
-
width: span(5 of 12);
|
309
|
-
}
|
310
|
-
|
311
|
-
.archive__item-body {
|
312
|
-
float: right;
|
313
|
-
padding-left: gutter(0.5 of 12);
|
314
|
-
padding-right: gutter(1 of 12);
|
315
|
-
width: span(7 of 12);
|
316
|
-
}
|
317
|
-
}
|
318
|
-
}
|
319
|
-
|
320
|
-
&--right {
|
321
|
-
position: relative;
|
322
|
-
float: left;
|
323
|
-
margin-left: 0;
|
324
|
-
margin-right: 0;
|
325
|
-
width: 100%;
|
326
|
-
clear: both;
|
327
|
-
font-size: 1.125em;
|
328
|
-
|
329
|
-
.archive__item {
|
330
|
-
float: left;
|
331
|
-
}
|
332
|
-
|
333
|
-
.archive__item-teaser {
|
334
|
-
margin-bottom: 2em;
|
335
|
-
}
|
336
|
-
|
337
|
-
a.btn::before {
|
338
|
-
content: '';
|
339
|
-
position: absolute;
|
340
|
-
left: 0;
|
341
|
-
top: 0;
|
342
|
-
right: 0;
|
343
|
-
bottom: 0;
|
344
|
-
}
|
345
|
-
|
346
|
-
@include breakpoint($small) {
|
347
|
-
text-align: right;
|
348
|
-
|
349
|
-
.archive__item-teaser {
|
350
|
-
float: right;
|
351
|
-
width: span(5 of 12);
|
352
|
-
}
|
353
|
-
|
354
|
-
.archive__item-body {
|
355
|
-
float: left;
|
356
|
-
width: span(7 of 12);
|
357
|
-
padding-left: gutter(0.5 of 12);
|
358
|
-
padding-right: gutter(1 of 12);
|
359
|
-
}
|
360
|
-
}
|
361
|
-
}
|
362
|
-
|
363
|
-
&--center {
|
364
|
-
position: relative;
|
365
|
-
float: left;
|
366
|
-
margin-left: 0;
|
367
|
-
margin-right: 0;
|
368
|
-
width: 100%;
|
369
|
-
clear: both;
|
370
|
-
font-size: 1.125em;
|
371
|
-
|
372
|
-
.archive__item {
|
373
|
-
float: left;
|
374
|
-
width: 100%;
|
375
|
-
}
|
376
|
-
|
377
|
-
.archive__item-teaser {
|
378
|
-
margin-bottom: 2em;
|
379
|
-
}
|
380
|
-
|
381
|
-
a.btn::before {
|
382
|
-
content: '';
|
383
|
-
position: absolute;
|
384
|
-
left: 0;
|
385
|
-
top: 0;
|
386
|
-
right: 0;
|
387
|
-
bottom: 0;
|
388
|
-
}
|
389
|
-
|
390
|
-
@include breakpoint($small) {
|
391
|
-
text-align: center;
|
392
|
-
|
393
|
-
.archive__item-teaser {
|
394
|
-
margin: 0 auto;
|
395
|
-
width: span(5 of 12);
|
396
|
-
}
|
397
|
-
|
398
|
-
.archive__item-body {
|
399
|
-
margin: 0 auto;
|
400
|
-
width: span(7 of 12);
|
401
|
-
}
|
402
|
-
}
|
403
|
-
}
|
404
|
-
}
|
405
|
-
|
406
|
-
/* Place inside an archive layout */
|
407
|
-
|
408
|
-
.archive {
|
409
|
-
.feature__wrapper {
|
410
|
-
.archive__item-title {
|
411
|
-
margin-top: 0.25em;
|
412
|
-
font-size: 1em;
|
413
|
-
}
|
414
|
-
}
|
415
|
-
|
416
|
-
.feature__item,
|
417
|
-
.feature__item--left,
|
418
|
-
.feature__item--center,
|
419
|
-
.feature__item--right {
|
420
|
-
font-size: 1em;
|
421
|
-
}
|
422
|
-
}
|
423
|
-
|
424
|
-
/*
|
425
|
-
Wide Pages
|
426
|
-
========================================================================== */
|
427
|
-
|
428
|
-
.wide {
|
429
|
-
.archive {
|
430
|
-
@include breakpoint($large) {
|
431
|
-
padding-right: 0;
|
432
|
-
}
|
433
|
-
|
434
|
-
@include breakpoint($x-large) {
|
435
|
-
padding-right: 0;
|
436
|
-
}
|
437
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
ARCHIVE
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.archive {
|
6
|
+
margin-top: 1em;
|
7
|
+
margin-bottom: 2em;
|
8
|
+
|
9
|
+
@include breakpoint($large) {
|
10
|
+
float: right;
|
11
|
+
width: calc(100% - #{$right-sidebar-width-narrow});
|
12
|
+
padding-right: $right-sidebar-width-narrow;
|
13
|
+
}
|
14
|
+
|
15
|
+
@include breakpoint($x-large) {
|
16
|
+
width: calc(100% - #{$right-sidebar-width});
|
17
|
+
padding-right: $right-sidebar-width;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.archive__item {
|
22
|
+
position: relative;
|
23
|
+
}
|
24
|
+
|
25
|
+
.archive__subtitle {
|
26
|
+
margin: 1.414em 0 0;
|
27
|
+
padding-bottom: 0.5em;
|
28
|
+
font-size: $type-size-5;
|
29
|
+
color: $muted-text-color;
|
30
|
+
border-bottom: 1px solid $border-color;
|
31
|
+
|
32
|
+
+ .list__item .archive__item-title {
|
33
|
+
margin-top: 0.5em;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.archive__item-title {
|
38
|
+
margin-bottom: 0.25em;
|
39
|
+
font-family: $sans-serif-narrow;
|
40
|
+
line-height: initial;
|
41
|
+
overflow: hidden;
|
42
|
+
text-overflow: ellipsis;
|
43
|
+
|
44
|
+
a::before {
|
45
|
+
content: '';
|
46
|
+
position: absolute;
|
47
|
+
left: 0;
|
48
|
+
top: 0;
|
49
|
+
right: 0;
|
50
|
+
bottom: 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
a + a {
|
54
|
+
opacity: 0.5;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
/* remove border*/
|
59
|
+
.page__content {
|
60
|
+
.archive__item-title {
|
61
|
+
margin-top: 1em;
|
62
|
+
border-bottom: none;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
.archive__item-excerpt {
|
67
|
+
margin-top: 0;
|
68
|
+
font-size: $type-size-6;
|
69
|
+
|
70
|
+
& + p {
|
71
|
+
text-indent: 0;
|
72
|
+
}
|
73
|
+
|
74
|
+
a {
|
75
|
+
position: relative;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.archive__item-teaser {
|
80
|
+
position: relative;
|
81
|
+
border-radius: $border-radius;
|
82
|
+
overflow: hidden;
|
83
|
+
|
84
|
+
img {
|
85
|
+
width: 100%;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.archive__item-caption {
|
90
|
+
position: absolute;
|
91
|
+
bottom: 0;
|
92
|
+
right: 0;
|
93
|
+
margin: 0 auto;
|
94
|
+
padding: 2px 5px;
|
95
|
+
color: #fff;
|
96
|
+
font-family: $caption-font-family;
|
97
|
+
font-size: $type-size-8;
|
98
|
+
background: #000;
|
99
|
+
text-align: right;
|
100
|
+
z-index: 5;
|
101
|
+
opacity: 0.5;
|
102
|
+
border-radius: $border-radius 0 0 0;
|
103
|
+
|
104
|
+
@include breakpoint($large) {
|
105
|
+
padding: 5px 10px;
|
106
|
+
}
|
107
|
+
|
108
|
+
a {
|
109
|
+
color: #fff;
|
110
|
+
text-decoration: none;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
/*
|
115
|
+
List view
|
116
|
+
========================================================================== */
|
117
|
+
|
118
|
+
.list__item {
|
119
|
+
.page__meta {
|
120
|
+
margin: 0 0 4px;
|
121
|
+
font-size: 0.6em;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
/*
|
126
|
+
Grid view
|
127
|
+
========================================================================== */
|
128
|
+
|
129
|
+
.archive {
|
130
|
+
.grid__wrapper {
|
131
|
+
/* extend grid elements to the right */
|
132
|
+
|
133
|
+
@include breakpoint($large) {
|
134
|
+
margin-right: -1 * $right-sidebar-width-narrow;
|
135
|
+
}
|
136
|
+
|
137
|
+
@include breakpoint($x-large) {
|
138
|
+
margin-right: -1 * $right-sidebar-width;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
.grid__item {
|
144
|
+
margin-bottom: 2em;
|
145
|
+
|
146
|
+
@include breakpoint($small) {
|
147
|
+
float: left;
|
148
|
+
width: span(5 of 10);
|
149
|
+
|
150
|
+
&:nth-child(2n + 1) {
|
151
|
+
clear: both;
|
152
|
+
margin-left: 0;
|
153
|
+
}
|
154
|
+
|
155
|
+
&:nth-child(2n + 2) {
|
156
|
+
clear: none;
|
157
|
+
margin-left: gutter(of 10);
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
@include breakpoint($medium) {
|
162
|
+
margin-left: 0; /* override margin*/
|
163
|
+
margin-right: 0; /* override margin*/
|
164
|
+
width: span(3 of 12);
|
165
|
+
|
166
|
+
&:nth-child(2n + 1) {
|
167
|
+
clear: none;
|
168
|
+
}
|
169
|
+
|
170
|
+
&:nth-child(4n + 1) {
|
171
|
+
clear: both;
|
172
|
+
}
|
173
|
+
|
174
|
+
&:nth-child(4n + 2) {
|
175
|
+
clear: none;
|
176
|
+
margin-left: gutter(1 of 12);
|
177
|
+
}
|
178
|
+
|
179
|
+
&:nth-child(4n + 3) {
|
180
|
+
clear: none;
|
181
|
+
margin-left: gutter(1 of 12);
|
182
|
+
}
|
183
|
+
|
184
|
+
&:nth-child(4n + 4) {
|
185
|
+
clear: none;
|
186
|
+
margin-left: gutter(1 of 12);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.page__meta {
|
191
|
+
margin: 0 0 4px;
|
192
|
+
font-size: 0.6em;
|
193
|
+
}
|
194
|
+
|
195
|
+
.archive__item-title {
|
196
|
+
margin-top: 0.5em;
|
197
|
+
font-size: $type-size-5;
|
198
|
+
}
|
199
|
+
|
200
|
+
.archive__item-excerpt {
|
201
|
+
display: none;
|
202
|
+
|
203
|
+
@include breakpoint($medium) {
|
204
|
+
display: block;
|
205
|
+
font-size: $type-size-6;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
.archive__item-teaser {
|
210
|
+
@include breakpoint($small) {
|
211
|
+
max-height: 200px;
|
212
|
+
}
|
213
|
+
|
214
|
+
@include breakpoint($medium) {
|
215
|
+
max-height: 120px;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
/*
|
221
|
+
Features
|
222
|
+
========================================================================== */
|
223
|
+
|
224
|
+
.feature__wrapper {
|
225
|
+
@include clearfix();
|
226
|
+
margin-bottom: 2em;
|
227
|
+
border-bottom: 1px solid $border-color;
|
228
|
+
|
229
|
+
.archive__item-title {
|
230
|
+
margin-bottom: 0;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
.feature__item {
|
235
|
+
position: relative;
|
236
|
+
margin-bottom: 2em;
|
237
|
+
font-size: 1.125em;
|
238
|
+
|
239
|
+
@include breakpoint($small) {
|
240
|
+
float: left;
|
241
|
+
margin-bottom: 0;
|
242
|
+
width: span(4 of 12);
|
243
|
+
|
244
|
+
&:nth-child(3n + 1) {
|
245
|
+
clear: both;
|
246
|
+
margin-left: 0;
|
247
|
+
}
|
248
|
+
|
249
|
+
&:nth-child(3n + 2) {
|
250
|
+
clear: none;
|
251
|
+
margin-left: gutter(of 12);
|
252
|
+
}
|
253
|
+
|
254
|
+
&:nth-child(3n + 3) {
|
255
|
+
clear: none;
|
256
|
+
margin-left: gutter(of 12);
|
257
|
+
}
|
258
|
+
|
259
|
+
.feature__item-teaser {
|
260
|
+
max-height: 200px;
|
261
|
+
overflow: hidden;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
.archive__item-body {
|
266
|
+
padding-left: gutter(1 of 12);
|
267
|
+
padding-right: gutter(1 of 12);
|
268
|
+
}
|
269
|
+
|
270
|
+
a.btn::before {
|
271
|
+
content: '';
|
272
|
+
position: absolute;
|
273
|
+
left: 0;
|
274
|
+
top: 0;
|
275
|
+
right: 0;
|
276
|
+
bottom: 0;
|
277
|
+
}
|
278
|
+
|
279
|
+
&--left {
|
280
|
+
position: relative;
|
281
|
+
float: left;
|
282
|
+
margin-left: 0;
|
283
|
+
margin-right: 0;
|
284
|
+
width: 100%;
|
285
|
+
clear: both;
|
286
|
+
font-size: 1.125em;
|
287
|
+
|
288
|
+
.archive__item {
|
289
|
+
float: left;
|
290
|
+
}
|
291
|
+
|
292
|
+
.archive__item-teaser {
|
293
|
+
margin-bottom: 2em;
|
294
|
+
}
|
295
|
+
|
296
|
+
a.btn::before {
|
297
|
+
content: '';
|
298
|
+
position: absolute;
|
299
|
+
left: 0;
|
300
|
+
top: 0;
|
301
|
+
right: 0;
|
302
|
+
bottom: 0;
|
303
|
+
}
|
304
|
+
|
305
|
+
@include breakpoint($small) {
|
306
|
+
.archive__item-teaser {
|
307
|
+
float: left;
|
308
|
+
width: span(5 of 12);
|
309
|
+
}
|
310
|
+
|
311
|
+
.archive__item-body {
|
312
|
+
float: right;
|
313
|
+
padding-left: gutter(0.5 of 12);
|
314
|
+
padding-right: gutter(1 of 12);
|
315
|
+
width: span(7 of 12);
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
320
|
+
&--right {
|
321
|
+
position: relative;
|
322
|
+
float: left;
|
323
|
+
margin-left: 0;
|
324
|
+
margin-right: 0;
|
325
|
+
width: 100%;
|
326
|
+
clear: both;
|
327
|
+
font-size: 1.125em;
|
328
|
+
|
329
|
+
.archive__item {
|
330
|
+
float: left;
|
331
|
+
}
|
332
|
+
|
333
|
+
.archive__item-teaser {
|
334
|
+
margin-bottom: 2em;
|
335
|
+
}
|
336
|
+
|
337
|
+
a.btn::before {
|
338
|
+
content: '';
|
339
|
+
position: absolute;
|
340
|
+
left: 0;
|
341
|
+
top: 0;
|
342
|
+
right: 0;
|
343
|
+
bottom: 0;
|
344
|
+
}
|
345
|
+
|
346
|
+
@include breakpoint($small) {
|
347
|
+
text-align: right;
|
348
|
+
|
349
|
+
.archive__item-teaser {
|
350
|
+
float: right;
|
351
|
+
width: span(5 of 12);
|
352
|
+
}
|
353
|
+
|
354
|
+
.archive__item-body {
|
355
|
+
float: left;
|
356
|
+
width: span(7 of 12);
|
357
|
+
padding-left: gutter(0.5 of 12);
|
358
|
+
padding-right: gutter(1 of 12);
|
359
|
+
}
|
360
|
+
}
|
361
|
+
}
|
362
|
+
|
363
|
+
&--center {
|
364
|
+
position: relative;
|
365
|
+
float: left;
|
366
|
+
margin-left: 0;
|
367
|
+
margin-right: 0;
|
368
|
+
width: 100%;
|
369
|
+
clear: both;
|
370
|
+
font-size: 1.125em;
|
371
|
+
|
372
|
+
.archive__item {
|
373
|
+
float: left;
|
374
|
+
width: 100%;
|
375
|
+
}
|
376
|
+
|
377
|
+
.archive__item-teaser {
|
378
|
+
margin-bottom: 2em;
|
379
|
+
}
|
380
|
+
|
381
|
+
a.btn::before {
|
382
|
+
content: '';
|
383
|
+
position: absolute;
|
384
|
+
left: 0;
|
385
|
+
top: 0;
|
386
|
+
right: 0;
|
387
|
+
bottom: 0;
|
388
|
+
}
|
389
|
+
|
390
|
+
@include breakpoint($small) {
|
391
|
+
text-align: center;
|
392
|
+
|
393
|
+
.archive__item-teaser {
|
394
|
+
margin: 0 auto;
|
395
|
+
width: span(5 of 12);
|
396
|
+
}
|
397
|
+
|
398
|
+
.archive__item-body {
|
399
|
+
margin: 0 auto;
|
400
|
+
width: span(7 of 12);
|
401
|
+
}
|
402
|
+
}
|
403
|
+
}
|
404
|
+
}
|
405
|
+
|
406
|
+
/* Place inside an archive layout */
|
407
|
+
|
408
|
+
.archive {
|
409
|
+
.feature__wrapper {
|
410
|
+
.archive__item-title {
|
411
|
+
margin-top: 0.25em;
|
412
|
+
font-size: 1em;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
|
416
|
+
.feature__item,
|
417
|
+
.feature__item--left,
|
418
|
+
.feature__item--center,
|
419
|
+
.feature__item--right {
|
420
|
+
font-size: 1em;
|
421
|
+
}
|
422
|
+
}
|
423
|
+
|
424
|
+
/*
|
425
|
+
Wide Pages
|
426
|
+
========================================================================== */
|
427
|
+
|
428
|
+
.wide {
|
429
|
+
.archive {
|
430
|
+
@include breakpoint($large) {
|
431
|
+
padding-right: 0;
|
432
|
+
}
|
433
|
+
|
434
|
+
@include breakpoint($x-large) {
|
435
|
+
padding-right: 0;
|
436
|
+
}
|
437
|
+
}
|
438
438
|
}
|