minimal-mistakes-jekyll 4.8.0 → 4.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -2
  3. data/LICENSE.txt +59 -59
  4. data/README.md +1 -3
  5. data/_data/navigation.yml +11 -11
  6. data/_data/ui-text.yml +977 -932
  7. data/_includes/analytics-providers/custom.html +2 -2
  8. data/_includes/analytics-providers/google-universal.html +9 -9
  9. data/_includes/analytics-providers/google.html +10 -10
  10. data/_includes/analytics.html +11 -11
  11. data/_includes/archive-single.html +37 -37
  12. data/_includes/author-profile-custom-links.html +6 -6
  13. data/_includes/author-profile.html +266 -249
  14. data/_includes/base_path +4 -4
  15. data/_includes/breadcrumbs.html +39 -39
  16. data/_includes/browser-upgrade.html +3 -3
  17. data/_includes/category-list.html +25 -25
  18. data/_includes/comment.html +22 -22
  19. data/_includes/comments-providers/custom.html +2 -2
  20. data/_includes/comments-providers/discourse.html +13 -13
  21. data/_includes/comments-providers/facebook.html +7 -7
  22. data/_includes/comments-providers/google-plus.html +1 -1
  23. data/_includes/comments-providers/staticman.html +41 -41
  24. data/_includes/comments-providers/staticman_v2.html +41 -41
  25. data/_includes/feature_row +49 -49
  26. data/_includes/figure +12 -12
  27. data/_includes/footer.html +25 -25
  28. data/_includes/footer/custom.html +2 -2
  29. data/_includes/gallery +46 -46
  30. data/_includes/group-by-array +46 -46
  31. data/_includes/head.html +42 -42
  32. data/_includes/head/custom.html +4 -4
  33. data/_includes/masthead.html +32 -32
  34. data/_includes/nav_list +46 -46
  35. data/_includes/page__hero_video.html +4 -4
  36. data/_includes/page__taxonomy.html +6 -6
  37. data/_includes/paginator.html +69 -69
  38. data/_includes/post_pagination.html +13 -13
  39. data/_includes/read-time.html +14 -14
  40. data/_includes/scripts.html +20 -20
  41. data/_includes/search_form.html +3 -3
  42. data/_includes/seo.html +162 -162
  43. data/_includes/sidebar.html +22 -22
  44. data/_includes/social-share.html +13 -13
  45. data/_includes/tag-list.html +25 -25
  46. data/_includes/toc +6 -6
  47. data/_includes/toc.html +74 -74
  48. data/_includes/video +11 -11
  49. data/_layouts/archive-taxonomy.html +14 -14
  50. data/_layouts/compress.html +10 -10
  51. data/_layouts/default.html +1 -1
  52. data/_layouts/home.html +11 -11
  53. data/_layouts/search.html +32 -32
  54. data/_layouts/single.html +92 -92
  55. data/_layouts/splash.html +21 -21
  56. data/_sass/minimal-mistakes.scss +1 -1
  57. data/_sass/minimal-mistakes/_animations.scss +20 -20
  58. data/_sass/minimal-mistakes/_archive.scss +310 -310
  59. data/_sass/minimal-mistakes/_base.scss +360 -360
  60. data/_sass/minimal-mistakes/_buttons.scss +97 -97
  61. data/_sass/minimal-mistakes/_footer.scss +82 -82
  62. data/_sass/minimal-mistakes/_masthead.scss +83 -83
  63. data/_sass/minimal-mistakes/_mixins.scss +91 -91
  64. data/_sass/minimal-mistakes/_navigation.scss +540 -540
  65. data/_sass/minimal-mistakes/_notices.scss +99 -99
  66. data/_sass/minimal-mistakes/_page.scss +426 -426
  67. data/_sass/minimal-mistakes/_search.scss +107 -107
  68. data/_sass/minimal-mistakes/_sidebar.scss +267 -262
  69. data/_sass/minimal-mistakes/_tables.scss +36 -36
  70. data/_sass/minimal-mistakes/_utilities.scss +516 -516
  71. data/_sass/minimal-mistakes/_variables.scss +137 -137
  72. data/_sass/minimal-mistakes/skins/_air.scss +22 -22
  73. data/_sass/minimal-mistakes/skins/_aqua.scss +29 -29
  74. data/_sass/minimal-mistakes/skins/_contrast.scss +33 -33
  75. data/_sass/minimal-mistakes/skins/_dark.scss +23 -23
  76. data/_sass/minimal-mistakes/skins/_default.scss +5 -5
  77. data/_sass/minimal-mistakes/skins/_dirt.scss +14 -14
  78. data/_sass/minimal-mistakes/skins/_mint.scss +22 -22
  79. data/_sass/minimal-mistakes/skins/_sunrise.scss +25 -25
  80. data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -114
  81. data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +94 -94
  82. data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -151
  83. data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +49 -49
  84. data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -15
  85. data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -215
  86. data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -82
  87. data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +70 -70
  88. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -33
  89. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -82
  90. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -31
  91. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -26
  92. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -36
  93. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  94. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -22
  95. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  96. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  97. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -13
  98. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  99. data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +34 -34
  100. data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +25 -25
  101. data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +12 -12
  102. data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +6 -6
  103. data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +18 -18
  104. data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +789 -789
  105. data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +13 -13
  106. data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +19 -19
  107. data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +60 -60
  108. data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +15 -15
  109. data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +20 -20
  110. data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +5 -5
  111. data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +20 -20
  112. data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +800 -800
  113. data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -649
  114. data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +45 -45
  115. data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -13
  116. data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -5
  117. data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -5
  118. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
  119. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
  120. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
  121. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
  122. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
  123. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
  124. data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -318
  125. data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -261
  126. data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -163
  127. data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -329
  128. data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -441
  129. data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -213
  130. data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -191
  131. data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -56
  132. data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -167
  133. data/assets/css/main.scss +7 -7
  134. data/assets/fonts/fontawesome-webfont.svg +2671 -2671
  135. data/assets/js/_main.js +85 -85
  136. data/assets/js/lunr-en.js +104 -93
  137. data/assets/js/lunr.min.js +2977 -7
  138. data/assets/js/main.min.js +5 -5
  139. data/assets/js/plugins/jquery.fitvids.js +81 -81
  140. data/assets/js/plugins/jquery.greedy-navigation.js +83 -83
  141. metadata +3 -3
