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,100 +1,100 @@
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: $dark-gray;
17
- font-family: $global-font-family;
18
- font-size: $type-size-6 !important;
19
- text-indent: initial; /* override*/
20
- background-color: mix(#fff, $notice-color, 90%);
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
- }
28
-
29
- @at-root .page__content #{&} h4 {
30
- /* using at-root to override .page-content h4 font size*/
31
- margin-bottom: 0;
32
- font-size: 1em;
33
- }
34
-
35
- p {
36
- &:last-child {
37
- margin-bottom: 0 !important; /* override*/
38
- }
39
- }
40
-
41
- h4 + p {
42
- /* remove space above paragraphs that appear directly after notice headline*/
43
- margin-top: 0;
44
- padding-top: 0;
45
- }
46
-
47
- a {
48
- color: $notice-color;
49
-
50
- &:hover {
51
- color: mix(#000, $notice-color, 40%);
52
- }
53
- }
54
-
55
- code {
56
- background-color: mix(#fff, $notice-color, 95%)
57
- }
58
-
59
- ul {
60
- &:last-child {
61
- margin-bottom: 0; /* override*/
62
- }
63
- }
64
- }
65
-
66
- /* Default notice */
67
-
68
- .notice {
69
- @include notice($light-gray);
70
- }
71
-
72
- /* Primary notice */
73
-
74
- .notice--primary {
75
- @include notice($primary-color);
76
- }
77
-
78
- /* Info notice */
79
-
80
- .notice--info {
81
- @include notice($info-color);
82
- }
83
-
84
- /* Warning notice */
85
-
86
- .notice--warning {
87
- @include notice($warning-color);
88
- }
89
-
90
- /* Success notice */
91
-
92
- .notice--success {
93
- @include notice($success-color);
94
- }
95
-
96
- /* Danger notice */
97
-
98
- .notice--danger {
99
- @include notice($danger-color);
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: $dark-gray;
17
+ font-family: $global-font-family;
18
+ font-size: $type-size-6 !important;
19
+ text-indent: initial; /* override*/
20
+ background-color: mix(#fff, $notice-color, 90%);
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
+ }
28
+
29
+ @at-root .page__content #{&} h4 {
30
+ /* using at-root to override .page-content h4 font size*/
31
+ margin-bottom: 0;
32
+ font-size: 1em;
33
+ }
34
+
35
+ p {
36
+ &:last-child {
37
+ margin-bottom: 0 !important; /* override*/
38
+ }
39
+ }
40
+
41
+ h4 + p {
42
+ /* remove space above paragraphs that appear directly after notice headline*/
43
+ margin-top: 0;
44
+ padding-top: 0;
45
+ }
46
+
47
+ a {
48
+ color: $notice-color;
49
+
50
+ &:hover {
51
+ color: mix(#000, $notice-color, 40%);
52
+ }
53
+ }
54
+
55
+ code {
56
+ background-color: mix(#fff, $notice-color, 95%)
57
+ }
58
+
59
+ ul {
60
+ &:last-child {
61
+ margin-bottom: 0; /* override*/
62
+ }
63
+ }
64
+ }
65
+
66
+ /* Default notice */
67
+
68
+ .notice {
69
+ @include notice($light-gray);
70
+ }
71
+
72
+ /* Primary notice */
73
+
74
+ .notice--primary {
75
+ @include notice($primary-color);
76
+ }
77
+
78
+ /* Info notice */
79
+
80
+ .notice--info {
81
+ @include notice($info-color);
82
+ }
83
+
84
+ /* Warning notice */
85
+
86
+ .notice--warning {
87
+ @include notice($warning-color);
88
+ }
89
+
90
+ /* Success notice */
91
+
92
+ .notice--success {
93
+ @include notice($success-color);
94
+ }
95
+
96
+ /* Danger notice */
97
+
98
+ .notice--danger {
99
+ @include notice($danger-color);
100
100
  }
@@ -1,426 +1,426 @@
1
- /* ==========================================================================
2
- SINGLE PAGE/POST
3
- ========================================================================== */
4
-
5
- #main {
6
- @include clearfix;
7
- margin-left: auto;
8
- margin-top: 2em;
9
- margin-right: auto;
10
- padding-left: 1em;
11
- padding-right: 1em;
12
- -webkit-animation: $intro-transition;
13
- animation: $intro-transition;
14
- max-width: 100%;
15
- -webkit-animation-delay: 0.15s;
16
- animation-delay: 0.15s;
17
-
18
- @include breakpoint($x-large) {
19
- max-width: $x-large;
20
- }
21
- }
22
-
23
- .page {
24
- @include breakpoint($large) {
25
- float: right;
26
- width: calc(100% - #{$right-sidebar-width-narrow});
27
- padding-right: $right-sidebar-width-narrow;
28
- }
29
-
30
- @include breakpoint($x-large) {
31
- width: calc(100% - #{$right-sidebar-width});
32
- padding-right: $right-sidebar-width;
33
- }
34
-
35
- .page__inner-wrap {
36
- float: left;
37
- margin-left: 0;
38
- margin-right: 0;
39
- width: 100%;
40
- clear: both;
41
-
42
- .page__content,
43
- .page__meta,
44
- .page__share {
45
- position: relative;
46
- float: left;
47
- margin-left: 0;
48
- margin-right: 0;
49
- width: 100%;
50
- clear: both;
51
- }
52
- }
53
- }
54
-
55
- .page__title {
56
- margin-top: 0;
57
- line-height: 1;
58
-
59
- & + .page__meta {
60
- margin-top: -0.5em;
61
- }
62
- }
63
-
64
- .page__lead {
65
- font-family: $global-font-family;
66
- font-size: $type-size-4;
67
- }
68
-
69
- .page__content {
70
- h2 {
71
- padding-bottom: 0.5em;
72
- border-bottom: 1px solid $border-color;
73
- }
74
-
75
- p,
76
- li,
77
- dl {
78
- font-size: 1em;
79
- }
80
-
81
- /* paragraph indents */
82
- p {
83
- margin: 0 0 $indent-var;
84
-
85
- /* sibling indentation*/
86
- @if $paragraph-indent == true {
87
- & + p {
88
- text-indent: $indent-var;
89
- margin-top: -($indent-var);
90
- }
91
- }
92
- }
93
-
94
- a:not(.btn) {
95
- &:hover {
96
- text-decoration: underline;
97
-
98
- img {
99
- box-shadow: 0 0 10px rgba(#000, 0.25);
100
- }
101
- }
102
- }
103
-
104
- dt {
105
- margin-top: 1em;
106
- font-family: $sans-serif;
107
- font-weight: bold;
108
- }
109
-
110
- dd {
111
- margin-left: 1em;
112
- font-family: $sans-serif;
113
- font-size: $type-size-6;
114
- }
115
-
116
- .small {
117
- font-size: $type-size-6;
118
- }
119
-
120
- /* blockquote citations */
121
- blockquote + .small {
122
- margin-top: -1.5em;
123
- padding-left: 1.25rem;
124
- }
125
- }
126
-
127
- .page__hero {
128
- position: relative;
129
- margin-bottom: 2em;
130
- @include clearfix;
131
- -webkit-animation: $intro-transition;
132
- animation: $intro-transition;
133
- -webkit-animation-delay: 0.25s;
134
- animation-delay: 0.25s;
135
-
136
- &--overlay {
137
- position: relative;
138
- margin-bottom: 2em;
139
- padding: 3em 0;
140
- @include clearfix;
141
- background-size: cover;
142
- background-repeat: no-repeat;
143
- background-position: center;
144
- -webkit-animation: $intro-transition;
145
- animation: $intro-transition;
146
- -webkit-animation-delay: 0.25s;
147
- animation-delay: 0.25s;
148
-
149
- a {
150
- color: #fff;
151
- }
152
-
153
- .wrapper {
154
- padding-left: 1em;
155
- padding-right: 1em;
156
-
157
- @include breakpoint($x-large) {
158
- max-width: $x-large;
159
- }
160
- }
161
-
162
- .page__title,
163
- .page__meta,
164
- .page__lead,
165
- .btn {
166
- color: #fff;
167
- text-shadow: 1px 1px 4px rgba(#000, 0.5);
168
- }
169
-
170
- .page__lead {
171
- max-width: $medium;
172
- }
173
-
174
- .page__title {
175
- font-size: $type-size-2;
176
-
177
- @include breakpoint($small) {
178
- font-size: $type-size-1;
179
- }
180
- }
181
- }
182
- }
183
-
184
- .page__hero-image {
185
- width: 100%;
186
- height: auto;
187
- -ms-interpolation-mode: bicubic;
188
- }
189
-
190
- .page__hero-caption {
191
- position: absolute;
192
- bottom: 0;
193
- right: 0;
194
- margin: 0 auto;
195
- padding: 2px 5px;
196
- color: #fff;
197
- font-family: $caption-font-family;
198
- font-size: $type-size-7;
199
- background: #000;
200
- text-align: right;
201
- z-index: 5;
202
- opacity: 0.5;
203
- border-radius: $border-radius 0 0 0;
204
-
205
- @include breakpoint($large) {
206
- padding: 5px 10px;
207
- }
208
-
209
- a {
210
- color: #fff;
211
- text-decoration: none;
212
- }
213
- }
214
-
215
- /*
216
- Social sharing
217
- ========================================================================== */
218
-
219
- .page__share {
220
- margin-top: 2em;
221
- padding-top: 1em;
222
- border-top: 1px solid $border-color;
223
-
224
- @include breakpoint(max-width $small) {
225
- .btn span {
226
- border: 0;
227
- clip: rect(0 0 0 0);
228
- height: 1px;
229
- margin: -1px;
230
- overflow: hidden;
231
- padding: 0;
232
- position: absolute;
233
- width: 1px;
234
- }
235
- }
236
- }
237
-
238
- .page__share-title {
239
- margin-bottom: 10px;
240
- font-size: $type-size-6;
241
- text-transform: uppercase;
242
- }
243
-
244
- /*
245
- Page meta
246
- ========================================================================== */
247
-
248
- .page__meta {
249
- margin-top: 2em;
250
- color: $muted-text-color;
251
- font-family: $sans-serif;
252
- font-size: $type-size-6;
253
-
254
- p {
255
- margin: 0;
256
- }
257
-
258
- a {
259
- color: inherit;
260
- }
261
- }
262
-
263
- .page__meta-title {
264
- margin-bottom: 10px;
265
- font-size: $type-size-6;
266
- text-transform: uppercase;
267
- }
268
-
269
- /*
270
- Page taxonomy
271
- ========================================================================== */
272
-
273
- .page__taxonomy {
274
- .sep {
275
- display: none;
276
- }
277
-
278
- strong {
279
- margin-right: 10px;
280
- }
281
- }
282
-
283
- .page__taxonomy-item {
284
- display: inline-block;
285
- margin-right: 5px;
286
- margin-bottom: 8px;
287
- padding: 5px 10px;
288
- text-decoration: none;
289
- border: 1px solid mix(#000, $border-color, 25%);
290
- border-radius: $border-radius;
291
-
292
- &:hover {
293
- text-decoration: none;
294
- color: $link-color-hover;
295
- }
296
- }
297
-
298
- /*
299
- Comments
300
- ========================================================================== */
301
-
302
- .page__comments {
303
- float: left;
304
- margin-left: 0;
305
- margin-right: 0;
306
- width: 100%;
307
- clear: both;
308
- }
309
-
310
- .page__comments-title {
311
- margin-top: 2rem;
312
- margin-bottom: 10px;
313
- padding-top: 2rem;
314
- font-size: $type-size-6;
315
- border-top: 1px solid $border-color;
316
- text-transform: uppercase;
317
- }
318
-
319
- .page__comments-form {
320
- -webkit-transition: $global-transition;
321
- transition: $global-transition;
322
-
323
- &.disabled {
324
- input,
325
- button,
326
- textarea,
327
- label {
328
- pointer-events: none;
329
- cursor: not-allowed;
330
- filter: alpha(opacity=65);
331
- box-shadow: none;
332
- opacity: 0.65;
333
- }
334
- }
335
- }
336
-
337
- .comment {
338
- @include clearfix();
339
- margin: 1em 0;
340
-
341
- &:not(:last-child) {
342
- border-bottom: 1px solid $border-color;
343
- }
344
- }
345
-
346
- .comment__avatar-wrapper {
347
- float: left;
348
- width: 60px;
349
- height: 60px;
350
-
351
- @include breakpoint($large) {
352
- width: 100px;
353
- height: 100px;
354
- }
355
- }
356
-
357
- .comment__avatar {
358
- width: 40px;
359
- height: 40px;
360
- border-radius: 50%;
361
-
362
- @include breakpoint($large) {
363
- width: 80px;
364
- height: 80px;
365
- padding: 5px;
366
- border: 1px solid $border-color;
367
- }
368
- }
369
-
370
- .comment__content-wrapper {
371
- float: right;
372
- width: calc(100% - 60px);
373
-
374
- @include breakpoint($large) {
375
- width: calc(100% - 100px);
376
- }
377
- }
378
-
379
- .comment__author {
380
- margin: 0;
381
-
382
- a {
383
- text-decoration: none;
384
- }
385
- }
386
-
387
- .comment__date {
388
- @extend .page__meta;
389
- margin: 0;
390
-
391
- a {
392
- text-decoration: none;
393
- }
394
- }
395
-
396
- /*
397
- Related
398
- ========================================================================== */
399
-
400
- .page__related {
401
- @include clearfix();
402
- float: left;
403
- margin-top: 2em;
404
- padding-top: 1em;
405
- border-top: 1px solid $border-color;
406
-
407
- @include breakpoint($large) {
408
- float: right;
409
- width: calc(100% - #{$right-sidebar-width-narrow});
410
- }
411
-
412
- @include breakpoint($x-large) {
413
- width: calc(100% - #{$right-sidebar-width});
414
- }
415
-
416
- a {
417
- color: inherit;
418
- text-decoration: none;
419
- }
420
- }
421
-
422
- .page__related-title {
423
- margin-bottom: 10px;
424
- font-size: $type-size-6;
425
- text-transform: uppercase;
426
- }
1
+ /* ==========================================================================
2
+ SINGLE PAGE/POST
3
+ ========================================================================== */
4
+
5
+ #main {
6
+ @include clearfix;
7
+ margin-left: auto;
8
+ margin-top: 2em;
9
+ margin-right: auto;
10
+ padding-left: 1em;
11
+ padding-right: 1em;
12
+ -webkit-animation: $intro-transition;
13
+ animation: $intro-transition;
14
+ max-width: 100%;
15
+ -webkit-animation-delay: 0.15s;
16
+ animation-delay: 0.15s;
17
+
18
+ @include breakpoint($x-large) {
19
+ max-width: $x-large;
20
+ }
21
+ }
22
+
23
+ .page {
24
+ @include breakpoint($large) {
25
+ float: right;
26
+ width: calc(100% - #{$right-sidebar-width-narrow});
27
+ padding-right: $right-sidebar-width-narrow;
28
+ }
29
+
30
+ @include breakpoint($x-large) {
31
+ width: calc(100% - #{$right-sidebar-width});
32
+ padding-right: $right-sidebar-width;
33
+ }
34
+
35
+ .page__inner-wrap {
36
+ float: left;
37
+ margin-left: 0;
38
+ margin-right: 0;
39
+ width: 100%;
40
+ clear: both;
41
+
42
+ .page__content,
43
+ .page__meta,
44
+ .page__share {
45
+ position: relative;
46
+ float: left;
47
+ margin-left: 0;
48
+ margin-right: 0;
49
+ width: 100%;
50
+ clear: both;
51
+ }
52
+ }
53
+ }
54
+
55
+ .page__title {
56
+ margin-top: 0;
57
+ line-height: 1;
58
+
59
+ & + .page__meta {
60
+ margin-top: -0.5em;
61
+ }
62
+ }
63
+
64
+ .page__lead {
65
+ font-family: $global-font-family;
66
+ font-size: $type-size-4;
67
+ }
68
+
69
+ .page__content {
70
+ h2 {
71
+ padding-bottom: 0.5em;
72
+ border-bottom: 1px solid $border-color;
73
+ }
74
+
75
+ p,
76
+ li,
77
+ dl {
78
+ font-size: 1em;
79
+ }
80
+
81
+ /* paragraph indents */
82
+ p {
83
+ margin: 0 0 $indent-var;
84
+
85
+ /* sibling indentation*/
86
+ @if $paragraph-indent == true {
87
+ & + p {
88
+ text-indent: $indent-var;
89
+ margin-top: -($indent-var);
90
+ }
91
+ }
92
+ }
93
+
94
+ a:not(.btn) {
95
+ &:hover {
96
+ text-decoration: underline;
97
+
98
+ img {
99
+ box-shadow: 0 0 10px rgba(#000, 0.25);
100
+ }
101
+ }
102
+ }
103
+
104
+ dt {
105
+ margin-top: 1em;
106
+ font-family: $sans-serif;
107
+ font-weight: bold;
108
+ }
109
+
110
+ dd {
111
+ margin-left: 1em;
112
+ font-family: $sans-serif;
113
+ font-size: $type-size-6;
114
+ }
115
+
116
+ .small {
117
+ font-size: $type-size-6;
118
+ }
119
+
120
+ /* blockquote citations */
121
+ blockquote + .small {
122
+ margin-top: -1.5em;
123
+ padding-left: 1.25rem;
124
+ }
125
+ }
126
+
127
+ .page__hero {
128
+ position: relative;
129
+ margin-bottom: 2em;
130
+ @include clearfix;
131
+ -webkit-animation: $intro-transition;
132
+ animation: $intro-transition;
133
+ -webkit-animation-delay: 0.25s;
134
+ animation-delay: 0.25s;
135
+
136
+ &--overlay {
137
+ position: relative;
138
+ margin-bottom: 2em;
139
+ padding: 3em 0;
140
+ @include clearfix;
141
+ background-size: cover;
142
+ background-repeat: no-repeat;
143
+ background-position: center;
144
+ -webkit-animation: $intro-transition;
145
+ animation: $intro-transition;
146
+ -webkit-animation-delay: 0.25s;
147
+ animation-delay: 0.25s;
148
+
149
+ a {
150
+ color: #fff;
151
+ }
152
+
153
+ .wrapper {
154
+ padding-left: 1em;
155
+ padding-right: 1em;
156
+
157
+ @include breakpoint($x-large) {
158
+ max-width: $x-large;
159
+ }
160
+ }
161
+
162
+ .page__title,
163
+ .page__meta,
164
+ .page__lead,
165
+ .btn {
166
+ color: #fff;
167
+ text-shadow: 1px 1px 4px rgba(#000, 0.5);
168
+ }
169
+
170
+ .page__lead {
171
+ max-width: $medium;
172
+ }
173
+
174
+ .page__title {
175
+ font-size: $type-size-2;
176
+
177
+ @include breakpoint($small) {
178
+ font-size: $type-size-1;
179
+ }
180
+ }
181
+ }
182
+ }
183
+
184
+ .page__hero-image {
185
+ width: 100%;
186
+ height: auto;
187
+ -ms-interpolation-mode: bicubic;
188
+ }
189
+
190
+ .page__hero-caption {
191
+ position: absolute;
192
+ bottom: 0;
193
+ right: 0;
194
+ margin: 0 auto;
195
+ padding: 2px 5px;
196
+ color: #fff;
197
+ font-family: $caption-font-family;
198
+ font-size: $type-size-7;
199
+ background: #000;
200
+ text-align: right;
201
+ z-index: 5;
202
+ opacity: 0.5;
203
+ border-radius: $border-radius 0 0 0;
204
+
205
+ @include breakpoint($large) {
206
+ padding: 5px 10px;
207
+ }
208
+
209
+ a {
210
+ color: #fff;
211
+ text-decoration: none;
212
+ }
213
+ }
214
+
215
+ /*
216
+ Social sharing
217
+ ========================================================================== */
218
+
219
+ .page__share {
220
+ margin-top: 2em;
221
+ padding-top: 1em;
222
+ border-top: 1px solid $border-color;
223
+
224
+ @include breakpoint(max-width $small) {
225
+ .btn span {
226
+ border: 0;
227
+ clip: rect(0 0 0 0);
228
+ height: 1px;
229
+ margin: -1px;
230
+ overflow: hidden;
231
+ padding: 0;
232
+ position: absolute;
233
+ width: 1px;
234
+ }
235
+ }
236
+ }
237
+
238
+ .page__share-title {
239
+ margin-bottom: 10px;
240
+ font-size: $type-size-6;
241
+ text-transform: uppercase;
242
+ }
243
+
244
+ /*
245
+ Page meta
246
+ ========================================================================== */
247
+
248
+ .page__meta {
249
+ margin-top: 2em;
250
+ color: $muted-text-color;
251
+ font-family: $sans-serif;
252
+ font-size: $type-size-6;
253
+
254
+ p {
255
+ margin: 0;
256
+ }
257
+
258
+ a {
259
+ color: inherit;
260
+ }
261
+ }
262
+
263
+ .page__meta-title {
264
+ margin-bottom: 10px;
265
+ font-size: $type-size-6;
266
+ text-transform: uppercase;
267
+ }
268
+
269
+ /*
270
+ Page taxonomy
271
+ ========================================================================== */
272
+
273
+ .page__taxonomy {
274
+ .sep {
275
+ display: none;
276
+ }
277
+
278
+ strong {
279
+ margin-right: 10px;
280
+ }
281
+ }
282
+
283
+ .page__taxonomy-item {
284
+ display: inline-block;
285
+ margin-right: 5px;
286
+ margin-bottom: 8px;
287
+ padding: 5px 10px;
288
+ text-decoration: none;
289
+ border: 1px solid mix(#000, $border-color, 25%);
290
+ border-radius: $border-radius;
291
+
292
+ &:hover {
293
+ text-decoration: none;
294
+ color: $link-color-hover;
295
+ }
296
+ }
297
+
298
+ /*
299
+ Comments
300
+ ========================================================================== */
301
+
302
+ .page__comments {
303
+ float: left;
304
+ margin-left: 0;
305
+ margin-right: 0;
306
+ width: 100%;
307
+ clear: both;
308
+ }
309
+
310
+ .page__comments-title {
311
+ margin-top: 2rem;
312
+ margin-bottom: 10px;
313
+ padding-top: 2rem;
314
+ font-size: $type-size-6;
315
+ border-top: 1px solid $border-color;
316
+ text-transform: uppercase;
317
+ }
318
+
319
+ .page__comments-form {
320
+ -webkit-transition: $global-transition;
321
+ transition: $global-transition;
322
+
323
+ &.disabled {
324
+ input,
325
+ button,
326
+ textarea,
327
+ label {
328
+ pointer-events: none;
329
+ cursor: not-allowed;
330
+ filter: alpha(opacity=65);
331
+ box-shadow: none;
332
+ opacity: 0.65;
333
+ }
334
+ }
335
+ }
336
+
337
+ .comment {
338
+ @include clearfix();
339
+ margin: 1em 0;
340
+
341
+ &:not(:last-child) {
342
+ border-bottom: 1px solid $border-color;
343
+ }
344
+ }
345
+
346
+ .comment__avatar-wrapper {
347
+ float: left;
348
+ width: 60px;
349
+ height: 60px;
350
+
351
+ @include breakpoint($large) {
352
+ width: 100px;
353
+ height: 100px;
354
+ }
355
+ }
356
+
357
+ .comment__avatar {
358
+ width: 40px;
359
+ height: 40px;
360
+ border-radius: 50%;
361
+
362
+ @include breakpoint($large) {
363
+ width: 80px;
364
+ height: 80px;
365
+ padding: 5px;
366
+ border: 1px solid $border-color;
367
+ }
368
+ }
369
+
370
+ .comment__content-wrapper {
371
+ float: right;
372
+ width: calc(100% - 60px);
373
+
374
+ @include breakpoint($large) {
375
+ width: calc(100% - 100px);
376
+ }
377
+ }
378
+
379
+ .comment__author {
380
+ margin: 0;
381
+
382
+ a {
383
+ text-decoration: none;
384
+ }
385
+ }
386
+
387
+ .comment__date {
388
+ @extend .page__meta;
389
+ margin: 0;
390
+
391
+ a {
392
+ text-decoration: none;
393
+ }
394
+ }
395
+
396
+ /*
397
+ Related
398
+ ========================================================================== */
399
+
400
+ .page__related {
401
+ @include clearfix();
402
+ float: left;
403
+ margin-top: 2em;
404
+ padding-top: 1em;
405
+ border-top: 1px solid $border-color;
406
+
407
+ @include breakpoint($large) {
408
+ float: right;
409
+ width: calc(100% - #{$right-sidebar-width-narrow});
410
+ }
411
+
412
+ @include breakpoint($x-large) {
413
+ width: calc(100% - #{$right-sidebar-width});
414
+ }
415
+
416
+ a {
417
+ color: inherit;
418
+ text-decoration: none;
419
+ }
420
+ }
421
+
422
+ .page__related-title {
423
+ margin-bottom: 10px;
424
+ font-size: $type-size-6;
425
+ text-transform: uppercase;
426
+ }