creek-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +81 -0
  4. data/_config.yml +306 -0
  5. data/_data/README.md +3 -0
  6. data/_data/navigation/docs.yml +56 -0
  7. data/_data/navigation/main.yml +12 -0
  8. data/_data/navigation.yml +68 -0
  9. data/_data/ui-text.yml +2024 -0
  10. data/_includes/analytics-providers/custom.html +3 -0
  11. data/_includes/analytics-providers/google-gtag.html +9 -0
  12. data/_includes/analytics-providers/google-universal.html +7 -0
  13. data/_includes/analytics-providers/google.html +14 -0
  14. data/_includes/analytics.html +14 -0
  15. data/_includes/archive-single.html +30 -0
  16. data/_includes/author-profile-custom-links.html +7 -0
  17. data/_includes/author-profile.html +246 -0
  18. data/_includes/breadcrumbs.html +40 -0
  19. data/_includes/browser-upgrade.html +2 -0
  20. data/_includes/category-list.html +19 -0
  21. data/_includes/comment.html +22 -0
  22. data/_includes/comments-providers/custom.html +3 -0
  23. data/_includes/comments-providers/custom_scripts.html +3 -0
  24. data/_includes/comments-providers/discourse.html +13 -0
  25. data/_includes/comments-providers/disqus.html +15 -0
  26. data/_includes/comments-providers/facebook.html +8 -0
  27. data/_includes/comments-providers/giscus.html +24 -0
  28. data/_includes/comments-providers/scripts.html +20 -0
  29. data/_includes/comments-providers/staticman.html +40 -0
  30. data/_includes/comments-providers/staticman_v2.html +40 -0
  31. data/_includes/comments-providers/utterances.html +21 -0
  32. data/_includes/comments.html +180 -0
  33. data/_includes/documents-collection.html +15 -0
  34. data/_includes/feature_row +41 -0
  35. data/_includes/figure +9 -0
  36. data/_includes/footer/custom.html +3 -0
  37. data/_includes/footer.html +21 -0
  38. data/_includes/gallery +35 -0
  39. data/_includes/group-by-array +47 -0
  40. data/_includes/head/custom.html +15 -0
  41. data/_includes/head.html +25 -0
  42. data/_includes/masthead.html +35 -0
  43. data/_includes/nav_list +26 -0
  44. data/_includes/page__date.html +6 -0
  45. data/_includes/page__hero.html +55 -0
  46. data/_includes/page__hero_video.html +2 -0
  47. data/_includes/page__meta.html +31 -0
  48. data/_includes/page__taxonomy.html +7 -0
  49. data/_includes/paginator.html +69 -0
  50. data/_includes/post_pagination.html +14 -0
  51. data/_includes/posts-category.html +5 -0
  52. data/_includes/posts-tag.html +5 -0
  53. data/_includes/scripts.html +28 -0
  54. data/_includes/search/algolia-search-scripts.html +62 -0
  55. data/_includes/search/google-search-scripts.html +30 -0
  56. data/_includes/search/lunr-search-scripts.html +10 -0
  57. data/_includes/search/search_form.html +26 -0
  58. data/_includes/seo.html +158 -0
  59. data/_includes/sidebar.html +19 -0
  60. data/_includes/skip-links.html +7 -0
  61. data/_includes/social-share.html +11 -0
  62. data/_includes/tag-list.html +19 -0
  63. data/_includes/toc +7 -0
  64. data/_includes/toc.html +182 -0
  65. data/_includes/video +24 -0
  66. data/_layouts/archive-taxonomy.html +29 -0
  67. data/_layouts/archive.html +26 -0
  68. data/_layouts/categories.html +43 -0
  69. data/_layouts/category.html +10 -0
  70. data/_layouts/collection.html +10 -0
  71. data/_layouts/compress.html +10 -0
  72. data/_layouts/default.html +41 -0
  73. data/_layouts/home.html +22 -0
  74. data/_layouts/posts.html +30 -0
  75. data/_layouts/search.html +42 -0
  76. data/_layouts/single.html +95 -0
  77. data/_layouts/splash.html +22 -0
  78. data/_layouts/tag.html +10 -0
  79. data/_layouts/tags.html +43 -0
  80. data/_pages/404.html +26 -0
  81. data/_sass/minimal-mistakes/_animations.scss +21 -0
  82. data/_sass/minimal-mistakes/_archive.scss +463 -0
  83. data/_sass/minimal-mistakes/_base.scss +339 -0
  84. data/_sass/minimal-mistakes/_buttons.scss +97 -0
  85. data/_sass/minimal-mistakes/_footer.scss +85 -0
  86. data/_sass/minimal-mistakes/_forms.scss +359 -0
  87. data/_sass/minimal-mistakes/_masthead.scss +93 -0
  88. data/_sass/minimal-mistakes/_mixins.scss +92 -0
  89. data/_sass/minimal-mistakes/_navigation.scss +573 -0
  90. data/_sass/minimal-mistakes/_notices.scss +109 -0
  91. data/_sass/minimal-mistakes/_page.scss +578 -0
  92. data/_sass/minimal-mistakes/_print.scss +252 -0
  93. data/_sass/minimal-mistakes/_reset.scss +187 -0
  94. data/_sass/minimal-mistakes/_search.scss +132 -0
  95. data/_sass/minimal-mistakes/_sidebar.scss +353 -0
  96. data/_sass/minimal-mistakes/_syntax.scss +324 -0
  97. data/_sass/minimal-mistakes/_tables.scss +39 -0
  98. data/_sass/minimal-mistakes/_utilities.scss +593 -0
  99. data/_sass/minimal-mistakes/_variables.scss +173 -0
  100. data/_sass/minimal-mistakes/skins/_air.scss +23 -0
  101. data/_sass/minimal-mistakes/skins/_aqua.scss +34 -0
  102. data/_sass/minimal-mistakes/skins/_contrast.scss +52 -0
  103. data/_sass/minimal-mistakes/skins/_dark.scss +30 -0
  104. data/_sass/minimal-mistakes/skins/_default.scss +5 -0
  105. data/_sass/minimal-mistakes/skins/_dirt.scss +33 -0
  106. data/_sass/minimal-mistakes/skins/_mint.scss +24 -0
  107. data/_sass/minimal-mistakes/skins/_neon.scss +63 -0
  108. data/_sass/minimal-mistakes/skins/_plum.scss +70 -0
  109. data/_sass/minimal-mistakes/skins/_sunrise.scss +49 -0
  110. data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -0
  111. data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +95 -0
  112. data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -0
  113. data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +50 -0
  114. data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -0
  115. data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -0
  116. data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -0
  117. data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +71 -0
  118. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -0
  119. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -0
  120. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -0
  121. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -0
  122. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -0
  123. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
  124. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -0
  125. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
  126. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
  127. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -0
  128. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -0
  129. data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -0
  130. data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +46 -0
  131. data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -0
  132. data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -0
  133. data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -0
  134. data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -0
  135. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
  136. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
  137. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
  138. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
  139. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
  140. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
  141. data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -0
  142. data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -0
  143. data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -0
  144. data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -0
  145. data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -0
  146. data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -0
  147. data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -0
  148. data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -0
  149. data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -0
  150. data/_sass/minimal-mistakes.scss +40 -0
  151. data/assets/css/main.scss +9 -0
  152. data/assets/images/android-chrome-192x192.png +0 -0
  153. data/assets/images/android-chrome-512x512.png +0 -0
  154. data/assets/images/apple-touch-icon.png +0 -0
  155. data/assets/images/browserconfig.xml +9 -0
  156. data/assets/images/creek-logo.png +0 -0
  157. data/assets/images/favicon-16x16.png +0 -0
  158. data/assets/images/favicon-32x32.png +0 -0
  159. data/assets/images/favicon.ico +0 -0
  160. data/assets/images/mstile-150x150.png +0 -0
  161. data/assets/images/safari-pinned-tab.svg +48 -0
  162. data/assets/images/site-under-construction.png +0 -0
  163. data/assets/images/site.webmanifest +19 -0
  164. data/assets/js/_main.js +136 -0
  165. data/assets/js/lunr/lunr-en.js +73 -0
  166. data/assets/js/lunr/lunr-gr.js +526 -0
  167. data/assets/js/lunr/lunr-store.js +84 -0
  168. data/assets/js/lunr/lunr.js +3475 -0
  169. data/assets/js/lunr/lunr.min.js +6 -0
  170. data/assets/js/main.min.js +6 -0
  171. data/assets/js/plugins/gumshoe.js +484 -0
  172. data/assets/js/plugins/jquery.ba-throttle-debounce.js +252 -0
  173. data/assets/js/plugins/jquery.fitvids.js +82 -0
  174. data/assets/js/plugins/jquery.greedy-navigation.js +127 -0
  175. data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
  176. data/assets/js/plugins/smooth-scroll.js +650 -0
  177. data/assets/js/vendor/jquery/jquery-3.6.0.js +10881 -0
  178. metadata +233 -0
