jekyll-theme-so-simple 3.1.0 → 3.1.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 +16 -0
- data/LICENSE +49 -49
- data/README.md +15 -2
- data/_data/authors.yml +16 -16
- data/_data/navigation.yml +16 -14
- data/_data/text.yml +36 -36
- data/_includes/disqus-comments.html +19 -19
- data/_includes/documents-collection.html +19 -19
- data/_includes/entry-date.html +6 -6
- data/_includes/entry.html +41 -39
- data/_includes/footer-custom.html +3 -3
- data/_includes/footer.html +24 -24
- data/_includes/google-analytics.html +9 -9
- data/_includes/head-custom.html +5 -5
- data/_includes/head-feed.html +1 -1
- data/_includes/head-seo.html +1 -1
- data/_includes/head.html +50 -50
- data/_includes/lunr-search-scripts.html +106 -106
- data/_includes/masthead.html +13 -13
- data/_includes/navigation.html +17 -17
- data/_includes/page-author.html +37 -37
- data/_includes/page-categories.html +14 -14
- data/_includes/page-date.html +4 -4
- data/_includes/page-image.html +14 -14
- data/_includes/page-pagination.html +19 -19
- data/_includes/page-tags.html +14 -14
- data/_includes/posts-all.html +3 -3
- data/_includes/posts-category.html +3 -3
- data/_includes/posts-paginated.html +74 -74
- data/_includes/posts-tag.html +3 -3
- data/_includes/read-time.html +16 -16
- data/_includes/responsive-embed +16 -16
- data/_includes/scripts.html +1 -3
- data/_includes/skip-links.html +8 -8
- data/_includes/social-share.html +6 -6
- data/_includes/toc +9 -9
- data/_layouts/categories.html +48 -48
- data/_layouts/category.html +9 -9
- data/_layouts/collection.html +9 -9
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +17 -17
- data/_layouts/page.html +30 -30
- data/_layouts/post.html +41 -41
- data/_layouts/posts.html +29 -29
- data/_layouts/search.html +1 -1
- data/_layouts/tag.html +9 -9
- data/_layouts/tags.html +48 -48
- data/_sass/so-simple.scss +1 -1
- data/_sass/so-simple/_author.scss +45 -45
- data/_sass/so-simple/_base.scss +112 -112
- data/_sass/so-simple/_buttons.scss +92 -92
- data/_sass/so-simple/_entries.scss +182 -182
- data/_sass/so-simple/_functions.scss +4 -4
- data/_sass/so-simple/_global.scss +393 -393
- data/_sass/so-simple/_icons.scss +43 -43
- data/_sass/so-simple/_mixins.scss +5 -5
- data/_sass/so-simple/_notices.scss +93 -93
- data/_sass/so-simple/_page.scss +287 -282
- data/_sass/so-simple/_reset.scss +523 -523
- data/_sass/so-simple/_syntax-highlighting.scss +334 -334
- data/_sass/so-simple/_tables.scss +34 -34
- data/_sass/so-simple/_utilities.scss +7 -7
- data/_sass/so-simple/_variables.scss +132 -132
- data/_sass/so-simple/functions/_color.scss +21 -21
- data/_sass/so-simple/functions/_em.scss +7 -7
- data/_sass/so-simple/functions/_fluid-type.scss +33 -33
- data/_sass/so-simple/functions/_yiq.scss +38 -38
- data/_sass/so-simple/mixins/_clearfix.scss +32 -32
- data/_sass/so-simple/mixins/_float.scss +15 -15
- data/_sass/so-simple/mixins/_image.scss +38 -38
- data/_sass/so-simple/mixins/_lists.scss +9 -9
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
- data/_sass/so-simple/utilities/_accessibility.scss +43 -43
- data/_sass/so-simple/utilities/_align.scss +60 -60
- data/_sass/so-simple/utilities/_animations.scss +99 -99
- data/_sass/so-simple/utilities/_clearfix.scss +7 -7
- data/_sass/so-simple/utilities/_float.scss +7 -7
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
- data/_sass/so-simple/utilities/_text.scss +48 -48
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
- data/assets/css/main.scss +7 -7
- data/assets/js/lunr/lunr.da.min.js +17 -17
- data/assets/js/lunr/lunr.de.min.js +17 -17
- data/assets/js/lunr/lunr.du.min.js +17 -17
- data/assets/js/lunr/lunr.es.min.js +17 -17
- data/assets/js/lunr/lunr.fi.min.js +17 -17
- data/assets/js/lunr/lunr.fr.min.js +17 -17
- data/assets/js/lunr/lunr.hu.min.js +17 -17
- data/assets/js/lunr/lunr.it.min.js +17 -17
- data/assets/js/lunr/lunr.jp.min.js +1 -1
- data/assets/js/lunr/lunr.min.js +6 -6
- data/assets/js/lunr/lunr.no.min.js +17 -17
- data/assets/js/lunr/lunr.pt.min.js +17 -17
- data/assets/js/lunr/lunr.ro.min.js +17 -17
- data/assets/js/lunr/lunr.ru.min.js +17 -17
- data/assets/js/lunr/lunr.sv.min.js +17 -17
- data/assets/js/lunr/lunr.tr.min.js +17 -17
- data/assets/js/main.js +17 -15
- data/assets/js/main.min.js +2 -2
- data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
- data/assets/js/plugins/lity.js +655 -655
- data/assets/js/plugins/lity.min.js +4 -4
- data/assets/js/plugins/table-of-contents.js +59 -59
- data/assets/js/search-data.json +43 -27
- metadata +3 -3
@@ -1,4 +1,4 @@
|
|
1
|
-
@import "functions/color";
|
2
|
-
@import "functions/em";
|
3
|
-
@import "functions/fluid-type";
|
4
|
-
@import "functions/yiq";
|
1
|
+
@import "functions/color";
|
2
|
+
@import "functions/em";
|
3
|
+
@import "functions/fluid-type";
|
4
|
+
@import "functions/yiq";
|
@@ -1,393 +1,393 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
Site-wide
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
.skip-links {
|
6
|
-
ul {
|
7
|
-
margin: 0;
|
8
|
-
padding: 0;
|
9
|
-
list-style: none;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
#menu-toggle {
|
14
|
-
display: block;
|
15
|
-
margin: 0;
|
16
|
-
padding: 0.25em 0.75em 0.5em;
|
17
|
-
color: $nav-color;
|
18
|
-
background-color: $nav-background-color;
|
19
|
-
text-transform: uppercase;
|
20
|
-
text-decoration: none;
|
21
|
-
text-align: center;
|
22
|
-
|
23
|
-
@include breakpoint($medium) {
|
24
|
-
display: none;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.site-nav {
|
29
|
-
display: none;
|
30
|
-
margin-bottom: 1em;
|
31
|
-
text-align: center;
|
32
|
-
|
33
|
-
ul {
|
34
|
-
display: block;
|
35
|
-
margin: 0;
|
36
|
-
padding: 0.25em 0.75em;
|
37
|
-
list-style: none;
|
38
|
-
color: $nav-color;
|
39
|
-
background-color: $nav-background-color;
|
40
|
-
border-radius: 0 0 (2 * $border-radius) (2 * $border-radius);
|
41
|
-
|
42
|
-
@include breakpoint($medium) {
|
43
|
-
display: inline-block;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
li {
|
48
|
-
display: inline-block;
|
49
|
-
font-size: 0.75em;
|
50
|
-
}
|
51
|
-
|
52
|
-
a {
|
53
|
-
display: block;
|
54
|
-
padding: 0.5em 0.75em;
|
55
|
-
color: $nav-color;
|
56
|
-
text-transform: uppercase;
|
57
|
-
text-decoration: none;
|
58
|
-
border: 1px solid $nav-background-color;
|
59
|
-
border-radius: $border-radius;
|
60
|
-
|
61
|
-
&:hover {
|
62
|
-
border-color: $nav-color;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
@include breakpoint($medium) {
|
67
|
-
display: block;
|
68
|
-
}
|
69
|
-
|
70
|
-
&.js-menu-is-open {
|
71
|
-
display: block;
|
72
|
-
-webkit-animation-name: initial;
|
73
|
-
animation-name: initial;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
.masthead {
|
78
|
-
@include clearfix;
|
79
|
-
margin-bottom: 3em;
|
80
|
-
text-align: center;
|
81
|
-
}
|
82
|
-
|
83
|
-
.site-title {
|
84
|
-
margin: 0.5em 0 0;
|
85
|
-
padding: 0;
|
86
|
-
@include fluid-type($min-vw, $max-vw, $h2-min, $h2-max);
|
87
|
-
|
88
|
-
a {
|
89
|
-
color: $text-color;
|
90
|
-
text-decoration: none;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
.site-description {
|
95
|
-
margin-bottom: 1em;
|
96
|
-
font-family: $description-font-family;
|
97
|
-
@include fluid-type($min-vw, $max-vw, $h5-min, $h5-max);
|
98
|
-
font-weight: 400;
|
99
|
-
font-style: italic;
|
100
|
-
}
|
101
|
-
|
102
|
-
.site-logo {
|
103
|
-
display: inline-block;
|
104
|
-
position: relative;
|
105
|
-
z-index: 10;
|
106
|
-
}
|
107
|
-
|
108
|
-
.site-logo-img {
|
109
|
-
width: $site-logo-width;
|
110
|
-
height: $site-logo-height;
|
111
|
-
border: 5px solid $background-color;
|
112
|
-
border-radius: $site-logo-width;
|
113
|
-
|
114
|
-
@include breakpoint($medium) {
|
115
|
-
width: 1.5 * $site-logo-width;
|
116
|
-
height: 1.5 * $site-logo-
|
117
|
-
border-radius: 1.5 * $site-logo-width;
|
118
|
-
}
|
119
|
-
|
120
|
-
@include breakpoint($large) {
|
121
|
-
width: 2 * $site-logo-width;
|
122
|
-
height: 2 * $site-logo-
|
123
|
-
border-radius: 2 * $site-logo-width;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
|
127
|
-
.site-footer {
|
128
|
-
@include clearfix();
|
129
|
-
margin: 2em 0;
|
130
|
-
padding: 2em 0;
|
131
|
-
text-align: center;
|
132
|
-
border-top: 1px solid $border-color;
|
133
|
-
|
134
|
-
.social-icons {
|
135
|
-
margin-bottom: 0.5em;
|
136
|
-
}
|
137
|
-
|
138
|
-
.social-icon {
|
139
|
-
display: inline-block;
|
140
|
-
padding: 0 0.25em;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
|
144
|
-
.copyright {
|
145
|
-
color: lighten($text-color, 35%);
|
146
|
-
font-size: 0.75em;
|
147
|
-
|
148
|
-
p {
|
149
|
-
margin: 0;
|
150
|
-
padding: 0;
|
151
|
-
}
|
152
|
-
|
153
|
-
a {
|
154
|
-
color: lighten($text-color, 35%);
|
155
|
-
}
|
156
|
-
}
|
157
|
-
|
158
|
-
.footnotes {
|
159
|
-
margin: 2rem 0;
|
160
|
-
padding-top: 1rem;
|
161
|
-
border-top: 1px solid $border-color;
|
162
|
-
font-size: 80%;
|
163
|
-
}
|
164
|
-
|
165
|
-
.more-link {
|
166
|
-
font-weight: bold;
|
167
|
-
text-decoration: none;
|
168
|
-
}
|
169
|
-
|
170
|
-
.back-to-top {
|
171
|
-
display: block;
|
172
|
-
color: lighten($text-color, 50%);
|
173
|
-
font-size: 0.75em;
|
174
|
-
text-transform: uppercase;
|
175
|
-
text-align: right;
|
176
|
-
text-decoration: none;
|
177
|
-
}
|
178
|
-
|
179
|
-
.taxonomy-section {
|
180
|
-
margin-bottom: 2em;
|
181
|
-
padding-bottom: 1em;
|
182
|
-
|
183
|
-
&:not(:last-child) {
|
184
|
-
border-bottom: solid 1px $border-color;
|
185
|
-
}
|
186
|
-
|
187
|
-
+ .taxonomy-section {
|
188
|
-
margin-top: 2em;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
|
192
|
-
.taxonomy-title {
|
193
|
-
@include fluid-type($min-vw, $max-vw, 28px, 32px);
|
194
|
-
margin-bottom: 0.5em;
|
195
|
-
color: lighten($text-color, 60%);
|
196
|
-
font-family: $base-font-family;
|
197
|
-
}
|
198
|
-
|
199
|
-
.taxonomy-count {
|
200
|
-
color: lighten($text-color, 50%);
|
201
|
-
}
|
202
|
-
|
203
|
-
.taxonomy-index {
|
204
|
-
display: grid;
|
205
|
-
grid-column-gap: 2em;
|
206
|
-
grid-template-columns: repeat(2, 1fr);
|
207
|
-
margin: 0;
|
208
|
-
padding: 0;
|
209
|
-
font-family: $base-font-family;
|
210
|
-
font-size: 0.9em;
|
211
|
-
list-style: none;
|
212
|
-
|
213
|
-
@include breakpoint($large) {
|
214
|
-
grid-template-columns: repeat(3, 1fr);
|
215
|
-
}
|
216
|
-
|
217
|
-
a {
|
218
|
-
display: -webkit-box;
|
219
|
-
display: -ms-flexbox;
|
220
|
-
display: flex;
|
221
|
-
padding: 0.25em 0;
|
222
|
-
-webkit-box-pack: justify;
|
223
|
-
-ms-flex-pack: justify;
|
224
|
-
justify-content: space-between;
|
225
|
-
color: inherit;
|
226
|
-
text-decoration: none;
|
227
|
-
border-bottom: 1px solid $border-color;
|
228
|
-
|
229
|
-
&:hover {
|
230
|
-
color: $accent-color;
|
231
|
-
}
|
232
|
-
}
|
233
|
-
|
234
|
-
+ .taxonomy-section {
|
235
|
-
margin-top: 3em;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
|
239
|
-
.pagination {
|
240
|
-
display: -webkit-box;
|
241
|
-
display: -ms-flexbox;
|
242
|
-
display: flex;
|
243
|
-
grid-column: 1 / -1;
|
244
|
-
margin: 2em 0;
|
245
|
-
width: 100%;
|
246
|
-
|
247
|
-
ul {
|
248
|
-
margin: 0 auto;
|
249
|
-
padding: 0;
|
250
|
-
list-style-type: none;
|
251
|
-
}
|
252
|
-
|
253
|
-
li {
|
254
|
-
display: block;
|
255
|
-
float: left;
|
256
|
-
margin-left: -1px;
|
257
|
-
|
258
|
-
a {
|
259
|
-
display: block;
|
260
|
-
margin-bottom: 0.25em;
|
261
|
-
padding: 0.5em 1em;
|
262
|
-
color: mix(#000, $border-color, 25%);
|
263
|
-
font-size: 14px;
|
264
|
-
font-weight: bold;
|
265
|
-
line-height: 1.5;
|
266
|
-
text-align: center;
|
267
|
-
text-decoration: none;
|
268
|
-
border: 1px solid $border-color;
|
269
|
-
border-radius: 0;
|
270
|
-
|
271
|
-
&.current,
|
272
|
-
&.current.disabled {
|
273
|
-
@include yiq-contrasted(mix(#000, $border-color, 25%));
|
274
|
-
}
|
275
|
-
|
276
|
-
&.disabled {
|
277
|
-
color: $border-color;
|
278
|
-
pointer-events: none;
|
279
|
-
cursor: not-allowed;
|
280
|
-
}
|
281
|
-
}
|
282
|
-
|
283
|
-
&:first-child {
|
284
|
-
margin-left: 0;
|
285
|
-
|
286
|
-
a {
|
287
|
-
border-top-left-radius: $border-radius;
|
288
|
-
border-bottom-left-radius: $border-radius;
|
289
|
-
}
|
290
|
-
}
|
291
|
-
|
292
|
-
&:last-child {
|
293
|
-
a {
|
294
|
-
border-top-right-radius: $border-radius;
|
295
|
-
border-bottom-right-radius: $border-radius;
|
296
|
-
}
|
297
|
-
}
|
298
|
-
}
|
299
|
-
}
|
300
|
-
|
301
|
-
.search-input {
|
302
|
-
margin-bottom: 2em;
|
303
|
-
padding: 0.5em;
|
304
|
-
width: 100%;
|
305
|
-
font-size: 0.9em;
|
306
|
-
border: 2px solid $border-color;
|
307
|
-
border-radius: $border-radius;
|
308
|
-
}
|
309
|
-
|
310
|
-
.toc-wrapper {
|
311
|
-
display: inline-block;
|
312
|
-
margin-bottom: 1.5em;
|
313
|
-
border: 1px solid (mix(#fff, $border-color, 25%));
|
314
|
-
border-radius: $border-radius;
|
315
|
-
|
316
|
-
h2 {
|
317
|
-
display: -webkit-box;
|
318
|
-
display: -ms-flexbox;
|
319
|
-
display: flex;
|
320
|
-
-webkit-box-pack: justify;
|
321
|
-
-ms-flex-pack: justify;
|
322
|
-
justify-content: space-between;
|
323
|
-
-webkit-box-align: center;
|
324
|
-
-ms-flex-align: center;
|
325
|
-
align-items: center;
|
326
|
-
margin: 0;
|
327
|
-
padding: 0.75rem 1rem;
|
328
|
-
color: $base05;
|
329
|
-
background-color: $base00;
|
330
|
-
font-family: $base-font-family;
|
331
|
-
font-size: 0.75rem;
|
332
|
-
text-transform: uppercase;
|
333
|
-
cursor: pointer;
|
334
|
-
|
335
|
-
.toc-toggle-icon {
|
336
|
-
margin-left: 1rem;
|
337
|
-
-webkit-transition: -webkit-transform 350ms ease;
|
338
|
-
transition: -webkit-transform 350ms ease;
|
339
|
-
transition: transform 350ms ease;
|
340
|
-
transition: transform 350ms ease, -webkit-transform 350ms ease;
|
341
|
-
}
|
342
|
-
|
343
|
-
&.js-toc-is-open {
|
344
|
-
.toc-toggle-icon {
|
345
|
-
-webkit-transform: rotate(180deg);
|
346
|
-
-ms-transform: rotate(180deg);
|
347
|
-
transform: rotate(180deg);
|
348
|
-
}
|
349
|
-
}
|
350
|
-
}
|
351
|
-
|
352
|
-
#markdown-toc {
|
353
|
-
display: none;
|
354
|
-
height: 0;
|
355
|
-
margin-bottom: 0;
|
356
|
-
padding-left: 2rem;
|
357
|
-
overflow: hidden;
|
358
|
-
color: $base05;
|
359
|
-
font-size: 0.9rem;
|
360
|
-
-webkit-transition: height 350ms ease;
|
361
|
-
transition: height 350ms ease;
|
362
|
-
|
363
|
-
&.js-toc-is-open {
|
364
|
-
display: block;
|
365
|
-
height: auto;
|
366
|
-
}
|
367
|
-
}
|
368
|
-
|
369
|
-
li {
|
370
|
-
padding: 0.3em 0;
|
371
|
-
font-family: $base-font-family;
|
372
|
-
|
373
|
-
a {
|
374
|
-
display: inline-block;
|
375
|
-
color: inherit;
|
376
|
-
font-size: 0.75rem;
|
377
|
-
font-weight: 600;
|
378
|
-
text-decoration: none;
|
379
|
-
border-bottom: 1px dotted transparent;
|
380
|
-
|
381
|
-
&:hover,
|
382
|
-
&:focus {
|
383
|
-
border-bottom: 1px dotted $border-color;
|
384
|
-
}
|
385
|
-
}
|
386
|
-
|
387
|
-
ol {
|
388
|
-
padding-left: 0.5rem;
|
389
|
-
list-style-type: lower-roman;
|
390
|
-
background-color: $background-color;
|
391
|
-
}
|
392
|
-
}
|
393
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
Site-wide
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.skip-links {
|
6
|
+
ul {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
list-style: none;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
#menu-toggle {
|
14
|
+
display: block;
|
15
|
+
margin: 0;
|
16
|
+
padding: 0.25em 0.75em 0.5em;
|
17
|
+
color: $nav-color;
|
18
|
+
background-color: $nav-background-color;
|
19
|
+
text-transform: uppercase;
|
20
|
+
text-decoration: none;
|
21
|
+
text-align: center;
|
22
|
+
|
23
|
+
@include breakpoint($medium) {
|
24
|
+
display: none;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.site-nav {
|
29
|
+
display: none;
|
30
|
+
margin-bottom: 1em;
|
31
|
+
text-align: center;
|
32
|
+
|
33
|
+
ul {
|
34
|
+
display: block;
|
35
|
+
margin: 0;
|
36
|
+
padding: 0.25em 0.75em;
|
37
|
+
list-style: none;
|
38
|
+
color: $nav-color;
|
39
|
+
background-color: $nav-background-color;
|
40
|
+
border-radius: 0 0 (2 * $border-radius) (2 * $border-radius);
|
41
|
+
|
42
|
+
@include breakpoint($medium) {
|
43
|
+
display: inline-block;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
li {
|
48
|
+
display: inline-block;
|
49
|
+
font-size: 0.75em;
|
50
|
+
}
|
51
|
+
|
52
|
+
a {
|
53
|
+
display: block;
|
54
|
+
padding: 0.5em 0.75em;
|
55
|
+
color: $nav-color;
|
56
|
+
text-transform: uppercase;
|
57
|
+
text-decoration: none;
|
58
|
+
border: 1px solid $nav-background-color;
|
59
|
+
border-radius: $border-radius;
|
60
|
+
|
61
|
+
&:hover {
|
62
|
+
border-color: $nav-color;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
@include breakpoint($medium) {
|
67
|
+
display: block;
|
68
|
+
}
|
69
|
+
|
70
|
+
&.js-menu-is-open {
|
71
|
+
display: block;
|
72
|
+
-webkit-animation-name: initial;
|
73
|
+
animation-name: initial;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.masthead {
|
78
|
+
@include clearfix;
|
79
|
+
margin-bottom: 3em;
|
80
|
+
text-align: center;
|
81
|
+
}
|
82
|
+
|
83
|
+
.site-title {
|
84
|
+
margin: 0.5em 0 0;
|
85
|
+
padding: 0;
|
86
|
+
@include fluid-type($min-vw, $max-vw, $h2-min, $h2-max);
|
87
|
+
|
88
|
+
a {
|
89
|
+
color: $text-color;
|
90
|
+
text-decoration: none;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
.site-description {
|
95
|
+
margin-bottom: 1em;
|
96
|
+
font-family: $description-font-family;
|
97
|
+
@include fluid-type($min-vw, $max-vw, $h5-min, $h5-max);
|
98
|
+
font-weight: 400;
|
99
|
+
font-style: italic;
|
100
|
+
}
|
101
|
+
|
102
|
+
.site-logo {
|
103
|
+
display: inline-block;
|
104
|
+
position: relative;
|
105
|
+
z-index: 10;
|
106
|
+
}
|
107
|
+
|
108
|
+
.site-logo-img {
|
109
|
+
width: $site-logo-width;
|
110
|
+
height: $site-logo-height;
|
111
|
+
border: 5px solid $background-color;
|
112
|
+
border-radius: $site-logo-width;
|
113
|
+
|
114
|
+
@include breakpoint($medium) {
|
115
|
+
width: 1.5 * $site-logo-width;
|
116
|
+
height: 1.5 * $site-logo-height;
|
117
|
+
border-radius: 1.5 * $site-logo-width;
|
118
|
+
}
|
119
|
+
|
120
|
+
@include breakpoint($large) {
|
121
|
+
width: 2 * $site-logo-width;
|
122
|
+
height: 2 * $site-logo-height;
|
123
|
+
border-radius: 2 * $site-logo-width;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
.site-footer {
|
128
|
+
@include clearfix();
|
129
|
+
margin: 2em 0;
|
130
|
+
padding: 2em 0;
|
131
|
+
text-align: center;
|
132
|
+
border-top: 1px solid $border-color;
|
133
|
+
|
134
|
+
.social-icons {
|
135
|
+
margin-bottom: 0.5em;
|
136
|
+
}
|
137
|
+
|
138
|
+
.social-icon {
|
139
|
+
display: inline-block;
|
140
|
+
padding: 0 0.25em;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
.copyright {
|
145
|
+
color: lighten($text-color, 35%);
|
146
|
+
font-size: 0.75em;
|
147
|
+
|
148
|
+
p {
|
149
|
+
margin: 0;
|
150
|
+
padding: 0;
|
151
|
+
}
|
152
|
+
|
153
|
+
a {
|
154
|
+
color: lighten($text-color, 35%);
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
.footnotes {
|
159
|
+
margin: 2rem 0;
|
160
|
+
padding-top: 1rem;
|
161
|
+
border-top: 1px solid $border-color;
|
162
|
+
font-size: 80%;
|
163
|
+
}
|
164
|
+
|
165
|
+
.more-link {
|
166
|
+
font-weight: bold;
|
167
|
+
text-decoration: none;
|
168
|
+
}
|
169
|
+
|
170
|
+
.back-to-top {
|
171
|
+
display: block;
|
172
|
+
color: lighten($text-color, 50%);
|
173
|
+
font-size: 0.75em;
|
174
|
+
text-transform: uppercase;
|
175
|
+
text-align: right;
|
176
|
+
text-decoration: none;
|
177
|
+
}
|
178
|
+
|
179
|
+
.taxonomy-section {
|
180
|
+
margin-bottom: 2em;
|
181
|
+
padding-bottom: 1em;
|
182
|
+
|
183
|
+
&:not(:last-child) {
|
184
|
+
border-bottom: solid 1px $border-color;
|
185
|
+
}
|
186
|
+
|
187
|
+
+ .taxonomy-section {
|
188
|
+
margin-top: 2em;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
.taxonomy-title {
|
193
|
+
@include fluid-type($min-vw, $max-vw, 28px, 32px);
|
194
|
+
margin-bottom: 0.5em;
|
195
|
+
color: lighten($text-color, 60%);
|
196
|
+
font-family: $base-font-family;
|
197
|
+
}
|
198
|
+
|
199
|
+
.taxonomy-count {
|
200
|
+
color: lighten($text-color, 50%);
|
201
|
+
}
|
202
|
+
|
203
|
+
.taxonomy-index {
|
204
|
+
display: grid;
|
205
|
+
grid-column-gap: 2em;
|
206
|
+
grid-template-columns: repeat(2, 1fr);
|
207
|
+
margin: 0;
|
208
|
+
padding: 0;
|
209
|
+
font-family: $base-font-family;
|
210
|
+
font-size: 0.9em;
|
211
|
+
list-style: none;
|
212
|
+
|
213
|
+
@include breakpoint($large) {
|
214
|
+
grid-template-columns: repeat(3, 1fr);
|
215
|
+
}
|
216
|
+
|
217
|
+
a {
|
218
|
+
display: -webkit-box;
|
219
|
+
display: -ms-flexbox;
|
220
|
+
display: flex;
|
221
|
+
padding: 0.25em 0;
|
222
|
+
-webkit-box-pack: justify;
|
223
|
+
-ms-flex-pack: justify;
|
224
|
+
justify-content: space-between;
|
225
|
+
color: inherit;
|
226
|
+
text-decoration: none;
|
227
|
+
border-bottom: 1px solid $border-color;
|
228
|
+
|
229
|
+
&:hover {
|
230
|
+
color: $accent-color;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
+ .taxonomy-section {
|
235
|
+
margin-top: 3em;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
.pagination {
|
240
|
+
display: -webkit-box;
|
241
|
+
display: -ms-flexbox;
|
242
|
+
display: flex;
|
243
|
+
grid-column: 1 / -1;
|
244
|
+
margin: 2em 0;
|
245
|
+
width: 100%;
|
246
|
+
|
247
|
+
ul {
|
248
|
+
margin: 0 auto;
|
249
|
+
padding: 0;
|
250
|
+
list-style-type: none;
|
251
|
+
}
|
252
|
+
|
253
|
+
li {
|
254
|
+
display: block;
|
255
|
+
float: left;
|
256
|
+
margin-left: -1px;
|
257
|
+
|
258
|
+
a {
|
259
|
+
display: block;
|
260
|
+
margin-bottom: 0.25em;
|
261
|
+
padding: 0.5em 1em;
|
262
|
+
color: mix(#000, $border-color, 25%);
|
263
|
+
font-size: 14px;
|
264
|
+
font-weight: bold;
|
265
|
+
line-height: 1.5;
|
266
|
+
text-align: center;
|
267
|
+
text-decoration: none;
|
268
|
+
border: 1px solid $border-color;
|
269
|
+
border-radius: 0;
|
270
|
+
|
271
|
+
&.current,
|
272
|
+
&.current.disabled {
|
273
|
+
@include yiq-contrasted(mix(#000, $border-color, 25%));
|
274
|
+
}
|
275
|
+
|
276
|
+
&.disabled {
|
277
|
+
color: $border-color;
|
278
|
+
pointer-events: none;
|
279
|
+
cursor: not-allowed;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
&:first-child {
|
284
|
+
margin-left: 0;
|
285
|
+
|
286
|
+
a {
|
287
|
+
border-top-left-radius: $border-radius;
|
288
|
+
border-bottom-left-radius: $border-radius;
|
289
|
+
}
|
290
|
+
}
|
291
|
+
|
292
|
+
&:last-child {
|
293
|
+
a {
|
294
|
+
border-top-right-radius: $border-radius;
|
295
|
+
border-bottom-right-radius: $border-radius;
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
301
|
+
.search-input {
|
302
|
+
margin-bottom: 2em;
|
303
|
+
padding: 0.5em;
|
304
|
+
width: 100%;
|
305
|
+
font-size: 0.9em;
|
306
|
+
border: 2px solid $border-color;
|
307
|
+
border-radius: $border-radius;
|
308
|
+
}
|
309
|
+
|
310
|
+
.toc-wrapper {
|
311
|
+
display: inline-block;
|
312
|
+
margin-bottom: 1.5em;
|
313
|
+
border: 1px solid (mix(#fff, $border-color, 25%));
|
314
|
+
border-radius: $border-radius;
|
315
|
+
|
316
|
+
h2 {
|
317
|
+
display: -webkit-box;
|
318
|
+
display: -ms-flexbox;
|
319
|
+
display: flex;
|
320
|
+
-webkit-box-pack: justify;
|
321
|
+
-ms-flex-pack: justify;
|
322
|
+
justify-content: space-between;
|
323
|
+
-webkit-box-align: center;
|
324
|
+
-ms-flex-align: center;
|
325
|
+
align-items: center;
|
326
|
+
margin: 0;
|
327
|
+
padding: 0.75rem 1rem;
|
328
|
+
color: $base05;
|
329
|
+
background-color: $base00;
|
330
|
+
font-family: $base-font-family;
|
331
|
+
font-size: 0.75rem;
|
332
|
+
text-transform: uppercase;
|
333
|
+
cursor: pointer;
|
334
|
+
|
335
|
+
.toc-toggle-icon {
|
336
|
+
margin-left: 1rem;
|
337
|
+
-webkit-transition: -webkit-transform 350ms ease;
|
338
|
+
transition: -webkit-transform 350ms ease;
|
339
|
+
transition: transform 350ms ease;
|
340
|
+
transition: transform 350ms ease, -webkit-transform 350ms ease;
|
341
|
+
}
|
342
|
+
|
343
|
+
&.js-toc-is-open {
|
344
|
+
.toc-toggle-icon {
|
345
|
+
-webkit-transform: rotate(180deg);
|
346
|
+
-ms-transform: rotate(180deg);
|
347
|
+
transform: rotate(180deg);
|
348
|
+
}
|
349
|
+
}
|
350
|
+
}
|
351
|
+
|
352
|
+
#markdown-toc {
|
353
|
+
display: none;
|
354
|
+
height: 0;
|
355
|
+
margin-bottom: 0;
|
356
|
+
padding-left: 2rem;
|
357
|
+
overflow: hidden;
|
358
|
+
color: $base05;
|
359
|
+
font-size: 0.9rem;
|
360
|
+
-webkit-transition: height 350ms ease;
|
361
|
+
transition: height 350ms ease;
|
362
|
+
|
363
|
+
&.js-toc-is-open {
|
364
|
+
display: block;
|
365
|
+
height: auto;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
li {
|
370
|
+
padding: 0.3em 0;
|
371
|
+
font-family: $base-font-family;
|
372
|
+
|
373
|
+
a {
|
374
|
+
display: inline-block;
|
375
|
+
color: inherit;
|
376
|
+
font-size: 0.75rem;
|
377
|
+
font-weight: 600;
|
378
|
+
text-decoration: none;
|
379
|
+
border-bottom: 1px dotted transparent;
|
380
|
+
|
381
|
+
&:hover,
|
382
|
+
&:focus {
|
383
|
+
border-bottom: 1px dotted $border-color;
|
384
|
+
}
|
385
|
+
}
|
386
|
+
|
387
|
+
ol {
|
388
|
+
padding-left: 0.5rem;
|
389
|
+
list-style-type: lower-roman;
|
390
|
+
background-color: $background-color;
|
391
|
+
}
|
392
|
+
}
|
393
|
+
}
|