@@ -1,92 +1,92 @@
1
- /* ==========================================================================
2
- MIXINS
3
- ========================================================================== */
4
-
5
- %tab-focus {
6
- /* Default*/
7
- outline: thin dotted $warning-color;
8
- /* Webkit*/
9
- outline: 5px auto $warning-color;
10
- outline-offset: -2px;
11
- }
12
-
13
- /*
14
- em function
15
- ========================================================================== */
16
-
17
- @function em($target, $context: $doc-font-size) {
18
- @return ($target / $context) * 1em;
19
- }
20
-
21
-
22
- /*
23
- Bourbon clearfix
24
- ========================================================================== */
25
-
26
- /*
27
- * Provides an easy way to include a clearfix for containing floats.
28
- * link http://cssmojo.com/latest_new_clearfix_so_far/
29
- *
30
- * example scss - Usage
31
- *
32
- * .element {
33
- * @include clearfix;
34
- * }
35
- *
36
- * example css - CSS Output
37
- *
38
- * .element::after {
39
- * clear: both;
40
- * content: "";
41
- * display: table;
42
- * }
43
- */
44
-
45
- @mixin clearfix {
46
- clear: both;
47
-
48
- &::after {
49
- clear: both;
50
- content: "";
51
- display: table;
52
- }
53
- }
54
-
55
- /*
56
- Compass YIQ Color Contrast
57
- https://github.com/easy-designs/yiq-color-contrast
58
- ========================================================================== */
59
-
60
- @function yiq-is-light(
61
- $color,
62
- $threshold: $yiq-contrasted-threshold
63
- ) {
64
- $red: red($color);
65
- $green: green($color);
66
- $blue: blue($color);
67
-
68
- $yiq: (($red*299)+($green*587)+($blue*114))/1000;
69
-
70
- @if $yiq-debug { @debug $yiq, $threshold; }
71
-
72
- @return if($yiq >= $threshold, true, false);
73
- }
74
-
75
- @function yiq-contrast-color(
76
- $color,
77
- $dark: $yiq-contrasted-dark-default,
78
- $light: $yiq-contrasted-light-default,
79
- $threshold: $yiq-contrasted-threshold
80
- ) {
81
- @return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
82
- }
83
-
84
- @mixin yiq-contrasted(
85
- $background-color,
86
- $dark: $yiq-contrasted-dark-default,
87
- $light: $yiq-contrasted-light-default,
88
- $threshold: $yiq-contrasted-threshold
89
- ) {
90
- background-color: $background-color;
91
- color: yiq-contrast-color($background-color, $dark, $light, $threshold);
1
+ /* ==========================================================================
2
+ MIXINS
3
+ ========================================================================== */
4
+
5
+ %tab-focus {
6
+ /* Default*/
7
+ outline: thin dotted $warning-color;
8
+ /* Webkit*/
9
+ outline: 5px auto $warning-color;
10
+ outline-offset: -2px;
11
+ }
12
+
13
+ /*
14
+ em function
15
+ ========================================================================== */
16
+
17
+ @function em($target, $context: $doc-font-size) {
18
+ @return ($target / $context) * 1em;
19
+ }
20
+
21
+
22
+ /*
23
+ Bourbon clearfix
24
+ ========================================================================== */
25
+
26
+ /*
27
+ * Provides an easy way to include a clearfix for containing floats.
28
+ * link http://cssmojo.com/latest_new_clearfix_so_far/
29
+ *
30
+ * example scss - Usage
31
+ *
32
+ * .element {
33
+ * @include clearfix;
34
+ * }
35
+ *
36
+ * example css - CSS Output
37
+ *
38
+ * .element::after {
39
+ * clear: both;
40
+ * content: "";
41
+ * display: table;
42
+ * }
43
+ */
44
+
45
+ @mixin clearfix {
46
+ clear: both;
47
+
48
+ &::after {
49
+ clear: both;
50
+ content: "";
51
+ display: table;
52
+ }
53
+ }
54
+
55
+ /*
56
+ Compass YIQ Color Contrast
57
+ https://github.com/easy-designs/yiq-color-contrast
58
+ ========================================================================== */
59
+
60
+ @function yiq-is-light(
61
+ $color,
62
+ $threshold: $yiq-contrasted-threshold
63
+ ) {
64
+ $red: red($color);
65
+ $green: green($color);
66
+ $blue: blue($color);
67
+
68
+ $yiq: (($red*299)+($green*587)+($blue*114))/1000;
69
+
70
+ @if $yiq-debug { @debug $yiq, $threshold; }
71
+
72
+ @return if($yiq >= $threshold, true, false);
73
+ }
74
+
75
+ @function yiq-contrast-color(
76
+ $color,
77
+ $dark: $yiq-contrasted-dark-default,
78
+ $light: $yiq-contrasted-light-default,
79
+ $threshold: $yiq-contrasted-threshold
80
+ ) {
81
+ @return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
82
+ }
83
+
84
+ @mixin yiq-contrasted(
85
+ $background-color,
86
+ $dark: $yiq-contrasted-dark-default,
87
+ $light: $yiq-contrasted-light-default,
88
+ $threshold: $yiq-contrasted-threshold
89
+ ) {
90
+ background-color: $background-color;
91
+ color: yiq-contrast-color($background-color, $dark, $light, $threshold);
92
92
  }
@@ -1,540 +1,540 @@
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: 2em;
14
- padding-right: 2em;
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($large) {
22
- padding-left: 1em;
23
- padding-right: 1em;
24
- }
25
-
26
- @include breakpoint($x-large) {
27
- max-width: $x-large;
28
- }
29
-
30
- ol {
31
- padding: 0;
32
- list-style: none;
33
- font-size: $type-size-6;
34
-
35
- @include breakpoint($large) {
36
- float: right;
37
- width: span(10 of 12);
38
- }
39
-
40
- @include breakpoint($x-large) {
41
- padding-left: gutter(0.5 of 12);
42
- }
43
- }
44
-
45
- li {
46
- display: inline;
47
- }
48
-
49
- .current {
50
- font-weight: bold;
51
- }
52
- }
53
-
54
- /*
55
- Post pagination navigation links
56
- ========================================================================== */
57
-
58
- .pagination {
59
- @include clearfix();
60
- float: left;
61
- margin-top: 1em;
62
- padding-top: 1em;
63
- width: 100%;
64
-
65
- ul {
66
- margin: 0;
67
- padding: 0;
68
- list-style-type: none;
69
- font-family: $sans-serif;
70
- }
71
-
72
- li {
73
- display: block;
74
- float: left;
75
- margin-left: -1px;
76
-
77
- a {
78
- display: block;
79
- margin-bottom: 0.25em;
80
- padding: 0.5em 1em;
81
- font-family: $sans-serif;
82
- font-size: 14px;
83
- font-weight: bold;
84
- line-height: 1.5;
85
- text-align: center;
86
- text-decoration: none;
87
- color: $muted-text-color;
88
- border: 1px solid mix(#000, $border-color, 25%);
89
- border-radius: 0;
90
-
91
- &:hover {
92
- color: $link-color-hover;
93
- }
94
-
95
- &.current,
96
- &.current.disabled {
97
- color: #fff;
98
- background: $primary-color;
99
- }
100
-
101
- &.disabled {
102
- color: rgba($muted-text-color, 0.5);
103
- pointer-events: none;
104
- cursor: not-allowed;
105
- }
106
- }
107
-
108
- &:first-child {
109
- margin-left: 0;
110
-
111
- a {
112
- border-top-left-radius: $border-radius;
113
- border-bottom-left-radius: $border-radius;
114
- }
115
- }
116
-
117
- &:last-child {
118
- a {
119
- border-top-right-radius: $border-radius;
120
- border-bottom-right-radius: $border-radius;
121
- }
122
- }
123
- }
124
-
125
- /* next/previous buttons */
126
- &--pager {
127
- display: block;
128
- padding: 1em 2em;
129
- float: left;
130
- width: 50%;
131
- font-family: $sans-serif;
132
- font-size: $type-size-5;
133
- font-weight: bold;
134
- text-align: center;
135
- text-decoration: none;
136
- color: $muted-text-color;
137
- border: 1px solid mix(#000, $border-color, 25%);
138
- border-radius: $border-radius;
139
-
140
- &:hover {
141
- @include yiq-contrasted($muted-text-color);
142
- }
143
-
144
- &:first-child {
145
- border-top-right-radius: 0;
146
- border-bottom-right-radius: 0;
147
- }
148
-
149
- &:last-child {
150
- margin-left: -1px;
151
- border-top-left-radius: 0;
152
- border-bottom-left-radius: 0;
153
- }
154
-
155
- &.disabled {
156
- color: rgba($muted-text-color, 0.5);
157
- pointer-events: none;
158
- cursor: not-allowed;
159
- }
160
- }
161
- }
162
-
163
- .page__content + .pagination,
164
- .page__meta + .pagination,
165
- .page__share + .pagination,
166
- .page__comments + .pagination {
167
- margin-top: 2em;
168
- padding-top: 2em;
169
- border-top: 1px solid $border-color;
170
- }
171
-
172
- /*
173
- Priority plus navigation
174
- ========================================================================== */
175
-
176
- .greedy-nav {
177
- position: relative;
178
- display: -webkit-box;
179
- display: flex;
180
- -webkit-box-align: center;
181
- align-items: center;
182
- background: $background-color;
183
-
184
- a {
185
- display: block;
186
- margin: 0 1rem;
187
- padding: 0.5rem 0;
188
- color: $masthead-link-color;
189
- text-decoration: none;
190
-
191
- &:hover {
192
- color: $masthead-link-color-hover;
193
- }
194
-
195
- &.site-title {
196
- margin-left: 0;
197
- }
198
- }
199
-
200
- &__toggle {
201
- padding: 0 0.5rem;
202
- align-self: stretch;
203
- border: 0;
204
- outline: none;
205
- color: #fff;
206
- background-color: $primary-color;
207
- cursor: pointer;
208
- }
209
-
210
- .visible-links {
211
- display: -webkit-box;
212
- display: flex;
213
- -webkit-box-pack: end;
214
- justify-content: flex-end;
215
- -webkit-box-flex: 1;
216
- flex: 1;
217
- overflow: hidden;
218
-
219
- li {
220
- -webkit-box-flex: 0;
221
- flex: none;
222
- }
223
-
224
- a {
225
- position: relative;
226
-
227
- &:before {
228
- content: "";
229
- position: absolute;
230
- left: 0;
231
- bottom: 0;
232
- height: 4px;
233
- background: $primary-color;
234
- width: 100%;
235
- -webkit-transition: $global-transition;
236
- transition: $global-transition;
237
- -webkit-transform: scaleX(0) translate3d(0, 0, 0);
238
- transform: scaleX(0) translate3d(0, 0, 0); /* hide*/
239
- }
240
-
241
- &:hover:before {
242
- -webkit-transform: scaleX(1);
243
- -ms-transform: scaleX(1);
244
- transform: scaleX(1); /* reveal*/
245
- }
246
- }
247
- }
248
-
249
- .hidden-links {
250
- position: absolute;
251
- top: 100%;
252
- right: 0;
253
- margin-top: 15px;
254
- padding: 5px;
255
- border: 1px solid $border-color;
256
- border-radius: $border-radius;
257
- background: $background-color;
258
- box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
259
-
260
- &.hidden {
261
- display: none;
262
- }
263
-
264
- a {
265
- margin: 0;
266
- padding: 10px 20px;
267
- font-size: $type-size-5;
268
-
269
- &:hover {
270
- color: $masthead-link-color-hover;
271
- background: $navicon-link-color-hover;
272
- }
273
- }
274
-
275
- &:before {
276
- content: "";
277
- position: absolute;
278
- top: -11px;
279
- right: 10px;
280
- width: 0;
281
- border-style: solid;
282
- border-width: 0 10px 10px;
283
- border-color: $border-color transparent;
284
- display: block;
285
- z-index: 0;
286
- }
287
-
288
- &:after {
289
- content: "";
290
- position: absolute;
291
- top: -10px;
292
- right: 10px;
293
- width: 0;
294
- border-style: solid;
295
- border-width: 0 10px 10px;
296
- border-color: $background-color transparent;
297
- display: block;
298
- z-index: 1;
299
- }
300
-
301
- li {
302
- display: block;
303
- border-bottom: 1px solid $border-color;
304
-
305
- &:last-child {
306
- border-bottom: none;
307
- }
308
- }
309
- }
310
- }
311
-
312
- /*
313
- Navigation list
314
- ========================================================================== */
315
-
316
- .nav__list {
317
- margin-bottom: 1.5em;
318
-
319
- input[type="checkbox"],
320
- label {
321
- display: none;
322
- }
323
-
324
- @include breakpoint(max-width ($large - 1px)) {
325
- label {
326
- position: relative;
327
- display: inline-block;
328
- padding: 0.5em 2.5em 0.5em 1em;
329
- color: $gray;
330
- font-size: $type-size-6;
331
- font-weight: bold;
332
- border: 1px solid $light-gray;
333
- border-radius: $border-radius;
334
- z-index: 20;
335
- -webkit-transition: 0.2s ease-out;
336
- transition: 0.2s ease-out;
337
- cursor: pointer;
338
-
339
- &:before,
340
- &:after {
341
- content: "";
342
- position: absolute;
343
- right: 1em;
344
- top: 1.25em;
345
- width: 0.75em;
346
- height: 0.125em;
347
- line-height: 1;
348
- background-color: $gray;
349
- -webkit-transition: 0.2s ease-out;
350
- transition: 0.2s ease-out;
351
- }
352
-
353
- &:after {
354
- -webkit-transform: rotate(90deg);
355
- -ms-transform: rotate(90deg);
356
- transform: rotate(90deg);
357
- }
358
-
359
- &:hover {
360
- color: #fff;
361
- border-color: $gray;
362
- background-color: mix(white, #000, 20%);
363
-
364
- &:before,
365
- &:after {
366
- background-color: #fff;
367
- }
368
- }
369
- }
370
-
371
- /* selected*/
372
- input:checked + label {
373
- color: white;
374
- background-color: mix(white, #000, 20%);
375
-
376
- &:before,
377
- &:after {
378
- background-color: #fff;
379
- }
380
- }
381
-
382
- /* on hover show expand*/
383
- label:hover:after {
384
- -webkit-transform: rotate(90deg);
385
- -ms-transform: rotate(90deg);
386
- transform: rotate(90deg);
387
- }
388
-
389
- input:checked + label:hover:after {
390
- -webkit-transform: rotate(0);
391
- -ms-transform: rotate(0);
392
- transform: rotate(0);
393
- }
394
-
395
- ul {
396
- margin-bottom: 1em;
397
- }
398
-
399
- a {
400
- display: block;
401
- padding: 0.25em 0;
402
-
403
- @include breakpoint($large) {
404
- padding-top: 0.125em;
405
- padding-bottom: 0.125em;
406
- }
407
-
408
- &:hover {
409
- text-decoration: underline;
410
- }
411
- }
412
- }
413
- }
414
-
415
- .nav__list .nav__items {
416
- margin: 0;
417
- font-size: 1.25rem;
418
-
419
- a {
420
- color: inherit;
421
- }
422
-
423
- .active {
424
- margin-left: -0.5em;
425
- padding-left: 0.5em;
426
- padding-right: 0.5em;
427
- font-weight: bold;
428
- }
429
-
430
- @include breakpoint(max-width ($large - 1px)) {
431
- position: relative;
432
- max-height: 0;
433
- opacity: 0%;
434
- overflow: hidden;
435
- z-index: 10;
436
- -webkit-transition: 0.3s ease-in-out;
437
- transition: 0.3s ease-in-out;
438
- -webkit-transform: translate(0, 10%);
439
- -ms-transform: translate(0, 10%);
440
- transform: translate(0, 10%);
441
- }
442
- }
443
-
444
- @include breakpoint(max-width ($large - 1px)) {
445
- .nav__list input:checked ~ .nav__items {
446
- -webkit-transition: 0.5s ease-in-out;
447
- transition: 0.5s ease-in-out;
448
- max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
449
- overflow: visible;
450
- opacity: 1;
451
- margin-top: 1em;
452
- -webkit-transform: translate(0, 0);
453
- -ms-transform: translate(0, 0);
454
- transform: translate(0, 0);
455
- }
456
- }
457
-
458
- .nav__title {
459
- margin: 0;
460
- padding: 0.5rem 1rem;
461
- font-family: $sans-serif-narrow;
462
- font-size: $type-size-5;
463
- font-weight: bold;
464
- }
465
-
466
- .nav__sub-title {
467
- display: block;
468
- margin: 0.5rem 0;
469
- padding: 0.5rem 0;
470
- font-family: $sans-serif-narrow;
471
- font-size: $type-size-6;
472
- font-weight: bold;
473
- text-transform: uppercase;
474
- border-bottom: 1px solid $border-color;
475
- }
476
-
477
- /*
478
- Table of contents navigation
479
- ========================================================================== */
480
-
481
- .toc {
482
- font-family: $sans-serif-narrow;
483
- color: $gray;
484
- text-transform: uppercase;
485
- letter-spacing: 1px;
486
- background-color: $background-color;
487
- border: 1px solid $border-color;
488
- border-radius: $border-radius;
489
- box-shadow: $box-shadow;
490
-
491
- .nav__title {
492
- color: #fff;
493
- font-size: $type-size-6;
494
- background: $primary-color;
495
- border-top-left-radius: $border-radius;
496
- border-top-right-radius: $border-radius;
497
- }
498
- }
499
-
500
- .toc__menu {
501
- margin: 0;
502
- padding: 0;
503
- width: 100%;
504
- list-style: none;
505
- font-size: 0.8rem;
506
-
507
- a {
508
- display: block;
509
- padding: 0.5rem 1rem;
510
- color: $muted-text-color;
511
- font-size: $type-size-7;
512
- font-weight: bold;
513
- line-height: 1.5;
514
- border-bottom: 1px solid $border-color;
515
-
516
- &:hover {
517
- color: $text-color;
518
- }
519
- }
520
-
521
- > li:last-child {
522
- a {
523
- border-bottom: none;
524
- }
525
- }
526
-
527
- li ul > li a {
528
- padding-left: 1.75rem;
529
- font-weight: normal;
530
- }
531
-
532
- /* hide sub sub links on small screens*/
533
- li > ul li {
534
- display: none;
535
-
536
- @include breakpoint($medium) {
537
- display: block;
538
- }
539
- }
540
- }
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: 2em;
14
+ padding-right: 2em;
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($large) {
22
+ padding-left: 1em;
23
+ padding-right: 1em;
24
+ }
25
+
26
+ @include breakpoint($x-large) {
27
+ max-width: $x-large;
28
+ }
29
+
30
+ ol {
31
+ padding: 0;
32
+ list-style: none;
33
+ font-size: $type-size-6;
34
+
35
+ @include breakpoint($large) {
36
+ float: right;
37
+ width: span(10 of 12);
38
+ }
39
+
40
+ @include breakpoint($x-large) {
41
+ padding-left: gutter(0.5 of 12);
42
+ }
43
+ }
44
+
45
+ li {
46
+ display: inline;
47
+ }
48
+
49
+ .current {
50
+ font-weight: bold;
51
+ }
52
+ }
53
+
54
+ /*
55
+ Post pagination navigation links
56
+ ========================================================================== */
57
+
58
+ .pagination {
59
+ @include clearfix();
60
+ float: left;
61
+ margin-top: 1em;
62
+ padding-top: 1em;
63
+ width: 100%;
64
+
65
+ ul {
66
+ margin: 0;
67
+ padding: 0;
68
+ list-style-type: none;
69
+ font-family: $sans-serif;
70
+ }
71
+
72
+ li {
73
+ display: block;
74
+ float: left;
75
+ margin-left: -1px;
76
+
77
+ a {
78
+ display: block;
79
+ margin-bottom: 0.25em;
80
+ padding: 0.5em 1em;
81
+ font-family: $sans-serif;
82
+ font-size: 14px;
83
+ font-weight: bold;
84
+ line-height: 1.5;
85
+ text-align: center;
86
+ text-decoration: none;
87
+ color: $muted-text-color;
88
+ border: 1px solid mix(#000, $border-color, 25%);
89
+ border-radius: 0;
90
+
91
+ &:hover {
92
+ color: $link-color-hover;
93
+ }
94
+
95
+ &.current,
96
+ &.current.disabled {
97
+ color: #fff;
98
+ background: $primary-color;
99
+ }
100
+
101
+ &.disabled {
102
+ color: rgba($muted-text-color, 0.5);
103
+ pointer-events: none;
104
+ cursor: not-allowed;
105
+ }
106
+ }
107
+
108
+ &:first-child {
109
+ margin-left: 0;
110
+
111
+ a {
112
+ border-top-left-radius: $border-radius;
113
+ border-bottom-left-radius: $border-radius;
114
+ }
115
+ }
116
+
117
+ &:last-child {
118
+ a {
119
+ border-top-right-radius: $border-radius;
120
+ border-bottom-right-radius: $border-radius;
121
+ }
122
+ }
123
+ }
124
+
125
+ /* next/previous buttons */
126
+ &--pager {
127
+ display: block;
128
+ padding: 1em 2em;
129
+ float: left;
130
+ width: 50%;
131
+ font-family: $sans-serif;
132
+ font-size: $type-size-5;
133
+ font-weight: bold;
134
+ text-align: center;
135
+ text-decoration: none;
136
+ color: $muted-text-color;
137
+ border: 1px solid mix(#000, $border-color, 25%);
138
+ border-radius: $border-radius;
139
+
140
+ &:hover {
141
+ @include yiq-contrasted($muted-text-color);
142
+ }
143
+
144
+ &:first-child {
145
+ border-top-right-radius: 0;
146
+ border-bottom-right-radius: 0;
147
+ }
148
+
149
+ &:last-child {
150
+ margin-left: -1px;
151
+ border-top-left-radius: 0;
152
+ border-bottom-left-radius: 0;
153
+ }
154
+
155
+ &.disabled {
156
+ color: rgba($muted-text-color, 0.5);
157
+ pointer-events: none;
158
+ cursor: not-allowed;
159
+ }
160
+ }
161
+ }
162
+
163
+ .page__content + .pagination,
164
+ .page__meta + .pagination,
165
+ .page__share + .pagination,
166
+ .page__comments + .pagination {
167
+ margin-top: 2em;
168
+ padding-top: 2em;
169
+ border-top: 1px solid $border-color;
170
+ }
171
+
172
+ /*
173
+ Priority plus navigation
174
+ ========================================================================== */
175
+
176
+ .greedy-nav {
177
+ position: relative;
178
+ display: -webkit-box;
179
+ display: flex;
180
+ -webkit-box-align: center;
181
+ align-items: center;
182
+ background: $background-color;
183
+
184
+ a {
185
+ display: block;
186
+ margin: 0 1rem;
187
+ padding: 0.5rem 0;
188
+ color: $masthead-link-color;
189
+ text-decoration: none;
190
+
191
+ &:hover {
192
+ color: $masthead-link-color-hover;
193
+ }
194
+
195
+ &.site-title {
196
+ margin-left: 0;
197
+ }
198
+ }
199
+
200
+ &__toggle {
201
+ padding: 0 0.5rem;
202
+ align-self: stretch;
203
+ border: 0;
204
+ outline: none;
205
+ color: #fff;
206
+ background-color: $primary-color;
207
+ cursor: pointer;
208
+ }
209
+
210
+ .visible-links {
211
+ display: -webkit-box;
212
+ display: flex;
213
+ -webkit-box-pack: end;
214
+ justify-content: flex-end;
215
+ -webkit-box-flex: 1;
216
+ flex: 1;
217
+ overflow: hidden;
218
+
219
+ li {
220
+ -webkit-box-flex: 0;
221
+ flex: none;
222
+ }
223
+
224
+ a {
225
+ position: relative;
226
+
227
+ &:before {
228
+ content: "";
229
+ position: absolute;
230
+ left: 0;
231
+ bottom: 0;
232
+ height: 4px;
233
+ background: $primary-color;
234
+ width: 100%;
235
+ -webkit-transition: $global-transition;
236
+ transition: $global-transition;
237
+ -webkit-transform: scaleX(0) translate3d(0, 0, 0);
238
+ transform: scaleX(0) translate3d(0, 0, 0); /* hide*/
239
+ }
240
+
241
+ &:hover:before {
242
+ -webkit-transform: scaleX(1);
243
+ -ms-transform: scaleX(1);
244
+ transform: scaleX(1); /* reveal*/
245
+ }
246
+ }
247
+ }
248
+
249
+ .hidden-links {
250
+ position: absolute;
251
+ top: 100%;
252
+ right: 0;
253
+ margin-top: 15px;
254
+ padding: 5px;
255
+ border: 1px solid $border-color;
256
+ border-radius: $border-radius;
257
+ background: $background-color;
258
+ box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
259
+
260
+ &.hidden {
261
+ display: none;
262
+ }
263
+
264
+ a {
265
+ margin: 0;
266
+ padding: 10px 20px;
267
+ font-size: $type-size-5;
268
+
269
+ &:hover {
270
+ color: $masthead-link-color-hover;
271
+ background: $navicon-link-color-hover;
272
+ }
273
+ }
274
+
275
+ &:before {
276
+ content: "";
277
+ position: absolute;
278
+ top: -11px;
279
+ right: 10px;
280
+ width: 0;
281
+ border-style: solid;
282
+ border-width: 0 10px 10px;
283
+ border-color: $border-color transparent;
284
+ display: block;
285
+ z-index: 0;
286
+ }
287
+
288
+ &:after {
289
+ content: "";
290
+ position: absolute;
291
+ top: -10px;
292
+ right: 10px;
293
+ width: 0;
294
+ border-style: solid;
295
+ border-width: 0 10px 10px;
296
+ border-color: $background-color transparent;
297
+ display: block;
298
+ z-index: 1;
299
+ }
300
+
301
+ li {
302
+ display: block;
303
+ border-bottom: 1px solid $border-color;
304
+
305
+ &:last-child {
306
+ border-bottom: none;
307
+ }
308
+ }
309
+ }
310
+ }
311
+
312
+ /*
313
+ Navigation list
314
+ ========================================================================== */
315
+
316
+ .nav__list {
317
+ margin-bottom: 1.5em;
318
+
319
+ input[type="checkbox"],
320
+ label {
321
+ display: none;
322
+ }
323
+
324
+ @include breakpoint(max-width ($large - 1px)) {
325
+ label {
326
+ position: relative;
327
+ display: inline-block;
328
+ padding: 0.5em 2.5em 0.5em 1em;
329
+ color: $gray;
330
+ font-size: $type-size-6;
331
+ font-weight: bold;
332
+ border: 1px solid $light-gray;
333
+ border-radius: $border-radius;
334
+ z-index: 20;
335
+ -webkit-transition: 0.2s ease-out;
336
+ transition: 0.2s ease-out;
337
+ cursor: pointer;
338
+
339
+ &:before,
340
+ &:after {
341
+ content: "";
342
+ position: absolute;
343
+ right: 1em;
344
+ top: 1.25em;
345
+ width: 0.75em;
346
+ height: 0.125em;
347
+ line-height: 1;
348
+ background-color: $gray;
349
+ -webkit-transition: 0.2s ease-out;
350
+ transition: 0.2s ease-out;
351
+ }
352
+
353
+ &:after {
354
+ -webkit-transform: rotate(90deg);
355
+ -ms-transform: rotate(90deg);
356
+ transform: rotate(90deg);
357
+ }
358
+
359
+ &:hover {
360
+ color: #fff;
361
+ border-color: $gray;
362
+ background-color: mix(white, #000, 20%);
363
+
364
+ &:before,
365
+ &:after {
366
+ background-color: #fff;
367
+ }
368
+ }
369
+ }
370
+
371
+ /* selected*/
372
+ input:checked + label {
373
+ color: white;
374
+ background-color: mix(white, #000, 20%);
375
+
376
+ &:before,
377
+ &:after {
378
+ background-color: #fff;
379
+ }
380
+ }
381
+
382
+ /* on hover show expand*/
383
+ label:hover:after {
384
+ -webkit-transform: rotate(90deg);
385
+ -ms-transform: rotate(90deg);
386
+ transform: rotate(90deg);
387
+ }
388
+
389
+ input:checked + label:hover:after {
390
+ -webkit-transform: rotate(0);
391
+ -ms-transform: rotate(0);
392
+ transform: rotate(0);
393
+ }
394
+
395
+ ul {
396
+ margin-bottom: 1em;
397
+ }
398
+
399
+ a {
400
+ display: block;
401
+ padding: 0.25em 0;
402
+
403
+ @include breakpoint($large) {
404
+ padding-top: 0.125em;
405
+ padding-bottom: 0.125em;
406
+ }
407
+
408
+ &:hover {
409
+ text-decoration: underline;
410
+ }
411
+ }
412
+ }
413
+ }
414
+
415
+ .nav__list .nav__items {
416
+ margin: 0;
417
+ font-size: 1.25rem;
418
+
419
+ a {
420
+ color: inherit;
421
+ }
422
+
423
+ .active {
424
+ margin-left: -0.5em;
425
+ padding-left: 0.5em;
426
+ padding-right: 0.5em;
427
+ font-weight: bold;
428
+ }
429
+
430
+ @include breakpoint(max-width ($large - 1px)) {
431
+ position: relative;
432
+ max-height: 0;
433
+ opacity: 0%;
434
+ overflow: hidden;
435
+ z-index: 10;
436
+ -webkit-transition: 0.3s ease-in-out;
437
+ transition: 0.3s ease-in-out;
438
+ -webkit-transform: translate(0, 10%);
439
+ -ms-transform: translate(0, 10%);
440
+ transform: translate(0, 10%);
441
+ }
442
+ }
443
+
444
+ @include breakpoint(max-width ($large - 1px)) {
445
+ .nav__list input:checked ~ .nav__items {
446
+ -webkit-transition: 0.5s ease-in-out;
447
+ transition: 0.5s ease-in-out;
448
+ max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
449
+ overflow: visible;
450
+ opacity: 1;
451
+ margin-top: 1em;
452
+ -webkit-transform: translate(0, 0);
453
+ -ms-transform: translate(0, 0);
454
+ transform: translate(0, 0);
455
+ }
456
+ }
457
+
458
+ .nav__title {
459
+ margin: 0;
460
+ padding: 0.5rem 1rem;
461
+ font-family: $sans-serif-narrow;
462
+ font-size: $type-size-5;
463
+ font-weight: bold;
464
+ }
465
+
466
+ .nav__sub-title {
467
+ display: block;
468
+ margin: 0.5rem 0;
469
+ padding: 0.5rem 0;
470
+ font-family: $sans-serif-narrow;
471
+ font-size: $type-size-6;
472
+ font-weight: bold;
473
+ text-transform: uppercase;
474
+ border-bottom: 1px solid $border-color;
475
+ }
476
+
477
+ /*
478
+ Table of contents navigation
479
+ ========================================================================== */
480
+
481
+ .toc {
482
+ font-family: $sans-serif-narrow;
483
+ color: $gray;
484
+ text-transform: uppercase;
485
+ letter-spacing: 1px;
486
+ background-color: $background-color;
487
+ border: 1px solid $border-color;
488
+ border-radius: $border-radius;
489
+ box-shadow: $box-shadow;
490
+
491
+ .nav__title {
492
+ color: #fff;
493
+ font-size: $type-size-6;
494
+ background: $primary-color;
495
+ border-top-left-radius: $border-radius;
496
+ border-top-right-radius: $border-radius;
497
+ }
498
+ }
499
+
500
+ .toc__menu {
501
+ margin: 0;
502
+ padding: 0;
503
+ width: 100%;
504
+ list-style: none;
505
+ font-size: 0.8rem;
506
+
507
+ a {
508
+ display: block;
509
+ padding: 0.5rem 1rem;
510
+ color: $muted-text-color;
511
+ font-size: $type-size-7;
512
+ font-weight: bold;
513
+ line-height: 1.5;
514
+ border-bottom: 1px solid $border-color;
515
+
516
+ &:hover {
517
+ color: $text-color;
518
+ }
519
+ }
520
+
521
+ > li:last-child {
522
+ a {
523
+ border-bottom: none;
524
+ }
525
+ }
526
+
527
+ li ul > li a {
528
+ padding-left: 1.75rem;
529
+ font-weight: normal;
530
+ }
531
+
532
+ /* hide sub sub links on small screens*/
533
+ li > ul li {
534
+ display: none;
535
+
536
+ @include breakpoint($medium) {
537
+ display: block;
538
+ }
539
+ }
540
+ }