minimal-mistakes-jekyll 4.26.1 → 4.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/README.md +2 -2
  4. data/_data/ui-text.yml +115 -9
  5. data/_includes/archive-single.html +1 -1
  6. data/_includes/breadcrumbs.html +1 -1
  7. data/_includes/copyright.html +2 -2
  8. data/_includes/copyright.js +2 -2
  9. data/_includes/documents-collection.html +2 -2
  10. data/_includes/figure +2 -2
  11. data/_includes/footer.html +1 -1
  12. data/_includes/head.html +1 -1
  13. data/_includes/post_pagination.html +3 -3
  14. data/_includes/seo.html +5 -1
  15. data/_includes/social-share.html +10 -6
  16. data/_layouts/archive-taxonomy.html +1 -1
  17. data/_layouts/archive.html +1 -1
  18. data/_layouts/default.html +2 -2
  19. data/_layouts/home.html +1 -3
  20. data/_layouts/search.html +1 -1
  21. data/_layouts/single.html +10 -3
  22. data/_layouts/splash.html +1 -1
  23. data/_sass/minimal-mistakes/_archive.scss +51 -83
  24. data/_sass/minimal-mistakes/_base.scss +6 -6
  25. data/_sass/minimal-mistakes/_buttons.scss +5 -4
  26. data/_sass/minimal-mistakes/_copyright.scss +2 -2
  27. data/_sass/minimal-mistakes/_footer.scss +6 -8
  28. data/_sass/minimal-mistakes/_forms.scss +20 -31
  29. data/_sass/minimal-mistakes/_masthead.scss +6 -8
  30. data/_sass/minimal-mistakes/_navigation.scss +37 -39
  31. data/_sass/minimal-mistakes/_notices.scss +1 -1
  32. data/_sass/minimal-mistakes/_page.scss +28 -45
  33. data/_sass/minimal-mistakes/_reset.scss +5 -8
  34. data/_sass/minimal-mistakes/_search.scss +3 -6
  35. data/_sass/minimal-mistakes/_sidebar.scss +23 -27
  36. data/_sass/minimal-mistakes/_syntax.scss +10 -5
  37. data/_sass/minimal-mistakes/_tables.scss +2 -2
  38. data/_sass/minimal-mistakes/_utilities.scss +25 -41
  39. data/_sass/minimal-mistakes/_variables.scss +4 -1
  40. data/_sass/minimal-mistakes/skins/_contrast.scss +1 -1
  41. data/assets/css/main.scss +1 -1
  42. data/assets/js/_main.js +19 -15
  43. data/assets/js/main.min.js +3 -3
  44. data/assets/js/main.min.js.map +1 -1
  45. data/assets/js/plugins/jquery.greedy-navigation.js +5 -1
  46. metadata +2 -2
@@ -7,14 +7,14 @@
7
7
  margin-bottom: 2em;
8
8
 
