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,37 +1,37 @@
1
- /* ==========================================================================
2
- TABLES
3
- ========================================================================== */
4
-
5
- table {
6
- margin-bottom: 1em;
7
- width: 100%;
8
- font-family: $global-font-family;
9
- font-size: $type-size-6;
10
- border-collapse: collapse;
11
-
12
- & + table {
13
- margin-top: 1em;
14
- }
15
- }
16
-
17
- thead {
18
- background-color: $border-color;
19
- border-bottom: 2px solid mix(#000, $border-color, 25%);
20
- }
21
-
22
- th {
23
- padding: 0.5em;
24
- font-weight: bold;
25
- text-align: left;
26
- }
27
-
28
- td {
29
- padding: 0.5em;
30
- border-bottom: 1px solid mix(#000, $border-color, 25%);
31
- }
32
-
33
- tr,
34
- td,
35
- th {
36
- vertical-align: middle;
1
+ /* ==========================================================================
2
+ TABLES
3
+ ========================================================================== */
4
+
5
+ table {
6
+ margin-bottom: 1em;
7
+ width: 100%;
8
+ font-family: $global-font-family;
9
+ font-size: $type-size-6;
10
+ border-collapse: collapse;
11
+
12
+ & + table {
13
+ margin-top: 1em;
14
+ }
15
+ }
16
+
17
+ thead {
18
+ background-color: $border-color;
19
+ border-bottom: 2px solid mix(#000, $border-color, 25%);
20
+ }
21
+
22
+ th {
23
+ padding: 0.5em;
24
+ font-weight: bold;
25
+ text-align: left;
26
+ }
27
+
28
+ td {
29
+ padding: 0.5em;
30
+ border-bottom: 1px solid mix(#000, $border-color, 25%);
31
+ }
32
+
33
+ tr,
34
+ td,
35
+ th {
36
+ vertical-align: middle;
37
37
  }
@@ -1,516 +1,516 @@
1
- /* ==========================================================================
2
- UTILITY CLASSES
3
- ========================================================================== */
4
-
5
- /*
6
- Visibility
7
- ========================================================================== */
8
-
9
- /* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */
10
-
11
- .hidden,
12
- .is--hidden {
13
- display: none;
14
- visibility: hidden;
15
- }
16
-
17
- /* for preloading images */
18
-
19
- .load {
20
- display: none;
21
- }
22
-
23
- .transparent {
24
- opacity: 0;
25
- }
26
-
27
- /* https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html */
28
-
29
- .visually-hidden,
30
- .screen-reader-text,
31
- .screen-reader-text span,
32
- .screen-reader-shortcut {
33
- position: absolute !important;
34
- clip: rect(1px, 1px, 1px, 1px);
35
- height: 1px !important;
36
- width: 1px !important;
37
- border: 0 !important;
38
- overflow: hidden;
39
- }
40
-
41
- body:hover .visually-hidden a,
42
- body:hover .visually-hidden input,
43
- body:hover .visually-hidden button {
44
- display: none !important;
45
- }
46
-
47
- /* screen readers */
48
-
49
- .screen-reader-text:focus,
50
- .screen-reader-shortcut:focus {
51
- clip: auto !important;
52
- height: auto !important;
53
- width: auto !important;
54
- display: block;
55
- font-size: 1em;
56
- font-weight: bold;
57
- padding: 15px 23px 14px;
58
- background: #fff;
59
- z-index: 100000;
60
- text-decoration: none;
61
- box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
62
- }
63
-
64
- /*
65
- Skip links
66
- ========================================================================== */
67
-
68
- .skip-link {
69
- position: fixed;
70
- z-index: 20;
71
- margin: 0;
72
- font-family: $sans-serif;
73
- white-space: nowrap;
74
- }
75
-
76
- .skip-link li {
77
- height: 0;
78
- width: 0;
79
- list-style: none;
80
- }
81
-
82
- /*
83
- Type
84
- ========================================================================== */
85
-
86
- .text-left {
87
- text-align: left;
88
- }
89
-
90
- .text-center {
91
- text-align: center;
92
- }
93
-
94
- .text-right {
95
- text-align: right;
96
- }
97
-
98
- .text-justify {
99
- text-align: justify;
100
- }
101
-
102
- .text-nowrap {
103
- white-space: nowrap;
104
- }
105
-
106
- /*
107
- Alignment
108
- ========================================================================== */
109
-
110
- /* clearfix */
111
-
112
- .cf {
113
- clear: both;
114
- }
115
-
116
- .wrapper {
117
- margin-left: auto;
118
- margin-right: auto;
119
- width: 100%;
120
- }
121
-
122
- /*
123
- Images
124
- ========================================================================== */
125
-
126
- /* image align left */
127
-
128
- .align-left {
129
- display: block;
130
- margin-left: auto;
131
- margin-right: auto;
132
-
133
- @include breakpoint($small) {
134
- float: left;
135
- margin-right: 1em;
136
- }
137
- }
138
-
139
- /* image align right */
140
-
141
- .align-right {
142
- display: block;
143
- margin-left: auto;
144
- margin-right: auto;
145
-
146
- @include breakpoint($small) {
147
- float: right;
148
- margin-left: 1em;
149
- }
150
- }
151
-
152
- /* image align center */
153
-
154
- .align-center {
155
- display: block;
156
- margin-left: auto;
157
- margin-right: auto;
158
- }
159
-
160
- /* file page content container */
161
-
162
- .full {
163
- @include breakpoint($large) {
164
- margin-right: -1 * span(2.5 of 12) !important;
165
- }
166
- }
167
-
168
- /*
169
- Icons
170
- ========================================================================== */
171
-
172
- .icon {
173
- display: inline-block;
174
- fill: currentColor;
175
- width: 1em;
176
- height: 1.1em;
177
- line-height: 1;
178
- position: relative;
179
- top: -0.1em;
180
- vertical-align: middle;
181
- }
182
-
183
- /* social icons*/
184
-
185
- .social-icons {
186
- .fa {
187
- color: $text-color;
188
- }
189
-
190
- .fa-behance,
191
- .fa-behance-square {
192
- color: $behance-color;
193
- }
194
-
195
- .fa-bitbucket,
196
- .fa-bitbucket-square {
197
- color: $bitbucket-color;
198
- }
199
-
200
- .fa-dribbble {
201
- color: $dribbble-color;
202
- }
203
-
204
- .fa-facebook,
205
- .fa-facebook-square {
206
- color: $facebook-color;
207
- }
208
-
209
- .fa-flickr {
210
- color: $flickr-color;
211
- }
212
-
213
- .fa-foursquare {
214
- color: $foursquare-color;
215
- }
216
-
217
- .fa-github,
218
- .fa-github-alt,
219
- .fa-github-square {
220
- color: $github-color;
221
- }
222
-
223
- .fa-google-plus,
224
- .fa-google-plus-square {
225
- color: $google-plus-color;
226
- }
227
-
228
- .fa-instagram {
229
- color: $instagram-color;
230
- }
231
-
232
- .fa-lastfm,
233
- .fa-lastfm-square {
234
- color: $lastfm-color;
235
- }
236
-
237
- .fa-linkedin,
238
- .fa-linkedin-square {
239
- color: $linkedin-color;
240
- }
241
-
242
- .fa-pinterest,
243
- .fa-pinterest-p,
244
- .fa-pinterest-square {
245
- color: $pinterest-color;
246
- }
247
-
248
- .fa-rss,
249
- .fa-rss-square {
250
- color: $rss-color;
251
- }
252
-
253
- .fa-soundcloud {
254
- color: $soundcloud-color;
255
- }
256
-
257
- .fa-stack-exchange,
258
- .fa-stack-overflow {
259
- color: $stackoverflow-color;
260
- }
261
-
262
- .fa-tumblr,
263
- .fa-tumblr-square {
264
- color: $tumblr-color;
265
- }
266
-
267
- .fa-twitter,
268
- .fa-twitter-square {
269
- color: $twitter-color;
270
- }
271
-
272
- .fa-vimeo,
273
- .fa-vimeo-square {
274
- color: $vimeo-color;
275
- }
276
-
277
- .fa-vine {
278
- color: $vine-color;
279
- }
280
-
281
- .fa-youtube,
282
- .fa-youtube-square,
283
- .fa-youtube-play {
284
- color: $youtube-color;
285
- }
286
-
287
- .fa-xing,
288
- .fa-xing-square {
289
- color: $xing-color;
290
- }
291
- }
292
-
293
- /*
294
- Navicons
295
- ========================================================================== */
296
-
297
- .navicon {
298
- position: relative;
299
- width: $navicon-width;
300
- height: $navicon-height;
301
- background: #fff;
302
- margin: auto;
303
- -webkit-transition: 0.3s;
304
- transition: 0.3s;
305
-
306
- &:before,
307
- &:after {
308
- content: "";
309
- position: absolute;
310
- left: 0;
311
- width: $navicon-width;
312
- height: $navicon-height;
313
- background: #fff;
314
- -webkit-transition: 0.3s;
315
- transition: 0.3s;
316
- }
317
-
318
- &:before {
319
- top: (-2 * $navicon-height);
320
- }
321
-
322
- &:after {
323
- bottom: (-2 * $navicon-height);
324
- }
325
- }
326
-
327
- .close .navicon {
328
- /* hide the middle line*/
329
- background: transparent;
330
-
331
- /* overlay the lines by setting both their top values to 0*/
332
- &:before,
333
- &:after {
334
- -webkit-transform-origin: 50% 50%;
335
- -ms-transform-origin: 50% 50%;
336
- transform-origin: 50% 50%;
337
- top: 0;
338
- width: $navicon-width;
339
- }
340
-
341
- /* rotate the lines to form the x shape*/
342
- &:before {
343
- -webkit-transform: rotate3d(0, 0, 1, 45deg);
344
- transform: rotate3d(0, 0, 1, 45deg);
345
- }
346
- &:after {
347
- -webkit-transform: rotate3d(0, 0, 1, -45deg);
348
- transform: rotate3d(0, 0, 1, -45deg);
349
- }
350
- }
351
-
352
- /*
353
- Sticky, fixed to top content
354
- ========================================================================== */
355
-
356
- .sticky {
357
- @include breakpoint($large) {
358
- @include clearfix();
359
- position: -webkit-sticky;
360
- position: sticky;
361
- top: 2em;
362
-
363
- > * {
364
- display: block;
365
- }
366
- }
367
- }
368
-
369
- /*
370
- Wells
371
- ========================================================================== */
372
-
373
- .well {
374
- min-height: 20px;
375
- padding: 19px;
376
- margin-bottom: 20px;
377
- background-color: #f5f5f5;
378
- border: 1px solid #e3e3e3;
379
- border-radius: $border-radius;
380
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
381
- }
382
-
383
- /*
384
- Modals
385
- ========================================================================== */
386
-
387
- .show-modal {
388
- overflow: hidden;
389
- position: relative;
390
-
391
- &:before {
392
- position: absolute;
393
- content: "";
394
- top: 0;
395
- left: 0;
396
- width: 100%;
397
- height: 100%;
398
- z-index: 999;
399
- background-color: rgba(255, 255, 255, 0.85);
400
- }
401
-
402
- .modal {
403
- display: block;
404
- }
405
- }
406
-
407
- .modal {
408
- display: none;
409
- position: fixed;
410
- width: 300px;
411
- top: 50%;
412
- left: 50%;
413
- margin-left: -150px;
414
- margin-top: -150px;
415
- min-height: 0;
416
- z-index: 9999;
417
- background: #fff;
418
- border: 1px solid $border-color;
419
- border-radius: $border-radius;
420
- box-shadow: $box-shadow;
421
-
422
- &__title {
423
- margin: 0;
424
- padding: 0.5em 1em;
425
- }
426
-
427
- &__supporting-text {
428
- padding: 0 1em 0.5em 1em;
429
- }
430
-
431
- &__actions {
432
- padding: 0.5em 1em;
433
- border-top: 1px solid $border-color;
434
- }
435
- }
436
-
437
- /*
438
- Footnotes
439
- ========================================================================== */
440
-
441
- .footnote {
442
- color: mix(#fff, $gray, 25%);
443
- text-decoration: none;
444
- }
445
-
446
- .footnotes {
447
- color: mix(#fff, $gray, 25%);
448
-
449
- ol,
450
- li,
451
- p {
452
- margin-bottom: 0;
453
- font-size: $type-size-6;
454
- }
455
- }
456
-
457
- a.reversefootnote {
458
- color: $gray;
459
- text-decoration: none;
460
-
461
- &:hover {
462
- text-decoration: underline;
463
- }
464
- }
465
-
466
- /*
467
- Required
468
- ========================================================================== */
469
-
470
- .required {
471
- color: $danger-color;
472
- font-weight: bold;
473
- }
474
-
475
- /*
476
- Google Custom Search Engine
477
- ========================================================================== */
478
-
479
- .gsc-control-cse {
480
- table,
481
- tr,
482
- td {
483
- border: 0; /* remove table borders widget */
484
- }
485
- }
486
-
487
- /*
488
- Responsive Video Embed
489
- ========================================================================== */
490
-
491
- .responsive-video-container {
492
- position: relative;
493
- margin-bottom: 1em;
494
- padding-bottom: 56.25%;
495
- height: 0;
496
- overflow: hidden;
497
- max-width: 100%;
498
-
499
- iframe,
500
- object,
501
- embed {
502
- position: absolute;
503
- top: 0;
504
- left: 0;
505
- width: 100%;
506
- height: 100%;
507
- }
508
- }
509
-
510
- // full screen video fixes
511
- :-webkit-full-screen-ancestor {
512
- .masthead,
513
- .page__footer {
514
- position: static;
515
- }
516
- }
1
+ /* ==========================================================================
2
+ UTILITY CLASSES
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Visibility
7
+ ========================================================================== */
8
+
9
+ /* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */
10
+
11
+ .hidden,
12
+ .is--hidden {
13
+ display: none;
14
+ visibility: hidden;
15
+ }
16
+
17
+ /* for preloading images */
18
+
19
+ .load {
20
+ display: none;
21
+ }
22
+
23
+ .transparent {
24
+ opacity: 0;
25
+ }
26
+
27
+ /* https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html */
28
+
29
+ .visually-hidden,
30
+ .screen-reader-text,
31
+ .screen-reader-text span,
32
+ .screen-reader-shortcut {
33
+ position: absolute !important;
34
+ clip: rect(1px, 1px, 1px, 1px);
35
+ height: 1px !important;
36
+ width: 1px !important;
37
+ border: 0 !important;
38
+ overflow: hidden;
39
+ }
40
+
41
+ body:hover .visually-hidden a,
42
+ body:hover .visually-hidden input,
43
+ body:hover .visually-hidden button {
44
+ display: none !important;
45
+ }
46
+
47
+ /* screen readers */
48
+
49
+ .screen-reader-text:focus,
50
+ .screen-reader-shortcut:focus {
51
+ clip: auto !important;
52
+ height: auto !important;
53
+ width: auto !important;
54
+ display: block;
55
+ font-size: 1em;
56
+ font-weight: bold;
57
+ padding: 15px 23px 14px;
58
+ background: #fff;
59
+ z-index: 100000;
60
+ text-decoration: none;
61
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
62
+ }
63
+
64
+ /*
65
+ Skip links
66
+ ========================================================================== */
67
+
68
+ .skip-link {
69
+ position: fixed;
70
+ z-index: 20;
71
+ margin: 0;
72
+ font-family: $sans-serif;
73
+ white-space: nowrap;
74
+ }
75
+
76
+ .skip-link li {
77
+ height: 0;
78
+ width: 0;
79
+ list-style: none;
80
+ }
81
+
82
+ /*
83
+ Type
84
+ ========================================================================== */
85
+
86
+ .text-left {
87
+ text-align: left;
88
+ }
89
+
90
+ .text-center {
91
+ text-align: center;
92
+ }
93
+
94
+ .text-right {
95
+ text-align: right;
96
+ }
97
+
98
+ .text-justify {
99
+ text-align: justify;
100
+ }
101
+
102
+ .text-nowrap {
103
+ white-space: nowrap;
104
+ }
105
+
106
+ /*
107
+ Alignment
108
+ ========================================================================== */
109
+
110
+ /* clearfix */
111
+
112
+ .cf {
113
+ clear: both;
114
+ }
115
+
116
+ .wrapper {
117
+ margin-left: auto;
118
+ margin-right: auto;
119
+ width: 100%;
120
+ }
121
+
122
+ /*
123
+ Images
124
+ ========================================================================== */
125
+
126
+ /* image align left */
127
+
128
+ .align-left {
129
+ display: block;
130
+ margin-left: auto;
131
+ margin-right: auto;
132
+
133
+ @include breakpoint($small) {
134
+ float: left;
135
+ margin-right: 1em;
136
+ }
137
+ }
138
+
139
+ /* image align right */
140
+
141
+ .align-right {
142
+ display: block;
143
+ margin-left: auto;
144
+ margin-right: auto;
145
+
146
+ @include breakpoint($small) {
147
+ float: right;
148
+ margin-left: 1em;
149
+ }
150
+ }
151
+
152
+ /* image align center */
153
+
154
+ .align-center {
155
+ display: block;
156
+ margin-left: auto;
157
+ margin-right: auto;
158
+ }
159
+
160
+ /* file page content container */
161
+
162
+ .full {
163
+ @include breakpoint($large) {
164
+ margin-right: -1 * span(2.5 of 12) !important;
165
+ }
166
+ }
167
+
168
+ /*
169
+ Icons
170
+ ========================================================================== */
171
+
172
+ .icon {
173
+ display: inline-block;
174
+ fill: currentColor;
175
+ width: 1em;
176
+ height: 1.1em;
177
+ line-height: 1;
178
+ position: relative;
179
+ top: -0.1em;
180
+ vertical-align: middle;
181
+ }
182
+
183
+ /* social icons*/
184
+
185
+ .social-icons {
186
+ .fa {
187
+ color: $text-color;
188
+ }
189
+
190
+ .fa-behance,
191
+ .fa-behance-square {
192
+ color: $behance-color;
193
+ }
194
+
195
+ .fa-bitbucket,
196
+ .fa-bitbucket-square {
197
+ color: $bitbucket-color;
198
+ }
199
+
200
+ .fa-dribbble {
201
+ color: $dribbble-color;
202
+ }
203
+
204
+ .fa-facebook,
205
+ .fa-facebook-square {
206
+ color: $facebook-color;
207
+ }
208
+
209
+ .fa-flickr {
210
+ color: $flickr-color;
211
+ }
212
+
213
+ .fa-foursquare {
214
+ color: $foursquare-color;
215
+ }
216
+
217
+ .fa-github,
218
+ .fa-github-alt,
219
+ .fa-github-square {
220
+ color: $github-color;
221
+ }
222
+
223
+ .fa-google-plus,
224
+ .fa-google-plus-square {
225
+ color: $google-plus-color;
226
+ }
227
+
228
+ .fa-instagram {
229
+ color: $instagram-color;
230
+ }
231
+
232
+ .fa-lastfm,
233
+ .fa-lastfm-square {
234
+ color: $lastfm-color;
235
+ }
236
+
237
+ .fa-linkedin,
238
+ .fa-linkedin-square {
239
+ color: $linkedin-color;
240
+ }
241
+
242
+ .fa-pinterest,
243
+ .fa-pinterest-p,
244
+ .fa-pinterest-square {
245
+ color: $pinterest-color;
246
+ }
247
+
248
+ .fa-rss,
249
+ .fa-rss-square {
250
+ color: $rss-color;
251
+ }
252
+
253
+ .fa-soundcloud {
254
+ color: $soundcloud-color;
255
+ }
256
+
257
+ .fa-stack-exchange,
258
+ .fa-stack-overflow {
259
+ color: $stackoverflow-color;
260
+ }
261
+
262
+ .fa-tumblr,
263
+ .fa-tumblr-square {
264
+ color: $tumblr-color;
265
+ }
266
+
267
+ .fa-twitter,
268
+ .fa-twitter-square {
269
+ color: $twitter-color;
270
+ }
271
+
272
+ .fa-vimeo,
273
+ .fa-vimeo-square {
274
+ color: $vimeo-color;
275
+ }
276
+
277
+ .fa-vine {
278
+ color: $vine-color;
279
+ }
280
+
281
+ .fa-youtube,
282
+ .fa-youtube-square,
283
+ .fa-youtube-play {
284
+ color: $youtube-color;
285
+ }
286
+
287
+ .fa-xing,
288
+ .fa-xing-square {
289
+ color: $xing-color;
290
+ }
291
+ }
292
+
293
+ /*
294
+ Navicons
295
+ ========================================================================== */
296
+
297
+ .navicon {
298
+ position: relative;
299
+ width: $navicon-width;
300
+ height: $navicon-height;
301
+ background: #fff;
302
+ margin: auto;
303
+ -webkit-transition: 0.3s;
304
+ transition: 0.3s;
305
+
306
+ &:before,
307
+ &:after {
308
+ content: "";
309
+ position: absolute;
310
+ left: 0;
311
+ width: $navicon-width;
312
+ height: $navicon-height;
313
+ background: #fff;
314
+ -webkit-transition: 0.3s;
315
+ transition: 0.3s;
316
+ }
317
+
318
+ &:before {
319
+ top: (-2 * $navicon-height);
320
+ }
321
+
322
+ &:after {
323
+ bottom: (-2 * $navicon-height);
324
+ }
325
+ }
326
+
327
+ .close .navicon {
328
+ /* hide the middle line*/
329
+ background: transparent;
330
+
331
+ /* overlay the lines by setting both their top values to 0*/
332
+ &:before,
333
+ &:after {
334
+ -webkit-transform-origin: 50% 50%;
335
+ -ms-transform-origin: 50% 50%;
336
+ transform-origin: 50% 50%;
337
+ top: 0;
338
+ width: $navicon-width;
339
+ }
340
+
341
+ /* rotate the lines to form the x shape*/
342
+ &:before {
343
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
344
+ transform: rotate3d(0, 0, 1, 45deg);
345
+ }
346
+ &:after {
347
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
348
+ transform: rotate3d(0, 0, 1, -45deg);
349
+ }
350
+ }
351
+
352
+ /*
353
+ Sticky, fixed to top content
354
+ ========================================================================== */
355
+
356
+ .sticky {
357
+ @include breakpoint($large) {
358
+ @include clearfix();
359
+ position: -webkit-sticky;
360
+ position: sticky;
361
+ top: 2em;
362
+
363
+ > * {
364
+ display: block;
365
+ }
366
+ }
367
+ }
368
+
369
+ /*
370
+ Wells
371
+ ========================================================================== */
372
+
373
+ .well {
374
+ min-height: 20px;
375
+ padding: 19px;
376
+ margin-bottom: 20px;
377
+ background-color: #f5f5f5;
378
+ border: 1px solid #e3e3e3;
379
+ border-radius: $border-radius;
380
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
381
+ }
382
+
383
+ /*
384
+ Modals
385
+ ========================================================================== */
386
+
387
+ .show-modal {
388
+ overflow: hidden;
389
+ position: relative;
390
+
391
+ &:before {
392
+ position: absolute;
393
+ content: "";
394
+ top: 0;
395
+ left: 0;
396
+ width: 100%;
397
+ height: 100%;
398
+ z-index: 999;
399
+ background-color: rgba(255, 255, 255, 0.85);
400
+ }
401
+
402
+ .modal {
403
+ display: block;
404
+ }
405
+ }
406
+
407
+ .modal {
408
+ display: none;
409
+ position: fixed;
410
+ width: 300px;
411
+ top: 50%;
412
+ left: 50%;
413
+ margin-left: -150px;
414
+ margin-top: -150px;
415
+ min-height: 0;
416
+ z-index: 9999;
417
+ background: #fff;
418
+ border: 1px solid $border-color;
419
+ border-radius: $border-radius;
420
+ box-shadow: $box-shadow;
421
+
422
+ &__title {
423
+ margin: 0;
424
+ padding: 0.5em 1em;
425
+ }
426
+
427
+ &__supporting-text {
428
+ padding: 0 1em 0.5em 1em;
429
+ }
430
+
431
+ &__actions {
432
+ padding: 0.5em 1em;
433
+ border-top: 1px solid $border-color;
434
+ }
435
+ }
436
+
437
+ /*
438
+ Footnotes
439
+ ========================================================================== */
440
+
441
+ .footnote {
442
+ color: mix(#fff, $gray, 25%);
443
+ text-decoration: none;
444
+ }
445
+
446
+ .footnotes {
447
+ color: mix(#fff, $gray, 25%);
448
+
449
+ ol,
450
+ li,
451
+ p {
452
+ margin-bottom: 0;
453
+ font-size: $type-size-6;
454
+ }
455
+ }
456
+
457
+ a.reversefootnote {
458
+ color: $gray;
459
+ text-decoration: none;
460
+
461
+ &:hover {
462
+ text-decoration: underline;
463
+ }
464
+ }
465
+
466
+ /*
467
+ Required
468
+ ========================================================================== */
469
+
470
+ .required {
471
+ color: $danger-color;
472
+ font-weight: bold;
473
+ }
474
+
475
+ /*
476
+ Google Custom Search Engine
477
+ ========================================================================== */
478
+
479
+ .gsc-control-cse {
480
+ table,
481
+ tr,
482
+ td {
483
+ border: 0; /* remove table borders widget */
484
+ }
485
+ }
486
+
487
+ /*
488
+ Responsive Video Embed
489
+ ========================================================================== */
490
+
491
+ .responsive-video-container {
492
+ position: relative;
493
+ margin-bottom: 1em;
494
+ padding-bottom: 56.25%;
495
+ height: 0;
496
+ overflow: hidden;
497
+ max-width: 100%;
498
+
499
+ iframe,
500
+ object,
501
+ embed {
502
+ position: absolute;
503
+ top: 0;
504
+ left: 0;
505
+ width: 100%;
506
+ height: 100%;
507
+ }
508
+ }
509
+
510
+ // full screen video fixes
511
+ :-webkit-full-screen-ancestor {
512
+ .masthead,
513
+ .page__footer {
514
+ position: static;
515
+ }
516
+ }