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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -0
- data/README.md +2 -2
- data/_data/ui-text.yml +115 -9
- data/_includes/archive-single.html +1 -1
- data/_includes/breadcrumbs.html +1 -1
- data/_includes/copyright.html +2 -2
- data/_includes/copyright.js +2 -2
- data/_includes/documents-collection.html +2 -2
- data/_includes/figure +2 -2
- data/_includes/footer.html +1 -1
- data/_includes/head.html +1 -1
- data/_includes/post_pagination.html +3 -3
- data/_includes/seo.html +5 -1
- data/_includes/social-share.html +10 -6
- data/_layouts/archive-taxonomy.html +1 -1
- data/_layouts/archive.html +1 -1
- data/_layouts/default.html +2 -2
- data/_layouts/home.html +1 -3
- data/_layouts/search.html +1 -1
- data/_layouts/single.html +10 -3
- data/_layouts/splash.html +1 -1
- data/_sass/minimal-mistakes/_archive.scss +51 -83
- data/_sass/minimal-mistakes/_base.scss +6 -6
- data/_sass/minimal-mistakes/_buttons.scss +5 -4
- data/_sass/minimal-mistakes/_copyright.scss +2 -2
- data/_sass/minimal-mistakes/_footer.scss +6 -8
- data/_sass/minimal-mistakes/_forms.scss +20 -31
- data/_sass/minimal-mistakes/_masthead.scss +6 -8
- data/_sass/minimal-mistakes/_navigation.scss +37 -39
- data/_sass/minimal-mistakes/_notices.scss +1 -1
- data/_sass/minimal-mistakes/_page.scss +28 -45
- data/_sass/minimal-mistakes/_reset.scss +5 -8
- data/_sass/minimal-mistakes/_search.scss +3 -6
- data/_sass/minimal-mistakes/_sidebar.scss +23 -27
- data/_sass/minimal-mistakes/_syntax.scss +10 -5
- data/_sass/minimal-mistakes/_tables.scss +2 -2
- data/_sass/minimal-mistakes/_utilities.scss +25 -41
- data/_sass/minimal-mistakes/_variables.scss +4 -1
- data/_sass/minimal-mistakes/skins/_contrast.scss +1 -1
- data/assets/css/main.scss +1 -1
- data/assets/js/_main.js +19 -15
- data/assets/js/main.min.js +3 -3
- data/assets/js/main.min.js.map +1 -1
- data/assets/js/plugins/jquery.greedy-navigation.js +5 -1
- metadata +2 -2
@@ -10,8 +10,7 @@
|
|
10
10
|
@include clearfix;
|
11
11
|
margin: 0 auto;
|
12
12
|
max-width: 100%;
|
13
|
-
padding-
|
14
|
-
padding-right: 1em;
|
13
|
+
padding-inline: 1em;
|
15
14
|
font-family: $sans-serif;
|
16
15
|
-webkit-animation: $intro-transition;
|
17
16
|
animation: $intro-transition;
|
@@ -28,7 +27,7 @@
|
|
28
27
|
font-size: $type-size-6;
|
29
28
|
|
30
29
|
@include breakpoint($large) {
|
31
|
-
float:
|
30
|
+
float: inline-end;
|
32
31
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
33
32
|
}
|
34
33
|
|
@@ -52,7 +51,7 @@
|
|
52
51
|
|
53
52
|
.pagination {
|
54
53
|
@include clearfix();
|
55
|
-
float:
|
54
|
+
float: inline-start;
|
56
55
|
margin-top: 1em;
|
57
56
|
padding-top: 1em;
|
58
57
|
width: 100%;
|
@@ -66,8 +65,8 @@
|
|
66
65
|
|
67
66
|
li {
|
68
67
|
display: block;
|
69
|
-
float:
|
70
|
-
margin-
|
68
|
+
float: inline-start;
|
69
|
+
margin-inline-start: -1px;
|
71
70
|
|
72
71
|
a {
|
73
72
|
display: block;
|
@@ -101,18 +100,18 @@
|
|
101
100
|
}
|
102
101
|
|
103
102
|
&:first-child {
|
104
|
-
margin-
|
103
|
+
margin-inline-start: 0;
|
105
104
|
|
106
105
|
a {
|
107
|
-
border-
|
108
|
-
border-
|
106
|
+
border-start-start-radius: $border-radius;
|
107
|
+
border-end-start-radius: $border-radius;
|
109
108
|
}
|
110
109
|
}
|
111
110
|
|
112
111
|
&:last-child {
|
113
112
|
a {
|
114
|
-
border-
|
115
|
-
border-
|
113
|
+
border-start-end-radius: $border-radius;
|
114
|
+
border-end-end-radius: $border-radius;
|
116
115
|
}
|
117
116
|
}
|
118
117
|
}
|
@@ -121,7 +120,7 @@
|
|
121
120
|
&--pager {
|
122
121
|
display: block;
|
123
122
|
padding: 1em 2em;
|
124
|
-
float:
|
123
|
+
float: inline-start;
|
125
124
|
width: 50%;
|
126
125
|
font-family: $sans-serif;
|
127
126
|
font-size: $type-size-5;
|
@@ -137,14 +136,14 @@
|
|
137
136
|
}
|
138
137
|
|
139
138
|
&:first-child {
|
140
|
-
border-
|
141
|
-
border-
|
139
|
+
border-start-end-radius: 0;
|
140
|
+
border-end-end-radius: 0;
|
142
141
|
}
|
143
142
|
|
144
143
|
&:last-child {
|
145
|
-
margin-
|
146
|
-
border-
|
147
|
-
border-
|
144
|
+
margin-inline-start: -1px;
|
145
|
+
border-start-start-radius: 0;
|
146
|
+
border-end-start-radius: 0;
|
148
147
|
}
|
149
148
|
|
150
149
|
&.disabled {
|
@@ -192,12 +191,12 @@
|
|
192
191
|
}
|
193
192
|
|
194
193
|
&.site-logo {
|
195
|
-
margin-
|
196
|
-
margin-
|
194
|
+
margin-inline-start: 0;
|
195
|
+
margin-inline-end: 0.5rem;
|
197
196
|
}
|
198
197
|
|
199
198
|
&.site-title {
|
200
|
-
margin-
|
199
|
+
margin-inline-start: 0;
|
201
200
|
}
|
202
201
|
}
|
203
202
|
|
@@ -240,7 +239,7 @@
|
|
240
239
|
&:before {
|
241
240
|
content: "";
|
242
241
|
position: absolute;
|
243
|
-
|
242
|
+
inset-inline-start: 0;
|
244
243
|
bottom: 0;
|
245
244
|
height: 4px;
|
246
245
|
background: $primary-color;
|
@@ -262,7 +261,7 @@
|
|
262
261
|
.hidden-links {
|
263
262
|
position: absolute;
|
264
263
|
top: 100%;
|
265
|
-
|
264
|
+
inset-inline-end: 0;
|
266
265
|
margin-top: 15px;
|
267
266
|
padding: 5px;
|
268
267
|
border: 1px solid $border-color;
|
@@ -287,11 +286,11 @@
|
|
287
286
|
}
|
288
287
|
}
|
289
288
|
|
290
|
-
|
289
|
+
&::before {
|
291
290
|
content: "";
|
292
291
|
position: absolute;
|
293
292
|
top: -11px;
|
294
|
-
|
293
|
+
inset-inline-end: 10px;
|
295
294
|
width: 0;
|
296
295
|
border-style: solid;
|
297
296
|
border-width: 0 10px 10px;
|
@@ -300,11 +299,11 @@
|
|
300
299
|
z-index: 0;
|
301
300
|
}
|
302
301
|
|
303
|
-
|
302
|
+
&::after {
|
304
303
|
content: "";
|
305
304
|
position: absolute;
|
306
305
|
top: -10px;
|
307
|
-
|
306
|
+
inset-inline-end: 10px;
|
308
307
|
width: 0;
|
309
308
|
border-style: solid;
|
310
309
|
border-width: 0 10px 10px;
|
@@ -361,11 +360,11 @@
|
|
361
360
|
transition: 0.2s ease-out;
|
362
361
|
cursor: pointer;
|
363
362
|
|
364
|
-
|
365
|
-
|
363
|
+
&::before,
|
364
|
+
&::after {
|
366
365
|
content: "";
|
367
366
|
position: absolute;
|
368
|
-
|
367
|
+
inset-inline-end: 1em;
|
369
368
|
top: 1.25em;
|
370
369
|
width: 0.75em;
|
371
370
|
height: 0.125em;
|
@@ -446,9 +445,8 @@
|
|
446
445
|
}
|
447
446
|
|
448
447
|
.active {
|
449
|
-
margin-
|
450
|
-
padding-
|
451
|
-
padding-right: 0.5em;
|
448
|
+
margin-inline-start: -0.5em;
|
449
|
+
padding-inline: 0.5em;
|
452
450
|
font-weight: bold;
|
453
451
|
}
|
454
452
|
|
@@ -516,8 +514,8 @@
|
|
516
514
|
color: #fff;
|
517
515
|
font-size: $type-size-6;
|
518
516
|
background: $primary-color;
|
519
|
-
border-
|
520
|
-
border-
|
517
|
+
border-start-start-radius: $border-radius;
|
518
|
+
border-start-end-radius: $border-radius;
|
521
519
|
}
|
522
520
|
|
523
521
|
// Scrollspy marks toc items as .active when they are in focus
|
@@ -551,23 +549,23 @@
|
|
551
549
|
}
|
552
550
|
|
553
551
|
li ul > li a {
|
554
|
-
padding-
|
552
|
+
padding-inline-start: 1.25rem;
|
555
553
|
font-weight: normal;
|
556
554
|
}
|
557
555
|
|
558
556
|
li ul li ul > li a {
|
559
|
-
padding-
|
557
|
+
padding-inline-start: 1.75rem;
|
560
558
|
}
|
561
559
|
|
562
560
|
li ul li ul li ul > li a {
|
563
|
-
padding-
|
561
|
+
padding-inline-start: 2.25rem;
|
564
562
|
}
|
565
563
|
|
566
564
|
li ul li ul li ul li ul > li a {
|
567
|
-
padding-
|
565
|
+
padding-inline-start: 2.75rem;
|
568
566
|
}
|
569
567
|
|
570
568
|
li ul li ul li ul li ul li ul > li a {
|
571
|
-
padding-
|
569
|
+
padding-inline-start: 3.25rem;
|
572
570
|
}
|
573
571
|
}
|
@@ -4,10 +4,8 @@
|
|
4
4
|
|
5
5
|
#main {
|
6
6
|
@include clearfix;
|
7
|
-
margin-
|
8
|
-
|
9
|
-
padding-left: 1em;
|
10
|
-
padding-right: 1em;
|
7
|
+
margin-inline: auto;
|
8
|
+
padding-inline: 1em;
|
11
9
|
-webkit-animation: $intro-transition;
|
12
10
|
animation: $intro-transition;
|
13
11
|
max-width: 100%;
|
@@ -37,21 +35,20 @@ body {
|
|
37
35
|
|
38
36
|
.page {
|
39
37
|
@include breakpoint($large) {
|
40
|
-
float:
|
38
|
+
float: inline-end;
|
41
39
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
42
|
-
padding-
|
40
|
+
padding-inline-end: $right-sidebar-width-narrow;
|
43
41
|
}
|
44
42
|
|
45
43
|
@include breakpoint($x-large) {
|
46
44
|
width: calc(100% - #{$right-sidebar-width});
|
47
|
-
padding-
|
45
|
+
padding-inline-end: $right-sidebar-width;
|
48
46
|
}
|
49
47
|
|
50
48
|
.page__inner-wrap {
|
51
|
-
float:
|
49
|
+
float: inline-start;
|
52
50
|
margin-top: 1em;
|
53
|
-
margin-
|
54
|
-
margin-right: 0;
|
51
|
+
margin-inline: 0;
|
55
52
|
width: 100%;
|
56
53
|
clear: both;
|
57
54
|
|
@@ -59,9 +56,8 @@ body {
|
|
59
56
|
.page__meta,
|
60
57
|
.page__share {
|
61
58
|
position: relative;
|
62
|
-
float:
|
63
|
-
margin-
|
64
|
-
margin-right: 0;
|
59
|
+
float: inline-start;
|
60
|
+
margin-inline: 0;
|
65
61
|
width: 100%;
|
66
62
|
clear: both;
|
67
63
|
}
|
@@ -96,7 +92,7 @@ body {
|
|
96
92
|
h1, h2, h3, h4, h5, h6 {
|
97
93
|
.header-link {
|
98
94
|
position: relative;
|
99
|
-
|
95
|
+
inset-inline-start: 0.5em;
|
100
96
|
opacity: 0;
|
101
97
|
font-size: 0.8em;
|
102
98
|
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
@@ -160,7 +156,7 @@ body {
|
|
160
156
|
}
|
161
157
|
|
162
158
|
dd {
|
163
|
-
margin-
|
159
|
+
margin-inline-start: 1em;
|
164
160
|
font-family: $sans-serif;
|
165
161
|
font-size: $type-size-6;
|
166
162
|
}
|
@@ -172,7 +168,7 @@ body {
|
|
172
168
|
/* blockquote citations */
|
173
169
|
blockquote + .small {
|
174
170
|
margin-top: -1.5em;
|
175
|
-
padding-
|
171
|
+
padding-inline-start: 1.25rem;
|
176
172
|
}
|
177
173
|
}
|
178
174
|
|
@@ -203,8 +199,7 @@ body {
|
|
203
199
|
}
|
204
200
|
|
205
201
|
.wrapper {
|
206
|
-
padding-
|
207
|
-
padding-right: 1em;
|
202
|
+
padding-inline: 1em;
|
208
203
|
|
209
204
|
@include breakpoint($x-large) {
|
210
205
|
max-width: $x-large;
|
@@ -242,14 +237,14 @@ body {
|
|
242
237
|
.page__hero-caption {
|
243
238
|
position: absolute;
|
244
239
|
bottom: 0;
|
245
|
-
|
240
|
+
inset-inline-end: 0;
|
246
241
|
margin: 0 auto;
|
247
242
|
padding: 2px 5px;
|
248
243
|
color: #fff;
|
249
244
|
font-family: $caption-font-family;
|
250
245
|
font-size: $type-size-7;
|
251
246
|
background: #000;
|
252
|
-
text-align:
|
247
|
+
text-align: end;
|
253
248
|
z-index: 5;
|
254
249
|
opacity: 0.5;
|
255
250
|
border-radius: $border-radius 0 0 0;
|
@@ -320,8 +315,7 @@ body {
|
|
320
315
|
|
321
316
|
.page__meta-sep::before {
|
322
317
|
content: "\2022";
|
323
|
-
padding-
|
324
|
-
padding-right: 0.5em;
|
318
|
+
padding-inline: 0.5em;
|
325
319
|
}
|
326
320
|
|
327
321
|
/*
|
@@ -334,13 +328,13 @@ body {
|
|
334
328
|
}
|
335
329
|
|
336
330
|
strong {
|
337
|
-
margin-
|
331
|
+
margin-inline-end: 10px;
|
338
332
|
}
|
339
333
|
}
|
340
334
|
|
341
335
|
.page__taxonomy-item {
|
342
336
|
display: inline-block;
|
343
|
-
margin-
|
337
|
+
margin-inline-end: 5px;
|
344
338
|
margin-bottom: 8px;
|
345
339
|
padding: 5px 10px;
|
346
340
|
text-decoration: none;
|
@@ -417,7 +411,7 @@ body {
|
|
417
411
|
color: $muted-text-color;
|
418
412
|
font-size: 0.6em;
|
419
413
|
text-transform: uppercase;
|
420
|
-
text-align:
|
414
|
+
text-align: end;
|
421
415
|
text-decoration: none;
|
422
416
|
}
|
423
417
|
|
@@ -426,9 +420,8 @@ body {
|
|
426
420
|
========================================================================== */
|
427
421
|
|
428
422
|
.page__comments {
|
429
|
-
float:
|
430
|
-
margin-
|
431
|
-
margin-right: 0;
|
423
|
+
float: inline-start;
|
424
|
+
margin-inline: 0;
|
432
425
|
width: 100%;
|
433
426
|
clear: both;
|
434
427
|
}
|
@@ -470,7 +463,7 @@ body {
|
|
470
463
|
}
|
471
464
|
|
472
465
|
.comment__avatar-wrapper {
|
473
|
-
float:
|
466
|
+
float: inline-start;
|
474
467
|
width: 60px;
|
475
468
|
height: 60px;
|
476
469
|
|
@@ -494,7 +487,7 @@ body {
|
|
494
487
|
}
|
495
488
|
|
496
489
|
.comment__content-wrapper {
|
497
|
-
float:
|
490
|
+
float: inline-end;
|
498
491
|
width: calc(100% - 60px);
|
499
492
|
|
500
493
|
@include breakpoint($large) {
|
@@ -525,13 +518,13 @@ body {
|
|
525
518
|
|
526
519
|
.page__related {
|
527
520
|
@include clearfix();
|
528
|
-
float:
|
521
|
+
float: inline-start;
|
529
522
|
margin-top: 2em;
|
530
523
|
padding-top: 1em;
|
531
524
|
border-top: 1px solid $border-color;
|
532
525
|
|
533
526
|
@include breakpoint($large) {
|
534
|
-
float:
|
527
|
+
float: inline-end;
|
535
528
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
536
529
|
}
|
537
530
|
|
@@ -556,23 +549,13 @@ body {
|
|
556
549
|
========================================================================== */
|
557
550
|
|
558
551
|
.wide {
|
559
|
-
.page {
|
552
|
+
.page, .page__related {
|
560
553
|
@include breakpoint($large) {
|
561
|
-
padding-
|
554
|
+
padding-inline-end: 0;
|
562
555
|
}
|
563
556
|
|
564
557
|
@include breakpoint($x-large) {
|
565
|
-
padding-
|
566
|
-
}
|
567
|
-
}
|
568
|
-
|
569
|
-
.page__related {
|
570
|
-
@include breakpoint($large) {
|
571
|
-
padding-right: 0;
|
572
|
-
}
|
573
|
-
|
574
|
-
@include breakpoint($x-large) {
|
575
|
-
padding-right: 0;
|
558
|
+
padding-inline-end: 0;
|
576
559
|
}
|
577
560
|
}
|
578
561
|
}
|
@@ -8,18 +8,18 @@ html {
|
|
8
8
|
/* apply a natural box layout model to all elements */
|
9
9
|
box-sizing: border-box;
|
10
10
|
background-color: $background-color;
|
11
|
-
font-size:
|
11
|
+
font-size: $doc-font-size;
|
12
12
|
|
13
13
|
@include breakpoint($medium) {
|
14
|
-
font-size:
|
14
|
+
font-size: $doc-font-size-medium;
|
15
15
|
}
|
16
16
|
|
17
17
|
@include breakpoint($large) {
|
18
|
-
font-size:
|
18
|
+
font-size: $doc-font-size-large;
|
19
19
|
}
|
20
20
|
|
21
21
|
@include breakpoint($x-large) {
|
22
|
-
font-size:
|
22
|
+
font-size: $doc-font-size-x-large;
|
23
23
|
}
|
24
24
|
|
25
25
|
-webkit-text-size-adjust: 100%;
|
@@ -64,8 +64,6 @@ audio,
|
|
64
64
|
canvas,
|
65
65
|
video {
|
66
66
|
display: inline-block;
|
67
|
-
*display: inline;
|
68
|
-
*zoom: 1;
|
69
67
|
}
|
70
68
|
|
71
69
|
/* Prevents modern browsers from displaying 'audio' without controls */
|
@@ -142,7 +140,6 @@ textarea {
|
|
142
140
|
|
143
141
|
button,
|
144
142
|
input {
|
145
|
-
*overflow: visible; /* inner spacing ie IE6/7*/
|
146
143
|
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
147
144
|
}
|
148
145
|
|
@@ -184,4 +181,4 @@ input[type="search"]::-webkit-search-cancel-button {
|
|
184
181
|
textarea {
|
185
182
|
overflow: auto; /* remove vertical scrollbar in IE6-9*/
|
186
183
|
vertical-align: top; /* readability and alignment cross-browser*/
|
187
|
-
}
|
184
|
+
}
|
@@ -9,8 +9,7 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
.search__toggle {
|
12
|
-
margin-
|
13
|
-
margin-right: 1rem;
|
12
|
+
margin-inline: 1rem;
|
14
13
|
height: $nav-toggle-height;
|
15
14
|
border: 0;
|
16
15
|
outline: none;
|
@@ -38,10 +37,8 @@
|
|
38
37
|
|
39
38
|
&__inner-wrap {
|
40
39
|
width: 100%;
|
41
|
-
margin-
|
42
|
-
|
43
|
-
padding-left: 1em;
|
44
|
-
padding-right: 1em;
|
40
|
+
margin-inline: auto;
|
41
|
+
padding-inline: 1em;
|
45
42
|
-webkit-animation: $intro-transition;
|
46
43
|
animation: $intro-transition;
|
47
44
|
-webkit-animation-delay: 0.15s;
|
@@ -17,7 +17,7 @@
|
|
17
17
|
// }
|
18
18
|
|
19
19
|
@include breakpoint($large) {
|
20
|
-
float:
|
20
|
+
float: inline-start;
|
21
21
|
width: calc(#{$right-sidebar-width-narrow} - 1em);
|
22
22
|
opacity: 0.75;
|
23
23
|
-webkit-transition: opacity 0.2s ease-in-out;
|
@@ -77,10 +77,10 @@
|
|
77
77
|
@include breakpoint($large) {
|
78
78
|
position: absolute;
|
79
79
|
top: 0;
|
80
|
-
|
80
|
+
inset-inline-end: 0;
|
81
81
|
width: $right-sidebar-width-narrow;
|
82
|
-
margin-
|
83
|
-
padding-
|
82
|
+
margin-inline-end: -1 * $right-sidebar-width-narrow;
|
83
|
+
padding-inline-start: 1em;
|
84
84
|
z-index: 10;
|
85
85
|
|
86
86
|
&.sticky {
|
@@ -88,7 +88,7 @@
|
|
88
88
|
position: -webkit-sticky;
|
89
89
|
position: sticky;
|
90
90
|
top: 2em;
|
91
|
-
float:
|
91
|
+
float: inline-end;
|
92
92
|
|
93
93
|
.toc {
|
94
94
|
.toc__menu {
|
@@ -101,19 +101,19 @@
|
|
101
101
|
|
102
102
|
@include breakpoint($x-large) {
|
103
103
|
width: $right-sidebar-width;
|
104
|
-
margin-
|
104
|
+
margin-inline-end: -1 * $right-sidebar-width;
|
105
105
|
}
|
106
106
|
}
|
107
107
|
|
108
108
|
.splash .sidebar__right {
|
109
109
|
@include breakpoint($large) {
|
110
110
|
position: relative;
|
111
|
-
float:
|
112
|
-
margin-
|
111
|
+
float: inline-end;
|
112
|
+
margin-inline-end: 0;
|
113
113
|
}
|
114
114
|
|
115
115
|
@include breakpoint($x-large) {
|
116
|
-
margin-
|
116
|
+
margin-inline-end: 0;
|
117
117
|
}
|
118
118
|
}
|
119
119
|
|
@@ -147,15 +147,13 @@
|
|
147
147
|
.author__content {
|
148
148
|
display: table-cell;
|
149
149
|
vertical-align: top;
|
150
|
-
padding-
|
151
|
-
padding-right: 25px;
|
150
|
+
padding-inline: 15px 25px;
|
152
151
|
line-height: 1;
|
153
152
|
|
154
153
|
@include breakpoint($large) {
|
155
154
|
display: block;
|
156
155
|
width: 100%;
|
157
|
-
padding-
|
158
|
-
padding-right: 0;
|
156
|
+
padding-inline: 0;
|
159
157
|
}
|
160
158
|
|
161
159
|
a {
|
@@ -202,7 +200,7 @@
|
|
202
200
|
|
203
201
|
.author__urls {
|
204
202
|
span.label {
|
205
|
-
padding-
|
203
|
+
padding-inline-start: 5px;
|
206
204
|
}
|
207
205
|
}
|
208
206
|
|
@@ -219,7 +217,7 @@
|
|
219
217
|
content: '';
|
220
218
|
position: fixed;
|
221
219
|
top: 0;
|
222
|
-
|
220
|
+
inset-inline-start: 0;
|
223
221
|
width: 100%;
|
224
222
|
height: 100%;
|
225
223
|
pointer-events: none;
|
@@ -241,7 +239,7 @@
|
|
241
239
|
.author__urls {
|
242
240
|
display: none;
|
243
241
|
position: absolute;
|
244
|
-
|
242
|
+
inset-inline-end: 0;
|
245
243
|
margin-top: 15px;
|
246
244
|
padding: 10px;
|
247
245
|
list-style-type: none;
|
@@ -265,12 +263,12 @@
|
|
265
263
|
box-shadow: none;
|
266
264
|
}
|
267
265
|
|
268
|
-
|
266
|
+
&::before {
|
269
267
|
display: block;
|
270
268
|
content: "";
|
271
269
|
position: absolute;
|
272
270
|
top: -11px;
|
273
|
-
|
271
|
+
inset-inline-start: calc(50% - 10px);
|
274
272
|
width: 0;
|
275
273
|
border-style: solid;
|
276
274
|
border-width: 0 10px 10px;
|
@@ -287,7 +285,7 @@
|
|
287
285
|
content: "";
|
288
286
|
position: absolute;
|
289
287
|
top: -10px;
|
290
|
-
|
288
|
+
inset-inline-start: calc(50% - 10px);
|
291
289
|
width: 0;
|
292
290
|
border-style: solid;
|
293
291
|
border-width: 0 10px 10px;
|
@@ -311,9 +309,8 @@
|
|
311
309
|
a {
|
312
310
|
display: block;
|
313
311
|
margin-bottom: 5px;
|
314
|
-
padding-
|
315
|
-
padding-
|
316
|
-
padding-bottom: 2px;
|
312
|
+
padding-block: 2px;
|
313
|
+
padding-inline-end: 5px;
|
317
314
|
color: inherit;
|
318
315
|
font-size: $type-size-5;
|
319
316
|
text-decoration: none;
|
@@ -334,10 +331,10 @@
|
|
334
331
|
@include breakpoint($large) {
|
335
332
|
position: initial;
|
336
333
|
top: initial;
|
337
|
-
|
334
|
+
inset-inline-end: initial;
|
338
335
|
width: initial;
|
339
|
-
margin-
|
340
|
-
padding-
|
336
|
+
margin-inline-end: initial;
|
337
|
+
padding-inline-start: initial;
|
341
338
|
z-index: initial;
|
342
339
|
|
343
340
|
&.sticky {
|
@@ -347,7 +344,6 @@
|
|
347
344
|
|
348
345
|
@include breakpoint($x-large) {
|
349
346
|
width: initial;
|
350
|
-
margin-
|
347
|
+
margin-inline-end: initial;
|
351
348
|
}
|
352
349
|
}
|
353
|
-
|
@@ -13,6 +13,11 @@ figure.highlight {
|
|
13
13
|
line-height: 1.8;
|
14
14
|
border-radius: $border-radius;
|
15
15
|
|
16
|
+
[dir=rtl] & {
|
17
|
+
direction: ltr;
|
18
|
+
text-align: start;
|
19
|
+
}
|
20
|
+
|
16
21
|
> pre,
|
17
22
|
pre.highlight {
|
18
23
|
margin: 0;
|
@@ -33,17 +38,17 @@ figure.highlight {
|
|
33
38
|
/* line numbers*/
|
34
39
|
&.gutter,
|
35
40
|
&.rouge-gutter {
|
36
|
-
padding-
|
41
|
+
padding-inline-end: 1em;
|
37
42
|
width: 1em;
|
38
43
|
color: $base04;
|
39
|
-
border-
|
40
|
-
text-align:
|
44
|
+
border-inline-end: 1px solid $base04;
|
45
|
+
text-align: end;
|
41
46
|
}
|
42
47
|
|
43
48
|
/* code */
|
44
49
|
&.code,
|
45
50
|
&.rouge-code {
|
46
|
-
padding-
|
51
|
+
padding-inline-start: 1em;
|
47
52
|
}
|
48
53
|
}
|
49
54
|
|
@@ -321,4 +326,4 @@ figure.highlight {
|
|
321
326
|
th, td {
|
322
327
|
border-bottom: 0;
|
323
328
|
}
|
324
|
-
}
|
329
|
+
}
|