9
9
  @include breakpoint($large) {
10
- float: right;
10
+ float: inline-end;
11
11
  width: calc(100% - #{$right-sidebar-width-narrow});
12
- padding-right: $right-sidebar-width-narrow;
12
+ padding-inline-end: $right-sidebar-width-narrow;
13
13
  }
14
14
 
15
15
  @include breakpoint($x-large) {
16
16
  width: calc(100% - #{$right-sidebar-width});
17
- padding-right: $right-sidebar-width;
17
+ padding-inline-end: $right-sidebar-width;
18
18
  }
19
19
  }
20
20
 
@@ -53,10 +53,7 @@
53
53
  a[rel="permalink"]::before {
54
54
  content: '';
55
55
  position: absolute;
56
- left: 0;
57
- top: 0;
58
- right: 0;
59
- bottom: 0;
56
+ inset: 0;
60
57
  }
61
58
 
62
59
  a + a {
@@ -98,14 +95,14 @@
98
95
  .archive__item-caption {
99
96
  position: absolute;
100
97
  bottom: 0;
101
- right: 0;
98
+ inset-inline-end: 0;
102
99
  margin: 0 auto;
103
100
  padding: 2px 5px;
104
101
  color: #fff;
105
102
  font-family: $caption-font-family;
106
103
  font-size: $type-size-8;
107
104
  background: #000;
108
- text-align: right;
105
+ text-align: end;
109
106
  z-index: 5;
110
107
  opacity: 0.5;
111
108
  border-radius: $border-radius 0 0 0;
@@ -140,11 +137,11 @@
140
137
  /* extend grid elements to the right */
141
138
 
142
139
  @include breakpoint($large) {
143
- margin-right: -1 * $right-sidebar-width-narrow;
140
+ margin-inline-end: -1 * $right-sidebar-width-narrow;
144
141
  }
145
142
 
146
143
  @include breakpoint($x-large) {
147
- margin-right: -1 * $right-sidebar-width;
144
+ margin-inline-end: -1 * $right-sidebar-width;
148
145
  }
149
146
  }
150
147
  }
@@ -153,23 +150,22 @@
153
150
  margin-bottom: 2em;
154
151
 
155
152
  @include breakpoint($small) {
156
- float: left;
153
+ float: inline-start;
157
154
  width: span(5 of 10);
158
155
 
159
156
  &:nth-child(2n + 1) {
160
157
  clear: both;
161
- margin-left: 0;
158
+ margin-inline-start: 0;
162
159
  }
163
160
 
164
161
  &:nth-child(2n + 2) {
165
162
  clear: none;
166
- margin-left: gutter(of 10);
163
+ margin-inline-start: gutter(of 10);
167
164
  }
168
165
  }
169
166
 
170
167
  @include breakpoint($medium) {
171
- margin-left: 0; /* override margin*/
172
- margin-right: 0; /* override margin*/
168
+ margin-inline: 0; /* override margin*/
173
169
  width: span(3 of 12);
174
170
 
175
171
  &:nth-child(2n + 1) {
@@ -182,17 +178,17 @@
182
178
 
183
179
  &:nth-child(4n + 2) {
184
180
  clear: none;
185
- margin-left: gutter(1 of 12);
181
+ margin-inline-start: gutter(1 of 12);
186
182
  }
187
183
 
188
184
  &:nth-child(4n + 3) {
189
185
  clear: none;
190
- margin-left: gutter(1 of 12);
186
+ margin-inline-start: gutter(1 of 12);
191
187
  }
192
188
 
193
189
  &:nth-child(4n + 4) {
194
190
  clear: none;
195
- margin-left: gutter(1 of 12);
191
+ margin-inline-start: gutter(1 of 12);
196
192
  }
197
193
  }
198
194
 
@@ -254,23 +250,23 @@
254
250
  font-size: 1.125em;
255
251
 
256
252
  @include breakpoint($small) {
257
- float: left;
253
+ float: inline-start;
258
254
  margin-bottom: 0;
259
255
  width: span(4 of 12);
260
256
 
261
257
  &:nth-child(3n + 1) {
262
258
  clear: both;
263
- margin-left: 0;
259
+ margin-inline-start: 0;
264
260
  }
265
261
 
266
262
  &:nth-child(3n + 2) {
267
263
  clear: none;
268
- margin-left: gutter(of 12);
264
+ margin-inline-start: gutter(of 12);
269
265
  }
270
266
 
271
267
  &:nth-child(3n + 3) {
272
268
  clear: none;
273
- margin-left: gutter(of 12);
269
+ margin-inline-start: gutter(of 12);
274
270
  }
275
271
 
276
272
  .feature__item-teaser {
@@ -280,114 +276,89 @@
280
276
  }
281
277
 
282
278
  .archive__item-body {
283
- padding-left: gutter(1 of 12);
284
- padding-right: gutter(1 of 12);
279
+ padding-inline: gutter(1 of 12);
285
280
  }
286
281
 
287
282
  a.btn::before {
288
283
  content: '';
289
284
  position: absolute;
290
- left: 0;
291
- top: 0;
292
- right: 0;
293
- bottom: 0;
285
+ inset: 0;
294
286
  }
295
287
 
296
- &--left {
288
+ &--left, &--right {
297
289
  position: relative;
298
- float: left;
299
- margin-left: 0;
300
- margin-right: 0;
290
+ margin-inline: 0;
301
291
  width: 100%;
302
292
  clear: both;
303
293
  font-size: 1.125em;
304
294
 
305
- .archive__item {
306
- float: left;
295
+ a.btn::before {
296
+ content: '';
297
+ position: absolute;
298
+ inset: 0;
307
299
  }
308
300
 
309
301
  .archive__item-teaser {
310
302
  margin-bottom: 2em;
311
303
  }
304
+ }
312
305
 
313
- a.btn::before {
314
- content: '';
315
- position: absolute;
316
- left: 0;
317
- top: 0;
318
- right: 0;
319
- bottom: 0;
306
+ &--left {
307
+ float: inline-start;
308
+
309
+ .archive__item {
310
+ float: inline-start;
320
311
  }
321
312
 
322
313
  @include breakpoint($small) {
323
314
  .archive__item-teaser {
324
- float: left;
315
+ float: inline-start;
325
316
  width: span(5 of 12);
326
317
  }
327
318
 
328
319
  .archive__item-body {
329
- float: right;
330
- padding-left: gutter(0.5 of 12);
331
- padding-right: gutter(1 of 12);
320
+ float: inline-end;
332
321
  width: span(7 of 12);
322
+ padding-inline-start: gutter(0.5 of 12);
323
+ padding-inline-end: gutter(1 of 12);
333
324
  }
334
325
  }
335
326
  }
336
327
 
337
328
  &--right {
338
- position: relative;
339
- float: left;
340
- margin-left: 0;
341
- margin-right: 0;
342
- width: 100%;
343
- clear: both;
344
- font-size: 1.125em;
329
+ float: inline-end;
345
330
 
346
331
  .archive__item {
347
- float: left;
348
- }
349
-
350
- .archive__item-teaser {
351
- margin-bottom: 2em;
352
- }
353
-
354
- a.btn::before {
355
- content: '';
356
- position: absolute;
357
- left: 0;
358
- top: 0;
359
- right: 0;
360
- bottom: 0;
332
+ float: inline-end;
361
333
  }
362
334
 
363
335
  @include breakpoint($small) {
364
- text-align: right;
336
+ text-align: end;
365
337
 
366
338
  .archive__item-teaser {
367
- float: right;
339
+ float: inline-end;
368
340
  width: span(5 of 12);
369
341
  }
370
342
 
371
343
  .archive__item-body {
372
- float: left;
344
+ float: inline-start;
373
345
  width: span(7 of 12);
374
- padding-left: gutter(0.5 of 12);
375
- padding-right: gutter(1 of 12);
346
+ padding-inline-start: gutter(1 of 12);
347
+ padding-inline-end: gutter(0.5 of 12);
376
348
  }
377
349
  }
378
350
  }
379
351
 
380
352
  &--center {
381
353
  position: relative;
382
- float: left;
383
- margin-left: 0;
384
- margin-right: 0;
354
+ float: inline-start;
355
+ margin-inline: 0;
385
356
  width: 100%;
386
357
  clear: both;
387
358
  font-size: 1.125em;
388
359
 
389
360
  .archive__item {
390
- float: left;
361
+ float: inline-start;
391
362
  width: 100%;
392
363
  }
393
364
 
@@ -398,10 +369,7 @@
398
369
  a.btn::before {
399
370
  content: '';
400
371
  position: absolute;
401
- left: 0;
402
- top: 0;
403
- right: 0;
404
- bottom: 0;
372
+ inset: 0;
405
373
  }
406
374
 
407
375
  @include breakpoint($small) {
@@ -442,14 +410,14 @@
442
410
  Wide Pages
443
411
  ========================================================================== */
444
412
 
445
- .wide {
413
+ .wide {
446
414
  .archive {
447
415
  @include breakpoint($large) {
448
- padding-right: 0;
416
+ padding-inline-end: 0;
449
417
  }
450
418
 
451
419
  @include breakpoint($x-large) {
452
- padding-right: 0;
420
+ padding-inline-end: 0;
453
421
  }
454
422
  }
455
423
  }
@@ -107,18 +107,18 @@ abbr[data-original-title] {
107
107
  /* blockquotes */
108
108
 
109
109
  blockquote {
110
- margin: 2em 1em 2em 0;
111
- padding-left: 1em;
112
- padding-right: 1em;
110
+ margin-block: 2em;
111
+ margin-inline-end: 1em;
112
+ padding-inline: 1em;
113
113
  font-style: italic;
114
- border-left: 0.25em solid $primary-color;
114
+ border-inline-start: 0.25em solid $primary-color;
115
115
 
116
116
  cite {
117
117
  font-style: italic;
118
118
 
119
- &:before {
119
+ &::before {
120
120
  content: "\2014";
121
- padding-right: 5px;
121
+ padding-inline-end: 5px;
122
122
  }
123
123
  }
124
124
  }
@@ -21,11 +21,11 @@
21
21
  cursor: pointer;
22
22
 
23
23
  .icon {
24
- margin-right: 0.5em;
24
+ margin-inline-end: 0.5em;
25
25
  }
26
26
 
27
27
  .icon + .hidden {
28
- margin-left: -0.5em; /* override for hidden text*/
28
+ margin-inline-start: -0.5em; /* override for hidden text*/
29
29
  }
30
30
 
31
31
  /* button colors */
@@ -39,7 +39,8 @@
39
39
  (info, $info-color),
40
40
  (facebook, $facebook-color),
41
41
  (twitter, $twitter-color),
42
- (linkedin, $linkedin-color);
42
+ (linkedin, $linkedin-color),
43
+ (mastodon, $mastodon-color);
43
44
 
44
45
  @each $buttoncolor, $color in $buttoncolors {
45
46
  &--#{$buttoncolor} {
@@ -94,4 +95,4 @@
94
95
  &--small {
95
96
  font-size: $type-size-7;
96
97
  }
97
- }
98
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
3
- * Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
2
+ * Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
3
+ * Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Free for personal and commercial use under the MIT license
5
5
  * https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
6
6
  */
@@ -4,9 +4,8 @@
4
4
 
5
5
  .page__footer {
6
6
  @include clearfix;
7
- float: left;
8
- margin-left: 0;
9
- margin-right: 0;
7
+ float: inline-start;
8
+ margin-inline: 0;
10
9
  width: 100%;
11
10
  margin-top: 3em;
12
11
  color: $muted-text-color;
@@ -18,8 +17,7 @@
18
17
 
19
18
  footer {
20
19
  @include clearfix;
21
- margin-left: auto;
22
- margin-right: auto;
20
+ margin-inline: auto;
23
21
  margin-top: 2em;
24
22
  max-width: 100%;
25
23
  padding: 0 1em 2em;
@@ -67,13 +65,13 @@
67
65
  text-transform: uppercase;
68
66
  }
69
67
 
70
- li + li:before {
68
+ li + li::before {
71
69
  content: "";
72
- padding-right: 5px;
70
+ padding-inline-end: 5px;
73
71
  }
74
72
 
75
73
  a {
76
- padding-right: 10px;
74
+ padding-inline-end: 10px;
77
75
  font-weight: bold;
78
76
  }
79
77
 
@@ -3,7 +3,7 @@
3
3
  ========================================================================== */
4
4
 
5
5
  form {
6
- margin: 0 0 5px 0;
6
+ margin-bottom: 5px;
7
7
  padding: 1em;
8
8
  background-color: $form-background-color;
9
9
 
@@ -17,7 +17,7 @@ form {
17
17
  display: block;
18
18
  width: 100%;
19
19
  margin-bottom: 5px * 2;
20
- *margin-left: -7px;
20
+ margin-inline-start: -7px;
21
21
  padding: 0;
22
22
  color: $text-color;
23
23
  border: 0;
@@ -45,7 +45,6 @@ button,
45
45
  select,
46
46
  textarea {
47
47
  vertical-align: baseline;
48
- *vertical-align: middle;
49
48
  }
50
49
 
51
50
  input,
@@ -102,7 +101,6 @@ input[type="radio"] {
102
101
  height: auto;
103
102
  padding: 0;
104
103
  margin: 3px 0;
105
- *margin-top: 0;
106
104
  line-height: normal;
107
105
  cursor: pointer;
108
106
  border-radius: 0;
@@ -114,8 +112,6 @@ input[type="checkbox"],
114
112
  input[type="radio"] {
115
113
  box-sizing: border-box;
116
114
  padding: 0;
117
- *width: 13px;
118
- *height: 13px;
119
115
  }
120
116
 
121
117
  input[type="image"] {
@@ -138,12 +134,6 @@ input[type="submit"] {
138
134
  width: auto;
139
135
  height: auto;
140
136
  cursor: pointer;
141
- *overflow: visible;
142
- }
143
-
144
- select,
145
- input[type="file"] {
146
- *margin-top: 4px;
147
137
  }
148
138
 
149
139
  select {
@@ -173,14 +163,14 @@ input[type="hidden"] {
173
163
 
174
164
  .radio,
175
165
  .checkbox {
176
- padding-left: 18px;
166
+ padding-inline-start: 18px;
177
167
  font-weight: normal;
178
168
  }
179
169
 
180
170
  .radio input[type="radio"],
181
171
  .checkbox input[type="checkbox"] {
182
- float: left;
183
- margin-left: -18px;
172
+ float: inline-start;
173
+ margin-inline-start: -18px;
184
174
  }
185
175
 
186
176
  .radio.inline,
@@ -193,7 +183,7 @@ input[type="hidden"] {
193
183
 
194
184
  .radio.inline + .radio.inline,
195
185
  .checkbox.inline + .checkbox.inline {
196
- margin-left: 10px;
186
+ margin-inline-start: 10px;
197
187
  }
198
188
 
199
189
  /*
@@ -248,7 +238,7 @@ select:focus {
248
238
  .help-inline {
249
239
  display: inline-block;
250
240
  vertical-align: middle;
251
- padding-left: 5px;
241
+ padding-inline-start: 5px;
252
242
  }
253
243
 
254
244
  /*
@@ -279,16 +269,16 @@ select:focus {
279
269
  .form-inline .radio,
280
270
  .form-inline .checkbox,
281
271
  .form-inline .radio {
282
- padding-left: 0;
272
+ padding-inline-start: 0;
283
273
  margin-bottom: 0;
284
274
  vertical-align: middle;
285
275
  }
286
276
 
287
277
  .form-inline .radio input[type="radio"],
288
278
  .form-inline .checkbox input[type="checkbox"] {
289
- float: left;
290
- margin-left: 0;
291
- margin-right: 3px;
279
+ float: inline-start;
280
+ margin-inline-start: 0;
281
+ margin-inline-end: 3px;
292
282
  }
293
283
 
294
284
  /*
@@ -303,8 +293,7 @@ select:focus {
303
293
  }
304
294
 
305
295
  .form-search .search-query {
306
- padding-left: 14px;
307
- padding-right: 14px;
296
+ padding-inline: 14px;
308
297
  margin-bottom: 0;
309
298
  border-radius: 14px;
310
299
  }
@@ -316,23 +305,23 @@ select:focus {
316
305
  .form-search .radio,
317
306
  .form-search .checkbox,
318
307
  .form-inline .radio {
319
- padding-left: 0;
308
+ padding-inline-start: 0;
320
309
  margin-bottom: 0;
321
310
  vertical-align: middle;
322
311
  }
323
312
 
324
313
  .form-search .radio input[type="radio"],
325
314
  .form-search .checkbox input[type="checkbox"] {
326
- float: left;
327
- margin-left: 0;
328
- margin-right: 3px;
315
+ float: inline-start;
316
+ margin-inline-start: 0;
317
+ margin-inline-end: 3px;
329
318
  }
330
319
 
331
320
  /*
332
321
  .form--loading
333
322
  ========================================================================== */
334
323
 
335
- .form--loading:before {
324
+ .form--loading::before {
336
325
  content: "";
337
326
  }
338
327
 
@@ -340,10 +329,10 @@ select:focus {
340
329
  display: block;
341
330
  }
342
331
 
343
- .form:before {
332
+ .form::before {
344
333
  position: absolute;
345
334
  top: 0;
346
- left: 0;
335
+ inset-inline-start: 0;
347
336
  width: 100%;
348
337
  height: 100%;
349
338
  background-color: rgba(255, 255, 255, 0.7);
@@ -354,6 +343,6 @@ select:focus {
354
343
  display: none;
355
344
  position: absolute;
356
345
  top: 50%;
357
- left: 50%;
346
+ inset-inline-start: 50%;
358
347
  z-index: 11;
359
348
  }
@@ -13,8 +13,7 @@
13
13
 
14
14
  &__inner-wrap {
15
15
  @include clearfix;
16
- margin-left: auto;
17
- margin-right: auto;
16
+ margin-inline: auto;
18
17
  padding: 1em;
19
18
  max-width: 100%;
20
19
  display: -webkit-box;
@@ -59,17 +58,16 @@
59
58
  }
60
59
 
61
60
  .masthead__menu {
62
- float: left;
63
- margin-left: 0;
64
- margin-right: 0;
61
+ float: inline-start;
62
+ margin-inline: 0;
65
63
  width: 100%;
66
64
  clear: both;
67
65
 
68
66
  .site-nav {
69
- margin-left: 0;
67
+ margin-inline-start: 0;
70
68
 
71
69
  @include breakpoint($small) {
72
- float: right;
70
+ float: inline-end;
73
71
  }
74
72
  }
75
73
 
@@ -87,7 +85,7 @@
87
85
  white-space: nowrap;
88
86
 
89
87
  &--lg {
90
- padding-right: 2em;
88
+ padding-inline-end: 2em;
91
89
  font-weight: 700;
92
90
  }
93
91
  }