@@ -0,0 +1,573 @@
1
+ /* ==========================================================================
2
+ NAVIGATION
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Breadcrumb navigation links
7
+ ========================================================================== */
8
+
9
+ .breadcrumbs {
10
+ @include clearfix;
11
+ margin: 0 auto;
12
+ max-width: 100%;
13
+ padding-left: 1em;
14
+ padding-right: 1em;
15
+ font-family: $sans-serif;
16
+ -webkit-animation: $intro-transition;
17
+ animation: $intro-transition;
18
+ -webkit-animation-delay: 0.3s;
19
+ animation-delay: 0.3s;
20
+
21
+ @include breakpoint($x-large) {
22
+ max-width: $x-large;
23
+ }
24
+
25
+ ol {
26
+ padding: 0;
27
+ list-style: none;
28
+ font-size: $type-size-6;
29
+
30
+ @include breakpoint($large) {
31
+ float: right;
32
+ width: calc(100% - #{$right-sidebar-width-narrow});
33
+ }
34
+
35
+ @include breakpoint($x-large) {
36
+ width: calc(100% - #{$right-sidebar-width});
37
+ }
38
+ }
39
+
40
+ li {
41
+ display: inline;
42
+ }
43
+
44
+ .current {
45
+ font-weight: bold;
46
+ }
47
+ }
48
+
49
+ /*
50
+ Post pagination navigation links
51
+ ========================================================================== */
52
+
53
+ .pagination {
54
+ @include clearfix();
55
+ float: left;
56
+ margin-top: 1em;
57
+ padding-top: 1em;
58
+ width: 100%;
59
+
60
+ ul {
61
+ margin: 0;
62
+ padding: 0;
63
+ list-style-type: none;
64
+ font-family: $sans-serif;
65
+ }
66
+
67
+ li {
68
+ display: block;
69
+ float: left;
70
+ margin-left: -1px;
71
+
72
+ a {
73
+ display: block;
74
+ margin-bottom: 0.25em;
75
+ padding: 0.5em 1em;
76
+ font-family: $sans-serif;
77
+ font-size: 14px;
78
+ font-weight: bold;
79
+ line-height: 1.5;
80
+ text-align: center;
81
+ text-decoration: none;
82
+ color: $muted-text-color;
83
+ border: 1px solid mix(#000, $border-color, 25%);
84
+ border-radius: 0;
85
+
86
+ &:hover {
87
+ color: $link-color-hover;
88
+ }
89
+
90
+ &.current,
91
+ &.current.disabled {
92
+ color: #fff;
93
+ background: $primary-color;
94
+ }
95
+
96
+ &.disabled {
97
+ color: rgba($muted-text-color, 0.5);
98
+ pointer-events: none;
99
+ cursor: not-allowed;
100
+ }
101
+ }
102
+
103
+ &:first-child {
104
+ margin-left: 0;
105
+
106
+ a {
107
+ border-top-left-radius: $border-radius;
108
+ border-bottom-left-radius: $border-radius;
109
+ }
110
+ }
111
+
112
+ &:last-child {
113
+ a {
114
+ border-top-right-radius: $border-radius;
115
+ border-bottom-right-radius: $border-radius;
116
+ }
117
+ }
118
+ }
119
+
120
+ /* next/previous buttons */
121
+ &--pager {
122
+ display: block;
123
+ padding: 1em 2em;
124
+ float: left;
125
+ width: 50%;
126
+ font-family: $sans-serif;
127
+ font-size: $type-size-5;
128
+ font-weight: bold;
129
+ text-align: center;
130
+ text-decoration: none;
131
+ color: $muted-text-color;
132
+ border: 1px solid mix(#000, $border-color, 25%);
133
+ border-radius: $border-radius;
134
+
135
+ &:hover {
136
+ @include yiq-contrasted($muted-text-color);
137
+ }
138
+
139
+ &:first-child {
140
+ border-top-right-radius: 0;
141
+ border-bottom-right-radius: 0;
142
+ }
143
+
144
+ &:last-child {
145
+ margin-left: -1px;
146
+ border-top-left-radius: 0;
147
+ border-bottom-left-radius: 0;
148
+ }
149
+
150
+ &.disabled {
151
+ color: rgba($muted-text-color, 0.5);
152
+ pointer-events: none;
153
+ cursor: not-allowed;
154
+ }
155
+ }
156
+ }
157
+
158
+ .page__content + .pagination,
159
+ .page__meta + .pagination,
160
+ .page__share + .pagination,
161
+ .page__comments + .pagination {
162
+ margin-top: 2em;
163
+ padding-top: 2em;
164
+ border-top: 1px solid $border-color;
165
+ }
166
+
167
+ /*
168
+ Priority plus navigation
169
+ ========================================================================== */
170
+
171
+ .greedy-nav {
172
+ position: relative;
173
+ display: -webkit-box;
174
+ display: -ms-flexbox;
175
+ display: flex;
176
+ -webkit-box-align: center;
177
+ -ms-flex-align: center;
178
+ align-items: center;
179
+ min-height: $nav-height;
180
+ background: $background-color;
181
+
182
+ a {
183
+ display: block;
184
+ margin: 0 1rem;
185
+ color: $masthead-link-color;
186
+ text-decoration: none;
187
+ -webkit-transition: none;
188
+ transition: none;
189
+
190
+ &:hover {
191
+ color: $masthead-link-color-hover;
192
+ }
193
+
194
+ &.site-logo {
195
+ margin-left: 0;
196
+ margin-right: 0.5rem;
197
+ }
198
+
199
+ &.site-title {
200
+ margin-left: 0;
201
+ }
202
+ }
203
+
204
+ img {
205
+ -webkit-transition: none;
206
+ transition: none;
207
+ }
208
+
209
+ &__toggle {
210
+ -ms-flex-item-align: center;
211
+ align-self: center;
212
+ height: $nav-toggle-height;
213
+ border: 0;
214
+ outline: none;
215
+ background-color: transparent;
216
+ cursor: pointer;
217
+ }
218
+
219
+ .visible-links {
220
+ display: -webkit-box;
221
+ display: -ms-flexbox;
222
+ display: flex;
223
+ -webkit-box-pack: end;
224
+ -ms-flex-pack: end;
225
+ justify-content: flex-end;
226
+ -webkit-box-flex: 1;
227
+ -ms-flex: 1;
228
+ flex: 1;
229
+ overflow: hidden;
230
+
231
+ li {
232
+ -webkit-box-flex: 0;
233
+ -ms-flex: none;
234
+ flex: none;
235
+ }
236
+
237
+ a {
238
+ position: relative;
239
+
240
+ &:before {
241
+ content: "";
242
+ position: absolute;
243
+ left: 0;
244
+ bottom: 0;
245
+ height: 4px;
246
+ background: $primary-color;
247
+ width: 100%;
248
+ -webkit-transition: $global-transition;
249
+ transition: $global-transition;
250
+ -webkit-transform: scaleX(0) translate3d(0, 0, 0);
251
+ transform: scaleX(0) translate3d(0, 0, 0); // hide
252
+ }
253
+
254
+ &:hover:before {
255
+ -webkit-transform: scaleX(1);
256
+ -ms-transform: scaleX(1);
257
+ transform: scaleX(1); // reveal
258
+ }
259
+ }
260
+ }
261
+
262
+ .hidden-links {
263
+ position: absolute;
264
+ top: 100%;
265
+ right: 0;
266
+ margin-top: 15px;
267
+ padding: 5px;
268
+ border: 1px solid $border-color;
269
+ border-radius: $border-radius;
270
+ background: $background-color;
271
+ -webkit-box-shadow: 0 2px 4px 0 rgba(#000, 0.16),
272
+ 0 2px 10px 0 rgba(#000, 0.12);
273
+ box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
274
+
275
+ &.hidden {
276
+ display: none;
277
+ }
278
+
279
+ a {
280
+ margin: 0;
281
+ padding: 10px 20px;
282
+ font-size: $type-size-5;
283
+
284
+ &:hover {
285
+ color: $masthead-link-color-hover;
286
+ background: $navicon-link-color-hover;
287
+ }
288
+ }
289
+
290
+ &:before {
291
+ content: "";
292
+ position: absolute;
293
+ top: -11px;
294
+ right: 10px;
295
+ width: 0;
296
+ border-style: solid;
297
+ border-width: 0 10px 10px;
298
+ border-color: $border-color transparent;
299
+ display: block;
300
+ z-index: 0;
301
+ }
302
+
303
+ &:after {
304
+ content: "";
305
+ position: absolute;
306
+ top: -10px;
307
+ right: 10px;
308
+ width: 0;
309
+ border-style: solid;
310
+ border-width: 0 10px 10px;
311
+ border-color: $background-color transparent;
312
+ display: block;
313
+ z-index: 1;
314
+ }
315
+
316
+ li {
317
+ display: block;
318
+ border-bottom: 1px solid $border-color;
319
+
320
+ &:last-child {
321
+ border-bottom: none;
322
+ }
323
+ }
324
+ }
325
+ }
326
+
327
+ .no-js {
328
+ .greedy-nav {
329
+ .visible-links {
330
+ -ms-flex-wrap: wrap;
331
+ flex-wrap: wrap;
332
+ overflow: visible;
333
+ }
334
+ }
335
+ }
336
+
337
+ /*
338
+ Navigation list
339
+ ========================================================================== */
340
+
341
+ .nav__list {
342
+ margin-bottom: 1.5em;
343
+
344
+ input[type="checkbox"],
345
+ label {
346
+ display: none;
347
+ }
348
+
349
+ @include breakpoint(max-width $large - 1px) {
350
+ label {
351
+ position: relative;
352
+ display: inline-block;
353
+ padding: 0.5em 2.5em 0.5em 1em;
354
+ color: $gray;
355
+ font-size: $type-size-6;
356
+ font-weight: bold;
357
+ border: 1px solid $light-gray;
358
+ border-radius: $border-radius;
359
+ z-index: 20;
360
+ -webkit-transition: 0.2s ease-out;
361
+ transition: 0.2s ease-out;
362
+ cursor: pointer;
363
+
364
+ &:before,
365
+ &:after {
366
+ content: "";
367
+ position: absolute;
368
+ right: 1em;
369
+ top: 1.25em;
370
+ width: 0.75em;
371
+ height: 0.125em;
372
+ line-height: 1;
373
+ background-color: $gray;
374
+ -webkit-transition: 0.2s ease-out;
375
+ transition: 0.2s ease-out;
376
+ }
377
+
378
+ &:after {
379
+ -webkit-transform: rotate(90deg);
380
+ -ms-transform: rotate(90deg);
381
+ transform: rotate(90deg);
382
+ }
383
+
384
+ &:hover {
385
+ color: #fff;
386
+ border-color: $gray;
387
+ background-color: mix(white, #000, 20%);
388
+
389
+ &:before,
390
+ &:after {
391
+ background-color: #fff;
392
+ }
393
+ }
394
+ }
395
+
396
+ /* selected*/
397
+ input:checked + label {
398
+ color: white;
399
+ background-color: mix(white, #000, 20%);
400
+
401
+ &:before,
402
+ &:after {
403
+ background-color: #fff;
404
+ }
405
+ }
406
+
407
+ /* on hover show expand*/
408
+ label:hover:after {
409
+ -webkit-transform: rotate(90deg);
410
+ -ms-transform: rotate(90deg);
411
+ transform: rotate(90deg);
412
+ }
413
+
414
+ input:checked + label:hover:after {
415
+ -webkit-transform: rotate(0);
416
+ -ms-transform: rotate(0);
417
+ transform: rotate(0);
418
+ }
419
+
420
+ ul {
421
+ margin-bottom: 1em;
422
+ }
423
+
424
+ a {
425
+ display: block;
426
+ padding: 0.25em 0;
427
+
428
+ @include breakpoint($large) {
429
+ padding-top: 0.125em;
430
+ padding-bottom: 0.125em;
431
+ }
432
+
433
+ &:hover {
434
+ text-decoration: underline;
435
+ }
436
+ }
437
+ }
438
+ }
439
+
440
+ .nav__list .nav__items {
441
+ margin: 0;
442
+ font-size: 1.25rem;
443
+
444
+ a {
445
+ color: inherit;
446
+ }
447
+
448
+ .active {
449
+ margin-left: -0.5em;
450
+ padding-left: 0.5em;
451
+ padding-right: 0.5em;
452
+ font-weight: bold;
453
+ }
454
+
455
+ @include breakpoint(max-width $large - 1px) {
456
+ position: relative;
457
+ max-height: 0;
458
+ opacity: 0%;
459
+ overflow: hidden;
460
+ z-index: 10;
461
+ -webkit-transition: 0.3s ease-in-out;
462
+ transition: 0.3s ease-in-out;
463
+ -webkit-transform: translate(0, 10%);
464
+ -ms-transform: translate(0, 10%);
465
+ transform: translate(0, 10%);
466
+ }
467
+ }
468
+
469
+ @include breakpoint(max-width $large - 1px) {
470
+ .nav__list input:checked ~ .nav__items {
471
+ -webkit-transition: 0.5s ease-in-out;
472
+ transition: 0.5s ease-in-out;
473
+ max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
474
+ overflow: visible;
475
+ opacity: 1;
476
+ margin-top: 1em;
477
+ -webkit-transform: translate(0, 0);
478
+ -ms-transform: translate(0, 0);
479
+ transform: translate(0, 0);
480
+ }
481
+ }
482
+
483
+ .nav__title {
484
+ margin: 0;
485
+ padding: 0.5rem 0.75rem;
486
+ font-family: $sans-serif-narrow;
487
+ font-size: $type-size-5;
488
+ font-weight: bold;
489
+ }
490
+
491
+ .nav__sub-title {
492
+ display: block;
493
+ margin: 0.5rem 0;
494
+ padding: 0.25rem 0;
495
+ font-family: $sans-serif-narrow;
496
+ font-size: $type-size-6;
497
+ font-weight: bold;
498
+ text-transform: uppercase;
499
+ border-bottom: 1px solid $border-color;
500
+ }
501
+
502
+ /*
503
+ Table of contents navigation
504
+ ========================================================================== */
505
+
506
+ .toc {
507
+ font-family: $sans-serif-narrow;
508
+ color: $gray;
509
+ background-color: $background-color;
510
+ border: 1px solid $border-color;
511
+ border-radius: $border-radius;
512
+ -webkit-box-shadow: $box-shadow;
513
+ box-shadow: $box-shadow;
514
+
515
+ .nav__title {
516
+ color: #fff;
517
+ font-size: $type-size-6;
518
+ background: $primary-color;
519
+ border-top-left-radius: $border-radius;
520
+ border-top-right-radius: $border-radius;
521
+ }
522
+
523
+ // Scrollspy marks toc items as .active when they are in focus
524
+ .active a {
525
+ @include yiq-contrasted($active-color);
526
+ }
527
+ }
528
+
529
+ .toc__menu {
530
+ margin: 0;
531
+ padding: 0;
532
+ width: 100%;
533
+ list-style: none;
534
+ font-size: $type-size-6;
535
+
536
+ @include breakpoint($large) {
537
+ font-size: $type-size-7;
538
+ }
539
+
540
+ a {
541
+ display: block;
542
+ padding: 0.25rem 0.75rem;
543
+ color: $muted-text-color;
544
+ font-weight: bold;
545
+ line-height: 1.5;
546
+ border-bottom: 1px solid $border-color;
547
+
548
+ &:hover {
549
+ color: $text-color;
550
+ }
551
+ }
552
+
553
+ li ul > li a {
554
+ padding-left: 1.25rem;
555
+ font-weight: normal;
556
+ }
557
+
558
+ li ul li ul > li a {
559
+ padding-left: 1.75rem;
560
+ }
561
+
562
+ li ul li ul li ul > li a {
563
+ padding-left: 2.25rem;
564
+ }
565
+
566
+ li ul li ul li ul li ul > li a {
567
+ padding-left: 2.75rem;
568
+ }
569
+
570
+ li ul li ul li ul li ul li ul > li a {
571
+ padding-left: 3.25rem
572
+ }
573
+ }
@@ -0,0 +1,109 @@
1
+ /* ==========================================================================
2
+ NOTICE TEXT BLOCKS
3
+ ========================================================================== */
4
+
5
+ /**
6
+ * Default Kramdown usage (no indents!):
7
+ * <div class="notice" markdown="1">
8
+ * #### Headline for the Notice
9
+ * Text for the notice
10
+ * </div>
11
+ */
12
+
13
+ @mixin notice($notice-color) {
14
+ margin: 2em 0 !important; /* override*/
15
+ padding: 1em;
16
+ color: $text-color;
17
+ font-family: $global-font-family;
18
+ font-size: $type-size-6 !important;
19
+ text-indent: initial; /* override*/
20
+ background-color: mix($background-color, $notice-color, $notice-background-mix);
21
+ border-radius: $border-radius;
22
+ box-shadow: 0 1px 1px rgba($notice-color, 0.25);
23
+
24
+ h4 {
25
+ margin-top: 0 !important; /* override*/
26
+ margin-bottom: 0.75em;
27
+ line-height: inherit;
28
+ }
29
+
30
+ @at-root .page__content #{&} h4 {
31
+ /* using at-root to override .page-content h4 font size*/
32
+ margin-bottom: 0;
33
+ font-size: 1em;
34
+ }
35
+
36
+ p {
37
+ &:last-child {
38
+ margin-bottom: 0 !important; /* override*/
39
+ }
40
+ }
41
+
42
+ h4 + p {
43
+ /* remove space above paragraphs that appear directly after notice headline*/
44
+ margin-top: 0;
45
+ padding-top: 0;
46
+ }
47
+
48
+ a {
49
+ color: mix(#000, $notice-color, 10%);
50
+
51
+ &:hover {
52
+ color: mix(#000, $notice-color, 50%);
53
+ }
54
+ }
55
+
56
+ @at-root #{selector-unify(&, "blockquote")} {
57
+ border-left-color: mix(#000, $notice-color, 10%);
58
+ }
59
+
60
+ code {
61
+ background-color: mix($background-color, $notice-color, $code-notice-background-mix)
62
+ }
63
+
64
+ pre code {
65
+ background-color: inherit;
66
+ }
67
+
68
+ ul {
69
+ &:last-child {
70
+ margin-bottom: 0; /* override*/
71
+ }
72
+ }
73
+ }
74
+
75
+ /* Default notice */
76
+
77
+ .notice {
78
+ @include notice($light-gray);
79
+ }
80
+
81
+ /* Primary notice */
82
+
83
+ .notice--primary {
84
+ @include notice($primary-color);
85
+ }
86
+
87
+ /* Info notice */
88
+
89
+ .notice--info {
90
+ @include notice($info-color);
91
+ }
92
+
93
+ /* Warning notice */
94
+
95
+ .notice--warning {
96
+ @include notice($warning-color);
97
+ }
98
+
99
+ /* Success notice */
100
+
101
+ .notice--success {
102
+ @include notice($success-color);
103
+ }
104
+
105
+ /* Danger notice */
106
+
107
+ .notice--danger {
108
+ @include notice($danger-color);
109
+ }