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.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/LICENSE +49 -49
  4. data/README.md +15 -2
  5. data/_data/authors.yml +16 -16
  6. data/_data/navigation.yml +16 -14
  7. data/_data/text.yml +36 -36
  8. data/_includes/disqus-comments.html +19 -19
  9. data/_includes/documents-collection.html +19 -19
  10. data/_includes/entry-date.html +6 -6
  11. data/_includes/entry.html +41 -39
  12. data/_includes/footer-custom.html +3 -3
  13. data/_includes/footer.html +24 -24
  14. data/_includes/google-analytics.html +9 -9
  15. data/_includes/head-custom.html +5 -5
  16. data/_includes/head-feed.html +1 -1
  17. data/_includes/head-seo.html +1 -1
  18. data/_includes/head.html +50 -50
  19. data/_includes/lunr-search-scripts.html +106 -106
  20. data/_includes/masthead.html +13 -13
  21. data/_includes/navigation.html +17 -17
  22. data/_includes/page-author.html +37 -37
  23. data/_includes/page-categories.html +14 -14
  24. data/_includes/page-date.html +4 -4
  25. data/_includes/page-image.html +14 -14
  26. data/_includes/page-pagination.html +19 -19
  27. data/_includes/page-tags.html +14 -14
  28. data/_includes/posts-all.html +3 -3
  29. data/_includes/posts-category.html +3 -3
  30. data/_includes/posts-paginated.html +74 -74
  31. data/_includes/posts-tag.html +3 -3
  32. data/_includes/read-time.html +16 -16
  33. data/_includes/responsive-embed +16 -16
  34. data/_includes/scripts.html +1 -3
  35. data/_includes/skip-links.html +8 -8
  36. data/_includes/social-share.html +6 -6
  37. data/_includes/toc +9 -9
  38. data/_layouts/categories.html +48 -48
  39. data/_layouts/category.html +9 -9
  40. data/_layouts/collection.html +9 -9
  41. data/_layouts/default.html +1 -1
  42. data/_layouts/home.html +17 -17
  43. data/_layouts/page.html +30 -30
  44. data/_layouts/post.html +41 -41
  45. data/_layouts/posts.html +29 -29
  46. data/_layouts/search.html +1 -1
  47. data/_layouts/tag.html +9 -9
  48. data/_layouts/tags.html +48 -48
  49. data/_sass/so-simple.scss +1 -1
  50. data/_sass/so-simple/_author.scss +45 -45
  51. data/_sass/so-simple/_base.scss +112 -112
  52. data/_sass/so-simple/_buttons.scss +92 -92
  53. data/_sass/so-simple/_entries.scss +182 -182
  54. data/_sass/so-simple/_functions.scss +4 -4
  55. data/_sass/so-simple/_global.scss +393 -393
  56. data/_sass/so-simple/_icons.scss +43 -43
  57. data/_sass/so-simple/_mixins.scss +5 -5
  58. data/_sass/so-simple/_notices.scss +93 -93
  59. data/_sass/so-simple/_page.scss +287 -282
  60. data/_sass/so-simple/_reset.scss +523 -523
  61. data/_sass/so-simple/_syntax-highlighting.scss +334 -334
  62. data/_sass/so-simple/_tables.scss +34 -34
  63. data/_sass/so-simple/_utilities.scss +7 -7
  64. data/_sass/so-simple/_variables.scss +132 -132
  65. data/_sass/so-simple/functions/_color.scss +21 -21
  66. data/_sass/so-simple/functions/_em.scss +7 -7
  67. data/_sass/so-simple/functions/_fluid-type.scss +33 -33
  68. data/_sass/so-simple/functions/_yiq.scss +38 -38
  69. data/_sass/so-simple/mixins/_clearfix.scss +32 -32
  70. data/_sass/so-simple/mixins/_float.scss +15 -15
  71. data/_sass/so-simple/mixins/_image.scss +38 -38
  72. data/_sass/so-simple/mixins/_lists.scss +9 -9
  73. data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
  74. data/_sass/so-simple/utilities/_accessibility.scss +43 -43
  75. data/_sass/so-simple/utilities/_align.scss +60 -60
  76. data/_sass/so-simple/utilities/_animations.scss +99 -99
  77. data/_sass/so-simple/utilities/_clearfix.scss +7 -7
  78. data/_sass/so-simple/utilities/_float.scss +7 -7
  79. data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
  80. data/_sass/so-simple/utilities/_text.scss +48 -48
  81. data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
  82. data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
  83. data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
  84. data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
  85. data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
  86. data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
  87. data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
  88. data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
  89. data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
  90. data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
  91. data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
  92. data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
  93. data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
  94. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  95. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
  96. data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  97. data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  98. data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
  99. data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  100. data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
  101. data/assets/css/main.scss +7 -7
  102. data/assets/js/lunr/lunr.da.min.js +17 -17
  103. data/assets/js/lunr/lunr.de.min.js +17 -17
  104. data/assets/js/lunr/lunr.du.min.js +17 -17
  105. data/assets/js/lunr/lunr.es.min.js +17 -17
  106. data/assets/js/lunr/lunr.fi.min.js +17 -17
  107. data/assets/js/lunr/lunr.fr.min.js +17 -17
  108. data/assets/js/lunr/lunr.hu.min.js +17 -17
  109. data/assets/js/lunr/lunr.it.min.js +17 -17
  110. data/assets/js/lunr/lunr.jp.min.js +1 -1
  111. data/assets/js/lunr/lunr.min.js +6 -6
  112. data/assets/js/lunr/lunr.no.min.js +17 -17
  113. data/assets/js/lunr/lunr.pt.min.js +17 -17
  114. data/assets/js/lunr/lunr.ro.min.js +17 -17
  115. data/assets/js/lunr/lunr.ru.min.js +17 -17
  116. data/assets/js/lunr/lunr.sv.min.js +17 -17
  117. data/assets/js/lunr/lunr.tr.min.js +17 -17
  118. data/assets/js/main.js +17 -15
  119. data/assets/js/main.min.js +2 -2
  120. data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
  121. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
  122. data/assets/js/plugins/lity.js +655 -655
  123. data/assets/js/plugins/lity.min.js +4 -4
  124. data/assets/js/plugins/table-of-contents.js +59 -59
  125. data/assets/js/search-data.json +43 -27
  126. 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-width;
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-width;
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
+ }