minimal-mistakes-jekyll 4.5.0 → 4.5.1

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