hexo-theme-linen 1.0.52 → 1.0.54
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.
- package/layout/post.ejs +4 -4
- package/package.json +1 -1
- package/scripts/lazyload/inject.js +20 -16
- package/source/linen-theme/css/_mediaquery.scss +144 -45
- package/source/linen-theme/css/lazyload.css +20 -16
- package/source/linen-theme/css/linen.scss +908 -525
- package/source/linen-theme/css/linkcard.scss +67 -52
- package/source/linen-theme/css/vars.scss +66 -35
- package/source/linen-theme/js/linen.js +4 -3
|
@@ -5,19 +5,38 @@
|
|
|
5
5
|
@use "./font-version.scss" as *;
|
|
6
6
|
@use "./mediaquery.scss" as mq;
|
|
7
7
|
|
|
8
|
+
:root {
|
|
9
|
+
--linen-accent: #{$accent};
|
|
10
|
+
--linen-accent-dark: #{$accentDark};
|
|
11
|
+
--linen-accent-soft: #{$accentSoft};
|
|
12
|
+
--linen-accent-border: #{$accentBorder};
|
|
13
|
+
--linen-bg: #{$bg};
|
|
14
|
+
--linen-surface: #{$surface};
|
|
15
|
+
--linen-surface-alt: #{$surfaceAlt};
|
|
16
|
+
--linen-ink: #{$darkText};
|
|
17
|
+
--linen-ink-secondary: #{$grayerText};
|
|
18
|
+
--linen-ink-muted: #{$metaText};
|
|
19
|
+
--linen-ink-subtle: #{$moreGrayText};
|
|
20
|
+
--linen-border-subtle: #{$borderSubtle};
|
|
21
|
+
--linen-border: #{$borderColor};
|
|
22
|
+
--linen-border-strong: #{$borderStrong};
|
|
23
|
+
--linen-radius-sm: #{$radiusSm};
|
|
24
|
+
--linen-radius-md: #{$radiusMd};
|
|
25
|
+
--linen-radius-lg: #{$radiusLg};
|
|
26
|
+
--linen-radius-sheet: #{$radiusSheet};
|
|
27
|
+
--linen-ease: #{$easeOut};
|
|
28
|
+
}
|
|
29
|
+
|
|
8
30
|
@font-face {
|
|
9
31
|
font-family: "source han serif cn";
|
|
10
32
|
src:
|
|
11
33
|
local("STSongti-SC-Regular"),
|
|
12
34
|
local("Songti SC Regular"),
|
|
13
35
|
local("STSong"),
|
|
14
|
-
local("SimSun"),
|
|
15
|
-
local("宋体"),
|
|
16
|
-
local("NSimSun"),
|
|
17
36
|
local("Source Han Serif SC"),
|
|
18
37
|
local("Source Han Serif CN"),
|
|
19
38
|
url("../fonts/SourceHanSerifSC-Regular.woff2?v=#{$font-version}") format("woff2");
|
|
20
|
-
|
|
39
|
+
|
|
21
40
|
font-weight: 400;
|
|
22
41
|
font-style: normal;
|
|
23
42
|
font-display: swap;
|
|
@@ -90,6 +109,12 @@ html {
|
|
|
90
109
|
-webkit-text-size-adjust: 100%;
|
|
91
110
|
}
|
|
92
111
|
|
|
112
|
+
:focus-visible {
|
|
113
|
+
outline: 2px solid rgba(168, 69, 46, 0.45);
|
|
114
|
+
outline-offset: 2px;
|
|
115
|
+
border-radius: $radiusSm;
|
|
116
|
+
}
|
|
117
|
+
|
|
93
118
|
a {
|
|
94
119
|
text-decoration: none;
|
|
95
120
|
color: $linkColor;
|
|
@@ -100,13 +125,19 @@ a {
|
|
|
100
125
|
}
|
|
101
126
|
|
|
102
127
|
@mixin postItem {
|
|
103
|
-
background-color:
|
|
128
|
+
background-color: $bg;
|
|
104
129
|
display: block;
|
|
105
|
-
padding:
|
|
106
|
-
border-bottom: 1px solid
|
|
130
|
+
padding: 24px 0;
|
|
131
|
+
border-bottom: 1px solid $borderSubtle;
|
|
132
|
+
cursor: pointer;
|
|
107
133
|
&:last-child {
|
|
108
134
|
border-bottom: none;
|
|
109
135
|
}
|
|
136
|
+
&:hover {
|
|
137
|
+
.cover-img img {
|
|
138
|
+
transform: scale(1.028);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
110
141
|
.item-body {
|
|
111
142
|
width: 100%;
|
|
112
143
|
display: block;
|
|
@@ -122,11 +153,13 @@ a {
|
|
|
122
153
|
.title {
|
|
123
154
|
color: $darkText;
|
|
124
155
|
font-weight: bold;
|
|
125
|
-
font-size:
|
|
156
|
+
font-size: 23px;
|
|
157
|
+
line-height: 1.38;
|
|
126
158
|
text-decoration: none;
|
|
127
159
|
white-space: wrap;
|
|
160
|
+
transition: color 180ms $easeOut;
|
|
128
161
|
&:hover {
|
|
129
|
-
|
|
162
|
+
color: $accent;
|
|
130
163
|
}
|
|
131
164
|
.sub-title {
|
|
132
165
|
@include subTitle;
|
|
@@ -134,8 +167,9 @@ a {
|
|
|
134
167
|
}
|
|
135
168
|
.excerpt {
|
|
136
169
|
cursor: text;
|
|
137
|
-
margin: 0.
|
|
170
|
+
margin: 0.55rem 0 0.65rem;
|
|
138
171
|
color: $grayerText;
|
|
172
|
+
line-height: 1.65;
|
|
139
173
|
white-space: wrap;
|
|
140
174
|
}
|
|
141
175
|
.post-meta {
|
|
@@ -150,9 +184,11 @@ a {
|
|
|
150
184
|
display: inline;
|
|
151
185
|
color: $metaText;
|
|
152
186
|
margin-left: 10px;
|
|
187
|
+
transition: color 160ms $easeOut;
|
|
153
188
|
&:hover {
|
|
154
189
|
text-decoration: underline;
|
|
155
|
-
|
|
190
|
+
text-underline-offset: 0.2em;
|
|
191
|
+
color: $accent;
|
|
156
192
|
}
|
|
157
193
|
}
|
|
158
194
|
}
|
|
@@ -163,10 +199,12 @@ a {
|
|
|
163
199
|
.cover-img {
|
|
164
200
|
float: right;
|
|
165
201
|
width: 25%;
|
|
166
|
-
margin-left:
|
|
202
|
+
margin-left: 18px;
|
|
167
203
|
height: fit-content;
|
|
168
204
|
position: relative;
|
|
169
|
-
|
|
205
|
+
overflow: hidden;
|
|
206
|
+
border-radius: $radiusSm;
|
|
207
|
+
border: 1px solid $borderColor;
|
|
170
208
|
&:before {
|
|
171
209
|
content: "";
|
|
172
210
|
display: block;
|
|
@@ -181,6 +219,7 @@ a {
|
|
|
181
219
|
width: 100%;
|
|
182
220
|
height: 100%;
|
|
183
221
|
object-fit: cover;
|
|
222
|
+
transition: transform 0.5s $easeOut;
|
|
184
223
|
}
|
|
185
224
|
.post-list-cover-lazy {
|
|
186
225
|
position: absolute;
|
|
@@ -214,23 +253,44 @@ a {
|
|
|
214
253
|
|
|
215
254
|
#back-to-top {
|
|
216
255
|
position: fixed;
|
|
217
|
-
right:
|
|
218
|
-
bottom:
|
|
219
|
-
width:
|
|
220
|
-
height:
|
|
256
|
+
right: 22px;
|
|
257
|
+
bottom: 22px;
|
|
258
|
+
width: 42px;
|
|
259
|
+
height: 42px;
|
|
221
260
|
z-index: 999;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
background-color: rgba(255, 255, 255, 0.
|
|
226
|
-
border
|
|
227
|
-
|
|
228
|
-
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
justify-content: center;
|
|
264
|
+
background-color: rgba(255, 255, 255, 0.88);
|
|
265
|
+
border: 1px solid $borderColor;
|
|
266
|
+
border-radius: $radiusMd;
|
|
267
|
+
backdrop-filter: blur(10px);
|
|
268
|
+
-webkit-backdrop-filter: blur(10px);
|
|
269
|
+
color: $darkText;
|
|
229
270
|
pointer-events: none;
|
|
230
|
-
transform: translateY(
|
|
231
|
-
transition:
|
|
271
|
+
transform: translateY(20px);
|
|
272
|
+
transition:
|
|
273
|
+
transform 0.32s $easeOut,
|
|
274
|
+
opacity 0.28s $easeOut,
|
|
275
|
+
border-color 0.2s $easeOut,
|
|
276
|
+
color 0.2s $easeOut,
|
|
277
|
+
background-color 0.2s $easeOut;
|
|
232
278
|
opacity: 0;
|
|
233
|
-
box-shadow: rgba(
|
|
279
|
+
box-shadow: 0 6px 18px rgba(34, 33, 31, 0.08);
|
|
280
|
+
&::before {
|
|
281
|
+
content: "";
|
|
282
|
+
display: block;
|
|
283
|
+
width: 18px;
|
|
284
|
+
height: 18px;
|
|
285
|
+
background-color: currentColor;
|
|
286
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
|
|
287
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
|
|
288
|
+
}
|
|
289
|
+
&:hover {
|
|
290
|
+
color: $accent;
|
|
291
|
+
border-color: $accentBorder;
|
|
292
|
+
background-color: #fff;
|
|
293
|
+
}
|
|
234
294
|
&.visible {
|
|
235
295
|
transform: translateY(0);
|
|
236
296
|
pointer-events: all;
|
|
@@ -276,8 +336,8 @@ body {
|
|
|
276
336
|
}
|
|
277
337
|
|
|
278
338
|
.nav-header {
|
|
279
|
-
background-color:
|
|
280
|
-
|
|
339
|
+
background-color: $bg;
|
|
340
|
+
border-bottom: 1px solid $borderSubtle;
|
|
281
341
|
transform: translateY(0);
|
|
282
342
|
z-index: 9;
|
|
283
343
|
position: relative;
|
|
@@ -287,8 +347,9 @@ body {
|
|
|
287
347
|
height: $navbarMinHeight;
|
|
288
348
|
.header-inner {
|
|
289
349
|
height: 100%;
|
|
350
|
+
max-width: $siteMaxWidth;
|
|
351
|
+
margin: 0 auto;
|
|
290
352
|
@include pageXPadding;
|
|
291
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
|
|
292
353
|
display: flex;
|
|
293
354
|
align-items: center;
|
|
294
355
|
flex-wrap: wrap;
|
|
@@ -316,14 +377,16 @@ body {
|
|
|
316
377
|
text-decoration: none;
|
|
317
378
|
font-size: 15px;
|
|
318
379
|
color: $grayerText;
|
|
380
|
+
transition: color 180ms $easeOut;
|
|
319
381
|
&:hover {
|
|
320
|
-
|
|
382
|
+
color: $darkText;
|
|
321
383
|
}
|
|
322
384
|
&:not(:last-child) {
|
|
323
385
|
margin-right: 22px;
|
|
324
386
|
}
|
|
325
387
|
&.active {
|
|
326
|
-
font-weight:
|
|
388
|
+
font-weight: 600;
|
|
389
|
+
color: $darkText;
|
|
327
390
|
}
|
|
328
391
|
}
|
|
329
392
|
}
|
|
@@ -333,9 +396,9 @@ body {
|
|
|
333
396
|
align-items: center;
|
|
334
397
|
gap: 16px;
|
|
335
398
|
.button {
|
|
336
|
-
width:
|
|
337
|
-
height:
|
|
338
|
-
transition: opacity
|
|
399
|
+
width: 22px;
|
|
400
|
+
height: 22px;
|
|
401
|
+
transition: opacity 200ms $easeOut;
|
|
339
402
|
&.toc {
|
|
340
403
|
background-image: url("../img/icons/toc1.svg");
|
|
341
404
|
background-size: contain;
|
|
@@ -355,14 +418,14 @@ body {
|
|
|
355
418
|
&.zh-CN {
|
|
356
419
|
background-image: url("../img/icons/chinese.svg");
|
|
357
420
|
background-size: cover;
|
|
358
|
-
width:
|
|
359
|
-
height:
|
|
421
|
+
width: 25px;
|
|
422
|
+
height: 25px;
|
|
360
423
|
}
|
|
361
424
|
&.en {
|
|
362
425
|
background-image: url("../img/icons/english.svg");
|
|
363
426
|
background-size: cover;
|
|
364
|
-
width:
|
|
365
|
-
height:
|
|
427
|
+
width: 25px;
|
|
428
|
+
height: 25px;
|
|
366
429
|
}
|
|
367
430
|
&.rss {
|
|
368
431
|
background-image: url("../img/icons/rss.svg");
|
|
@@ -375,7 +438,7 @@ body {
|
|
|
375
438
|
background-position: center;
|
|
376
439
|
cursor: pointer;
|
|
377
440
|
position: relative;
|
|
378
|
-
transition: opacity 0.2s
|
|
441
|
+
transition: opacity 0.2s $easeOut;
|
|
379
442
|
|
|
380
443
|
&:hover {
|
|
381
444
|
opacity: 0.75;
|
|
@@ -385,13 +448,13 @@ body {
|
|
|
385
448
|
content: "";
|
|
386
449
|
position: absolute;
|
|
387
450
|
inset: 0;
|
|
388
|
-
background: linear-gradient(
|
|
451
|
+
background: linear-gradient(135deg, #c97a63 0%, #a8452e 52%, #c8914b 100%);
|
|
389
452
|
-webkit-mask: url("../img/icons/hdr.svg") no-repeat center;
|
|
390
453
|
mask: url("../img/icons/hdr.svg") no-repeat center;
|
|
391
454
|
-webkit-mask-size: contain;
|
|
392
455
|
mask-size: contain;
|
|
393
456
|
opacity: 0;
|
|
394
|
-
transition: opacity 0.3s
|
|
457
|
+
transition: opacity 0.3s $easeOut;
|
|
395
458
|
pointer-events: none;
|
|
396
459
|
}
|
|
397
460
|
|
|
@@ -404,14 +467,14 @@ body {
|
|
|
404
467
|
top: 50%;
|
|
405
468
|
margin-top: -1px;
|
|
406
469
|
left: 2%;
|
|
407
|
-
background-color:
|
|
470
|
+
background-color: $darkText;
|
|
408
471
|
border-radius: 2px;
|
|
409
472
|
transform: rotate(37deg) scaleX(1);
|
|
410
473
|
transform-origin: center;
|
|
411
474
|
opacity: 1;
|
|
412
475
|
transition:
|
|
413
|
-
transform 0.3s
|
|
414
|
-
opacity 0.25s
|
|
476
|
+
transform 0.3s $easeOut,
|
|
477
|
+
opacity 0.25s $easeOut;
|
|
415
478
|
pointer-events: none;
|
|
416
479
|
}
|
|
417
480
|
|
|
@@ -426,7 +489,7 @@ body {
|
|
|
426
489
|
}
|
|
427
490
|
}
|
|
428
491
|
&:hover {
|
|
429
|
-
opacity: 0.
|
|
492
|
+
opacity: 0.65;
|
|
430
493
|
}
|
|
431
494
|
}
|
|
432
495
|
}
|
|
@@ -562,10 +625,15 @@ body {
|
|
|
562
625
|
|
|
563
626
|
#post,
|
|
564
627
|
#raw-markdown-block {
|
|
565
|
-
background-color:
|
|
628
|
+
background-color: $bg;
|
|
566
629
|
color: $darkText;
|
|
567
|
-
word-break:
|
|
630
|
+
word-break: normal;
|
|
631
|
+
overflow-wrap: break-word;
|
|
568
632
|
.post-title {
|
|
633
|
+
margin: 0.9em 0 0.55em;
|
|
634
|
+
line-height: 1.3;
|
|
635
|
+
letter-spacing: -0.01em;
|
|
636
|
+
word-break: break-all;
|
|
569
637
|
.sub-title {
|
|
570
638
|
@include subTitle;
|
|
571
639
|
}
|
|
@@ -577,34 +645,56 @@ body {
|
|
|
577
645
|
h5,
|
|
578
646
|
h6 {
|
|
579
647
|
@include defaultFont;
|
|
648
|
+
color: $darkText;
|
|
649
|
+
}
|
|
650
|
+
h1 {
|
|
651
|
+
font-size: 2rem;
|
|
652
|
+
}
|
|
653
|
+
h2 {
|
|
654
|
+
font-size: 1.45em;
|
|
655
|
+
line-height: 1.38;
|
|
656
|
+
font-weight: 700;
|
|
657
|
+
margin: 2.15em 0 0.85em;
|
|
658
|
+
}
|
|
659
|
+
h3 {
|
|
660
|
+
font-size: 1.2em;
|
|
661
|
+
line-height: 1.42;
|
|
662
|
+
font-weight: 600;
|
|
663
|
+
margin: 1.7em 0 0.65em;
|
|
664
|
+
}
|
|
665
|
+
h4 {
|
|
666
|
+
font-size: 1.05em;
|
|
667
|
+
line-height: 1.45;
|
|
668
|
+
font-weight: 600;
|
|
669
|
+
margin: 1.4em 0 0.55em;
|
|
580
670
|
}
|
|
581
671
|
h2,
|
|
582
672
|
h3 {
|
|
583
|
-
|
|
673
|
+
position: relative;
|
|
674
|
+
cursor: pointer;
|
|
675
|
+
transition: opacity 180ms $easeOut;
|
|
584
676
|
&::before {
|
|
585
677
|
position: absolute;
|
|
586
|
-
left: -0.
|
|
678
|
+
left: -0.82em;
|
|
587
679
|
top: 50%;
|
|
588
680
|
content: "";
|
|
589
|
-
transform:
|
|
681
|
+
transform: translateY(-40%);
|
|
590
682
|
display: inline-block;
|
|
591
|
-
width: 0.
|
|
592
|
-
height: 0.
|
|
593
|
-
background-
|
|
594
|
-
|
|
595
|
-
|
|
683
|
+
width: 0.68em;
|
|
684
|
+
height: 0.68em;
|
|
685
|
+
background-color: $accent;
|
|
686
|
+
-webkit-mask: url("../img/icons/link.svg") no-repeat center / contain;
|
|
687
|
+
mask: url("../img/icons/link.svg") no-repeat center / contain;
|
|
688
|
+
transition:
|
|
689
|
+
opacity 220ms $easeOut,
|
|
690
|
+
transform 220ms $easeOut;
|
|
596
691
|
opacity: 0;
|
|
597
692
|
}
|
|
598
|
-
}
|
|
599
|
-
h2,
|
|
600
|
-
h3 {
|
|
601
|
-
cursor: pointer;
|
|
602
693
|
&:hover {
|
|
603
|
-
opacity: 0.
|
|
604
|
-
position: relative;
|
|
694
|
+
opacity: 0.78;
|
|
605
695
|
&::before {
|
|
606
|
-
opacity:
|
|
607
|
-
transform:
|
|
696
|
+
opacity: 0.85;
|
|
697
|
+
transform: translateY(-50%);
|
|
608
698
|
}
|
|
609
699
|
}
|
|
610
700
|
}
|
|
@@ -633,7 +723,7 @@ body {
|
|
|
633
723
|
}
|
|
634
724
|
h2,
|
|
635
725
|
h3 {
|
|
636
|
-
scroll-margin-top:
|
|
726
|
+
scroll-margin-top: 1em;
|
|
637
727
|
}
|
|
638
728
|
strong {
|
|
639
729
|
@include defaultFont();
|
|
@@ -641,11 +731,16 @@ body {
|
|
|
641
731
|
#page-content {
|
|
642
732
|
@include sourceSerifFont;
|
|
643
733
|
font-size: 17px;
|
|
644
|
-
line-height: 1.
|
|
734
|
+
line-height: 1.82;
|
|
645
735
|
color: $darkText;
|
|
646
736
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
647
737
|
text-autospace: normal;
|
|
648
738
|
|
|
739
|
+
> p {
|
|
740
|
+
margin-top: 0;
|
|
741
|
+
margin-bottom: 1.2em;
|
|
742
|
+
}
|
|
743
|
+
|
|
649
744
|
> :last-child {
|
|
650
745
|
margin-bottom: 0;
|
|
651
746
|
}
|
|
@@ -723,6 +818,8 @@ body {
|
|
|
723
818
|
letter-spacing: 0.16em;
|
|
724
819
|
color: #a8452e;
|
|
725
820
|
opacity: 1;
|
|
821
|
+
-webkit-mask: none;
|
|
822
|
+
mask: none;
|
|
726
823
|
background:
|
|
727
824
|
linear-gradient(rgba(168, 69, 46, 0.35), rgba(168, 69, 46, 0.35))
|
|
728
825
|
left center / 24px 1px no-repeat,
|
|
@@ -782,7 +879,7 @@ body {
|
|
|
782
879
|
align-items: center;
|
|
783
880
|
width: 100%;
|
|
784
881
|
box-sizing: border-box;
|
|
785
|
-
margin: 1.9em
|
|
882
|
+
margin: 1.9em auto 0.85em;
|
|
786
883
|
padding: 0;
|
|
787
884
|
font-size: 1.18em;
|
|
788
885
|
font-weight: 900;
|
|
@@ -809,6 +906,8 @@ body {
|
|
|
809
906
|
font-weight: 400;
|
|
810
907
|
line-height: 1;
|
|
811
908
|
color: rgba(168, 69, 46, 0.78);
|
|
909
|
+
-webkit-mask: none;
|
|
910
|
+
mask: none;
|
|
812
911
|
background-image: none;
|
|
813
912
|
background-color: transparent;
|
|
814
913
|
opacity: 1;
|
|
@@ -864,7 +963,7 @@ body {
|
|
|
864
963
|
align-items: center;
|
|
865
964
|
width: 100%;
|
|
866
965
|
box-sizing: border-box;
|
|
867
|
-
margin: 1.55em
|
|
966
|
+
margin: 1.55em auto 0.7em;
|
|
868
967
|
font-size: 1.04em;
|
|
869
968
|
font-weight: 900;
|
|
870
969
|
line-height: 1.5;
|
|
@@ -913,7 +1012,7 @@ body {
|
|
|
913
1012
|
|
|
914
1013
|
table:not(:where(.highlight table)) {
|
|
915
1014
|
width: 100%;
|
|
916
|
-
margin: 1.6em
|
|
1015
|
+
margin: 1.6em auto;
|
|
917
1016
|
border: none;
|
|
918
1017
|
border-top: 1px dashed rgba(168, 69, 46, 0.42);
|
|
919
1018
|
border-bottom: 1px dashed rgba(168, 69, 46, 0.42);
|
|
@@ -1120,7 +1219,7 @@ body {
|
|
|
1120
1219
|
}
|
|
1121
1220
|
|
|
1122
1221
|
h3 {
|
|
1123
|
-
margin: 1.7em
|
|
1222
|
+
margin: 1.7em auto 0.75em;
|
|
1124
1223
|
font-size: 1.15em;
|
|
1125
1224
|
}
|
|
1126
1225
|
|
|
@@ -1131,12 +1230,12 @@ body {
|
|
|
1131
1230
|
}
|
|
1132
1231
|
|
|
1133
1232
|
h4 {
|
|
1134
|
-
margin: 1.4em
|
|
1233
|
+
margin: 1.4em auto 0.65em;
|
|
1135
1234
|
font-size: 1.02em;
|
|
1136
1235
|
}
|
|
1137
1236
|
|
|
1138
1237
|
table:not(:where(.highlight table)) {
|
|
1139
|
-
margin: 1.35em
|
|
1238
|
+
margin: 1.35em auto;
|
|
1140
1239
|
font-size: 0.86em;
|
|
1141
1240
|
|
|
1142
1241
|
th,
|
|
@@ -1249,8 +1348,8 @@ body {
|
|
|
1249
1348
|
}
|
|
1250
1349
|
.post-meta {
|
|
1251
1350
|
@include defaultFont;
|
|
1252
|
-
margin
|
|
1253
|
-
|
|
1351
|
+
margin: 0 0 1.6em;
|
|
1352
|
+
line-height: 1.6;
|
|
1254
1353
|
color: $metaText;
|
|
1255
1354
|
font-size: $postMetaFontSize;
|
|
1256
1355
|
.date {
|
|
@@ -1259,19 +1358,21 @@ body {
|
|
|
1259
1358
|
}
|
|
1260
1359
|
.categories {
|
|
1261
1360
|
display: inline;
|
|
1361
|
+
line-height: 1.5;
|
|
1262
1362
|
&:not(:first-child) {
|
|
1263
1363
|
margin-left: 10px;
|
|
1264
1364
|
}
|
|
1265
|
-
line-height: 1.5;
|
|
1266
1365
|
.category-item {
|
|
1267
1366
|
display: inline;
|
|
1268
1367
|
color: $metaText;
|
|
1269
1368
|
&:not(:first-child) {
|
|
1270
1369
|
margin-left: 10px;
|
|
1271
1370
|
}
|
|
1371
|
+
transition: color 160ms $easeOut;
|
|
1272
1372
|
&:hover {
|
|
1273
1373
|
text-decoration: underline;
|
|
1274
|
-
|
|
1374
|
+
text-underline-offset: 0.2em;
|
|
1375
|
+
color: $accent;
|
|
1275
1376
|
}
|
|
1276
1377
|
}
|
|
1277
1378
|
}
|
|
@@ -1284,7 +1385,6 @@ body {
|
|
|
1284
1385
|
}
|
|
1285
1386
|
}
|
|
1286
1387
|
.page-pv {
|
|
1287
|
-
display: inline;
|
|
1288
1388
|
display: none;
|
|
1289
1389
|
margin-left: 10px;
|
|
1290
1390
|
span {
|
|
@@ -1294,48 +1394,69 @@ body {
|
|
|
1294
1394
|
#content-switch {
|
|
1295
1395
|
user-select: none;
|
|
1296
1396
|
display: inline-block;
|
|
1297
|
-
margin-left:
|
|
1298
|
-
background-color: $
|
|
1299
|
-
color:
|
|
1300
|
-
|
|
1301
|
-
|
|
1397
|
+
margin-left: 10px;
|
|
1398
|
+
background-color: $surface;
|
|
1399
|
+
color: $grayerText;
|
|
1400
|
+
border: 1px solid $borderColor;
|
|
1401
|
+
padding: 1px 8px;
|
|
1402
|
+
border-radius: $radiusMd;
|
|
1403
|
+
font-size: 12px;
|
|
1302
1404
|
cursor: pointer;
|
|
1405
|
+
transition:
|
|
1406
|
+
color 180ms $easeOut,
|
|
1407
|
+
border-color 180ms $easeOut,
|
|
1408
|
+
background-color 180ms $easeOut;
|
|
1303
1409
|
&:hover {
|
|
1304
|
-
|
|
1410
|
+
color: $accent;
|
|
1411
|
+
border-color: $accentBorder;
|
|
1412
|
+
background-color: $accentSoft;
|
|
1305
1413
|
}
|
|
1306
1414
|
}
|
|
1307
1415
|
}
|
|
1308
1416
|
a:not([class]):not(:has(.shared-link)) {
|
|
1309
|
-
word-break:
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1417
|
+
word-break: normal;
|
|
1418
|
+
overflow-wrap: anywhere;
|
|
1419
|
+
color: $accent;
|
|
1420
|
+
font-weight: 500;
|
|
1421
|
+
text-decoration: underline;
|
|
1422
|
+
text-decoration-color: rgba(168, 69, 46, 0.32);
|
|
1423
|
+
text-underline-offset: 0.22em;
|
|
1424
|
+
text-decoration-thickness: 1px;
|
|
1425
|
+
transition:
|
|
1426
|
+
color 180ms $easeOut,
|
|
1427
|
+
text-decoration-color 180ms $easeOut;
|
|
1428
|
+
&[href^="http"]::after {
|
|
1314
1429
|
content: "";
|
|
1315
1430
|
display: inline-block;
|
|
1316
|
-
width:
|
|
1317
|
-
height:
|
|
1318
|
-
background-
|
|
1319
|
-
|
|
1431
|
+
width: 0.78em;
|
|
1432
|
+
height: 0.78em;
|
|
1433
|
+
background-color: currentColor;
|
|
1434
|
+
-webkit-mask: url("../img/icons/redirect.svg") no-repeat center / contain;
|
|
1435
|
+
mask: url("../img/icons/redirect.svg") no-repeat center / contain;
|
|
1320
1436
|
vertical-align: middle;
|
|
1321
|
-
margin-
|
|
1437
|
+
margin-left: 0.14em;
|
|
1438
|
+
margin-bottom: 0.22em;
|
|
1439
|
+
opacity: 0.7;
|
|
1322
1440
|
}
|
|
1323
1441
|
&:empty::after {
|
|
1324
1442
|
display: none;
|
|
1325
1443
|
}
|
|
1326
|
-
&:has(img)
|
|
1327
|
-
|
|
1444
|
+
&:has(img) {
|
|
1445
|
+
text-decoration: none;
|
|
1446
|
+
&::after {
|
|
1447
|
+
display: none;
|
|
1448
|
+
}
|
|
1328
1449
|
}
|
|
1329
1450
|
&:hover {
|
|
1330
|
-
|
|
1331
|
-
|
|
1451
|
+
color: $accentDark;
|
|
1452
|
+
text-decoration-color: $accent;
|
|
1332
1453
|
}
|
|
1333
1454
|
&[href^="tel:"] {
|
|
1334
1455
|
&::after {
|
|
1335
1456
|
display: none;
|
|
1336
1457
|
}
|
|
1337
1458
|
}
|
|
1338
|
-
|
|
1459
|
+
&[href^="http"]:has(> span.break-on-mobile) {
|
|
1339
1460
|
&::after {
|
|
1340
1461
|
display: none;
|
|
1341
1462
|
}
|
|
@@ -1343,12 +1464,15 @@ body {
|
|
|
1343
1464
|
&::after {
|
|
1344
1465
|
content: "";
|
|
1345
1466
|
display: inline-block;
|
|
1346
|
-
width:
|
|
1347
|
-
height:
|
|
1348
|
-
background-
|
|
1349
|
-
|
|
1467
|
+
width: 0.78em;
|
|
1468
|
+
height: 0.78em;
|
|
1469
|
+
background-color: currentColor;
|
|
1470
|
+
-webkit-mask: url("../img/icons/redirect.svg") no-repeat center / contain;
|
|
1471
|
+
mask: url("../img/icons/redirect.svg") no-repeat center / contain;
|
|
1350
1472
|
vertical-align: middle;
|
|
1351
|
-
margin-
|
|
1473
|
+
margin-left: 0.14em;
|
|
1474
|
+
margin-bottom: 0.22em;
|
|
1475
|
+
opacity: 0.7;
|
|
1352
1476
|
}
|
|
1353
1477
|
}
|
|
1354
1478
|
}
|
|
@@ -1362,6 +1486,7 @@ body {
|
|
|
1362
1486
|
display: inline-block;
|
|
1363
1487
|
margin-left: 0.35em;
|
|
1364
1488
|
font-weight: normal;
|
|
1489
|
+
text-decoration: none;
|
|
1365
1490
|
|
|
1366
1491
|
svg {
|
|
1367
1492
|
display: inline-block;
|
|
@@ -1389,78 +1514,103 @@ body {
|
|
|
1389
1514
|
}
|
|
1390
1515
|
|
|
1391
1516
|
hr {
|
|
1392
|
-
background-color:
|
|
1517
|
+
background-color: transparent;
|
|
1393
1518
|
border: none;
|
|
1519
|
+
border-top: 1px solid $borderColor;
|
|
1394
1520
|
display: block;
|
|
1395
|
-
height:
|
|
1396
|
-
margin:
|
|
1521
|
+
height: 0;
|
|
1522
|
+
margin: 2rem 0;
|
|
1397
1523
|
}
|
|
1398
1524
|
.pswp-caption-content {
|
|
1399
1525
|
display: none;
|
|
1400
1526
|
}
|
|
1401
|
-
table {
|
|
1527
|
+
table:not(:where(.highlight table)) {
|
|
1402
1528
|
width: 100%;
|
|
1403
|
-
|
|
1404
|
-
border-collapse: collapse;
|
|
1405
|
-
border-spacing: 0;
|
|
1406
|
-
}
|
|
1407
|
-
table thead tr {
|
|
1408
|
-
font-family: AvenirNext-Bold;
|
|
1409
|
-
}
|
|
1410
|
-
table thead tr,
|
|
1411
|
-
table tr:nth-child(even) {
|
|
1412
|
-
background-color: #f6f6f6;
|
|
1413
|
-
}
|
|
1414
|
-
table td:not(:last-child),
|
|
1415
|
-
table th:not(:last-child) {
|
|
1416
|
-
border-right: 1px solid #d9d9d9;
|
|
1417
|
-
}
|
|
1418
|
-
table th {
|
|
1419
|
-
color: #363636;
|
|
1420
|
-
font-weight: bold;
|
|
1421
|
-
}
|
|
1422
|
-
table td,
|
|
1423
|
-
table th {
|
|
1529
|
+
margin: 1.6em 0;
|
|
1424
1530
|
border: none;
|
|
1531
|
+
border-top: 1.5px solid $borderStrong;
|
|
1532
|
+
border-bottom: 1.5px solid $borderStrong;
|
|
1425
1533
|
border-collapse: collapse;
|
|
1426
1534
|
border-spacing: 0;
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
}
|
|
1535
|
+
font-variant-numeric: tabular-nums;
|
|
1536
|
+
font-size: 0.92em;
|
|
1537
|
+
line-height: 1.65;
|
|
1431
1538
|
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1539
|
+
thead tr {
|
|
1540
|
+
background-color: transparent;
|
|
1541
|
+
font-family: inherit;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
thead th {
|
|
1545
|
+
@include defaultFont;
|
|
1546
|
+
padding: 0.68em 0.75em;
|
|
1547
|
+
font-size: 0.85em;
|
|
1548
|
+
font-weight: 600;
|
|
1549
|
+
letter-spacing: 0.04em;
|
|
1550
|
+
color: $grayerText;
|
|
1551
|
+
border-bottom: 1px solid $borderColor;
|
|
1552
|
+
background-color: transparent;
|
|
1553
|
+
text-align: left;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
tbody tr {
|
|
1557
|
+
transition: background-color 180ms $easeOut;
|
|
1558
|
+
&:hover {
|
|
1559
|
+
background-color: rgba(34, 33, 31, 0.025);
|
|
1560
|
+
}
|
|
1561
|
+
&:last-child td {
|
|
1562
|
+
border-bottom: none;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
td,
|
|
1567
|
+
th {
|
|
1568
|
+
border: none;
|
|
1569
|
+
padding: 0.68em 0.75em;
|
|
1570
|
+
vertical-align: top;
|
|
1571
|
+
text-align: left;
|
|
1572
|
+
word-break: normal;
|
|
1573
|
+
overflow-wrap: break-word;
|
|
1574
|
+
&:first-child {
|
|
1575
|
+
padding-left: 0.25em;
|
|
1576
|
+
}
|
|
1577
|
+
&:last-child {
|
|
1578
|
+
padding-right: 0.25em;
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1435
1581
|
|
|
1436
|
-
|
|
1437
|
-
|
|
1582
|
+
tbody td {
|
|
1583
|
+
color: $darkText;
|
|
1584
|
+
border-bottom: 1px solid $borderSubtle;
|
|
1585
|
+
}
|
|
1438
1586
|
}
|
|
1439
1587
|
|
|
1440
1588
|
.message {
|
|
1441
|
-
background-color:
|
|
1442
|
-
border-radius:
|
|
1443
|
-
font-size: 0.
|
|
1589
|
+
background-color: $surface;
|
|
1590
|
+
border-radius: 0 $radiusMd $radiusMd 0;
|
|
1591
|
+
font-size: 0.92rem;
|
|
1444
1592
|
.message-body {
|
|
1445
|
-
border-color:
|
|
1446
|
-
border-radius:
|
|
1593
|
+
border-color: $borderStrong;
|
|
1594
|
+
border-radius: 0 $radiusMd $radiusMd 0;
|
|
1447
1595
|
border-style: solid;
|
|
1448
|
-
border-width: 0 0 0
|
|
1449
|
-
color:
|
|
1450
|
-
padding:
|
|
1596
|
+
border-width: 0 0 0 2.5px;
|
|
1597
|
+
color: $grayerText;
|
|
1598
|
+
padding: 0.95em 1.25em;
|
|
1451
1599
|
}
|
|
1452
1600
|
}
|
|
1453
1601
|
|
|
1454
1602
|
blockquote {
|
|
1455
|
-
margin
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
border-radius: 4px;
|
|
1603
|
+
margin: 1.4em 0;
|
|
1604
|
+
background-color: $surface;
|
|
1605
|
+
border-radius: 0 $radiusMd $radiusMd 0;
|
|
1459
1606
|
box-sizing: border-box;
|
|
1460
|
-
padding:
|
|
1461
|
-
border-left: 5px solid
|
|
1607
|
+
padding: 0.95em 1.25em;
|
|
1608
|
+
border-left: 2.5px solid $borderStrong;
|
|
1609
|
+
color: $grayerText;
|
|
1610
|
+
font-size: 0.96em;
|
|
1462
1611
|
p {
|
|
1463
1612
|
margin-top: 0;
|
|
1613
|
+
margin-bottom: 0.75em;
|
|
1464
1614
|
&:last-child {
|
|
1465
1615
|
margin-bottom: 0;
|
|
1466
1616
|
}
|
|
@@ -1468,20 +1618,22 @@ body {
|
|
|
1468
1618
|
}
|
|
1469
1619
|
|
|
1470
1620
|
figure.highlight {
|
|
1471
|
-
background-color:
|
|
1621
|
+
background-color: $surface;
|
|
1622
|
+
border: 1px solid $borderSubtle;
|
|
1472
1623
|
padding: 0;
|
|
1473
1624
|
width: 100%;
|
|
1474
1625
|
position: relative;
|
|
1475
|
-
margin:
|
|
1476
|
-
border-radius:
|
|
1626
|
+
margin: 1.35em 0;
|
|
1627
|
+
border-radius: $radiusMd;
|
|
1477
1628
|
overflow: hidden;
|
|
1478
1629
|
font-size: 14px;
|
|
1479
1630
|
figcaption {
|
|
1480
1631
|
@include defaultFont;
|
|
1481
1632
|
color: $gray5;
|
|
1482
1633
|
font-size: 12px;
|
|
1483
|
-
background-color:
|
|
1484
|
-
|
|
1634
|
+
background-color: $surfaceAlt;
|
|
1635
|
+
border-bottom: 1px solid $borderSubtle;
|
|
1636
|
+
padding: 0.4em 0.5em 0.4em 0;
|
|
1485
1637
|
span {
|
|
1486
1638
|
&:first-child {
|
|
1487
1639
|
&::before {
|
|
@@ -1490,47 +1642,67 @@ body {
|
|
|
1490
1642
|
width: 35px;
|
|
1491
1643
|
height: 20px;
|
|
1492
1644
|
background-image: url("../img/icons/code.svg");
|
|
1493
|
-
background-size:
|
|
1645
|
+
background-size: 15px 15px;
|
|
1494
1646
|
background-position: center;
|
|
1495
1647
|
background-repeat: no-repeat;
|
|
1496
1648
|
vertical-align: middle;
|
|
1497
1649
|
margin-bottom: 1px;
|
|
1498
1650
|
margin-right: 2px;
|
|
1651
|
+
opacity: 0.72;
|
|
1499
1652
|
}
|
|
1500
1653
|
}
|
|
1501
1654
|
}
|
|
1502
1655
|
}
|
|
1503
1656
|
.copy-btn {
|
|
1504
1657
|
content: "";
|
|
1505
|
-
width:
|
|
1506
|
-
height:
|
|
1658
|
+
width: 28px;
|
|
1659
|
+
height: 28px;
|
|
1507
1660
|
position: absolute;
|
|
1508
|
-
top:
|
|
1509
|
-
right:
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
background-position: 0 75%;
|
|
1515
|
-
background-repeat: no-repeat;
|
|
1661
|
+
top: 6px;
|
|
1662
|
+
right: 6px;
|
|
1663
|
+
border-radius: $radiusMd;
|
|
1664
|
+
display: flex;
|
|
1665
|
+
align-items: center;
|
|
1666
|
+
justify-content: center;
|
|
1516
1667
|
cursor: pointer;
|
|
1517
|
-
|
|
1518
|
-
|
|
1668
|
+
color: $metaText;
|
|
1669
|
+
background-color: rgba(247, 246, 242, 0.92);
|
|
1670
|
+
transition:
|
|
1671
|
+
color 180ms $easeOut,
|
|
1672
|
+
background-color 180ms $easeOut,
|
|
1673
|
+
opacity 180ms $easeOut;
|
|
1519
1674
|
-webkit-tap-highlight-color: transparent;
|
|
1675
|
+
&::before {
|
|
1676
|
+
content: "";
|
|
1677
|
+
display: block;
|
|
1678
|
+
width: 15px;
|
|
1679
|
+
height: 15px;
|
|
1680
|
+
background-color: currentColor;
|
|
1681
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
|
|
1682
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
|
|
1683
|
+
}
|
|
1684
|
+
&:hover {
|
|
1685
|
+
color: $darkText;
|
|
1686
|
+
background-color: $surfaceAlt;
|
|
1687
|
+
}
|
|
1520
1688
|
&.copied {
|
|
1521
|
-
|
|
1689
|
+
color: $accent;
|
|
1690
|
+
&::before {
|
|
1691
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
|
|
1692
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
|
|
1693
|
+
}
|
|
1522
1694
|
}
|
|
1523
1695
|
}
|
|
1524
1696
|
&:has(figcaption) {
|
|
1525
1697
|
.copy-btn {
|
|
1526
|
-
background-color:
|
|
1527
|
-
width:
|
|
1528
|
-
height:
|
|
1529
|
-
|
|
1530
|
-
padding-right: 0;
|
|
1531
|
-
top: 0.35em;
|
|
1698
|
+
background-color: transparent;
|
|
1699
|
+
width: 24px;
|
|
1700
|
+
height: 24px;
|
|
1701
|
+
top: 0.28em;
|
|
1532
1702
|
right: 0.35em;
|
|
1533
|
-
|
|
1703
|
+
&:hover {
|
|
1704
|
+
background-color: rgba(34, 33, 31, 0.06);
|
|
1705
|
+
}
|
|
1534
1706
|
}
|
|
1535
1707
|
}
|
|
1536
1708
|
.gutter {
|
|
@@ -1577,13 +1749,22 @@ body {
|
|
|
1577
1749
|
margin: 0;
|
|
1578
1750
|
padding: 0;
|
|
1579
1751
|
.line {
|
|
1580
|
-
font-size:
|
|
1752
|
+
font-size: 12.5px;
|
|
1581
1753
|
}
|
|
1582
1754
|
}
|
|
1583
1755
|
table {
|
|
1584
1756
|
width: 100%;
|
|
1585
1757
|
border: none;
|
|
1758
|
+
border-collapse: collapse;
|
|
1586
1759
|
table-layout: fixed;
|
|
1760
|
+
td {
|
|
1761
|
+
padding: 0.65em 0.85em;
|
|
1762
|
+
border: none;
|
|
1763
|
+
}
|
|
1764
|
+
td.gutter {
|
|
1765
|
+
padding-right: 0.5em;
|
|
1766
|
+
padding-left: 0.6em;
|
|
1767
|
+
}
|
|
1587
1768
|
}
|
|
1588
1769
|
.fold-toggle {
|
|
1589
1770
|
display: none;
|
|
@@ -1602,9 +1783,9 @@ body {
|
|
|
1602
1783
|
bottom: 0;
|
|
1603
1784
|
width: 100%;
|
|
1604
1785
|
height: 24px;
|
|
1605
|
-
background-color:
|
|
1786
|
+
background-color: $surface;
|
|
1606
1787
|
background-image: url("../img/icons/up-down.svg");
|
|
1607
|
-
background-size:
|
|
1788
|
+
background-size: 20px 20px;
|
|
1608
1789
|
background-repeat: no-repeat;
|
|
1609
1790
|
background-position: center;
|
|
1610
1791
|
&::before {
|
|
@@ -1617,8 +1798,8 @@ body {
|
|
|
1617
1798
|
left: 0;
|
|
1618
1799
|
background-image: linear-gradient(
|
|
1619
1800
|
to bottom,
|
|
1620
|
-
rgba(
|
|
1621
|
-
rgba(
|
|
1801
|
+
rgba(247, 246, 242, 0),
|
|
1802
|
+
rgba(247, 246, 242, 1)
|
|
1622
1803
|
);
|
|
1623
1804
|
}
|
|
1624
1805
|
}
|
|
@@ -1631,16 +1812,17 @@ body {
|
|
|
1631
1812
|
}
|
|
1632
1813
|
|
|
1633
1814
|
code {
|
|
1634
|
-
background-color:
|
|
1635
|
-
padding: 0.
|
|
1636
|
-
border-radius:
|
|
1815
|
+
background-color: $surfaceAlt;
|
|
1816
|
+
padding: 0.16em 0.42em;
|
|
1817
|
+
border-radius: $radiusMd;
|
|
1637
1818
|
-webkit-text-size-adjust: 100%;
|
|
1638
|
-
font-size:
|
|
1819
|
+
font-size: 82%;
|
|
1820
|
+
font-family: $linkFontFamily;
|
|
1639
1821
|
}
|
|
1640
1822
|
|
|
1641
1823
|
.tags {
|
|
1642
1824
|
@include tags;
|
|
1643
|
-
margin
|
|
1825
|
+
margin: 2em 0 0;
|
|
1644
1826
|
&:empty {
|
|
1645
1827
|
display: none;
|
|
1646
1828
|
}
|
|
@@ -1796,72 +1978,94 @@ body {
|
|
|
1796
1978
|
}
|
|
1797
1979
|
|
|
1798
1980
|
.post-nav-wrap {
|
|
1799
|
-
margin:
|
|
1981
|
+
margin: 1.5em auto 0 auto;
|
|
1800
1982
|
box-sizing: border-box;
|
|
1801
|
-
padding:
|
|
1802
|
-
|
|
1803
|
-
background-color:
|
|
1983
|
+
padding: 1.25em $commonPadding 0 $commonPadding;
|
|
1984
|
+
border-top: 1px solid $borderSubtle;
|
|
1985
|
+
background-color: $bg;
|
|
1804
1986
|
.post-nav {
|
|
1805
1987
|
display: flex;
|
|
1806
1988
|
justify-content: space-between;
|
|
1989
|
+
align-items: flex-start;
|
|
1807
1990
|
flex-wrap: wrap;
|
|
1808
|
-
|
|
1991
|
+
gap: 12px 20px;
|
|
1809
1992
|
.post-nav-item {
|
|
1810
|
-
font-size:
|
|
1993
|
+
font-size: 14.5px;
|
|
1994
|
+
line-height: 1.45;
|
|
1811
1995
|
display: inline-flex;
|
|
1812
|
-
|
|
1996
|
+
flex-direction: column;
|
|
1997
|
+
row-gap: 3px;
|
|
1998
|
+
max-width: 100%;
|
|
1813
1999
|
position: relative;
|
|
1814
2000
|
color: $darkText;
|
|
2001
|
+
-webkit-tap-highlight-color: transparent;
|
|
2002
|
+
transition:
|
|
2003
|
+
color 180ms $easeOut,
|
|
2004
|
+
opacity 160ms $easeOut;
|
|
2005
|
+
&:visited {
|
|
2006
|
+
color: $darkText;
|
|
2007
|
+
}
|
|
2008
|
+
&:active {
|
|
2009
|
+
color: $darkText;
|
|
2010
|
+
opacity: 0.62;
|
|
2011
|
+
}
|
|
2012
|
+
&:hover {
|
|
2013
|
+
.item-link {
|
|
2014
|
+
color: $accent;
|
|
2015
|
+
}
|
|
2016
|
+
.nav-indicator-text {
|
|
2017
|
+
color: $grayerText;
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
.post-nav-title {
|
|
2021
|
+
display: block;
|
|
2022
|
+
}
|
|
1815
2023
|
.item-link {
|
|
1816
|
-
|
|
2024
|
+
font-weight: 500;
|
|
2025
|
+
text-decoration: none;
|
|
2026
|
+
transition: color 180ms $easeOut;
|
|
1817
2027
|
}
|
|
1818
2028
|
.nav-indicator-text {
|
|
2029
|
+
display: inline-flex;
|
|
2030
|
+
align-items: center;
|
|
2031
|
+
gap: 4px;
|
|
1819
2032
|
white-space: nowrap;
|
|
1820
|
-
position: absolute;
|
|
1821
|
-
top: 0;
|
|
1822
|
-
left: 16px;
|
|
1823
|
-
transform: translateY(-100%);
|
|
1824
2033
|
color: $moreGrayText;
|
|
1825
2034
|
font-size: 12px;
|
|
2035
|
+
letter-spacing: 0.03em;
|
|
1826
2036
|
user-select: none;
|
|
1827
2037
|
pointer-events: none;
|
|
1828
|
-
|
|
2038
|
+
transition: color 180ms $easeOut;
|
|
1829
2039
|
}
|
|
1830
2040
|
.sub-title {
|
|
1831
2041
|
@include subTitle;
|
|
1832
|
-
|
|
1833
|
-
margin-bottom: 0.1em;
|
|
2042
|
+
font-size: 12px;
|
|
1834
2043
|
}
|
|
1835
2044
|
&.prev {
|
|
1836
|
-
|
|
2045
|
+
align-items: flex-start;
|
|
2046
|
+
text-align: left;
|
|
2047
|
+
.nav-indicator-text::before {
|
|
1837
2048
|
content: "";
|
|
1838
2049
|
display: inline-block;
|
|
1839
|
-
width:
|
|
1840
|
-
height:
|
|
1841
|
-
background-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
margin-right: 4px;
|
|
2050
|
+
width: 11px;
|
|
2051
|
+
height: 11px;
|
|
2052
|
+
background-color: currentColor;
|
|
2053
|
+
-webkit-mask: url("../img/icons/prev.svg") no-repeat center / contain;
|
|
2054
|
+
mask: url("../img/icons/prev.svg") no-repeat center / contain;
|
|
1845
2055
|
}
|
|
1846
2056
|
}
|
|
1847
2057
|
&.next {
|
|
1848
2058
|
margin-left: auto;
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
&::after {
|
|
2059
|
+
align-items: flex-end;
|
|
2060
|
+
text-align: right;
|
|
2061
|
+
.nav-indicator-text::after {
|
|
1853
2062
|
content: "";
|
|
1854
2063
|
display: inline-block;
|
|
1855
|
-
width:
|
|
1856
|
-
height:
|
|
1857
|
-
background-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
margin-left: 4px;
|
|
1861
|
-
}
|
|
1862
|
-
.nav-indicator-text {
|
|
1863
|
-
left: unset;
|
|
1864
|
-
right: 16px;
|
|
2064
|
+
width: 11px;
|
|
2065
|
+
height: 11px;
|
|
2066
|
+
background-color: currentColor;
|
|
2067
|
+
-webkit-mask: url("../img/icons/next.svg") no-repeat center / contain;
|
|
2068
|
+
mask: url("../img/icons/next.svg") no-repeat center / contain;
|
|
1865
2069
|
}
|
|
1866
2070
|
}
|
|
1867
2071
|
}
|
|
@@ -1869,15 +2073,15 @@ body {
|
|
|
1869
2073
|
}
|
|
1870
2074
|
|
|
1871
2075
|
.copyright-desc {
|
|
1872
|
-
margin:
|
|
2076
|
+
margin: 2em auto 0 auto;
|
|
1873
2077
|
padding: 0 $commonPadding;
|
|
1874
|
-
font-size:
|
|
1875
|
-
color: $
|
|
2078
|
+
font-size: 13px;
|
|
2079
|
+
color: $moreGrayText;
|
|
1876
2080
|
text-align: center;
|
|
1877
2081
|
}
|
|
1878
2082
|
|
|
1879
2083
|
#archive {
|
|
1880
|
-
padding-top:
|
|
2084
|
+
padding-top: 24px;
|
|
1881
2085
|
h1,
|
|
1882
2086
|
h2 {
|
|
1883
2087
|
@include sourceSerifFont;
|
|
@@ -1901,36 +2105,44 @@ body {
|
|
|
1901
2105
|
display: flex;
|
|
1902
2106
|
flex-wrap: wrap;
|
|
1903
2107
|
justify-content: space-between;
|
|
1904
|
-
padding-left: 0;
|
|
1905
2108
|
padding-left: 10px;
|
|
1906
2109
|
margin-left: -10px;
|
|
1907
2110
|
.tag-list-item {
|
|
1908
2111
|
list-style: none;
|
|
1909
|
-
background-color:
|
|
1910
|
-
|
|
1911
|
-
|
|
2112
|
+
background-color: $surface;
|
|
2113
|
+
border: 1px solid $borderSubtle;
|
|
2114
|
+
border-radius: $radiusMd;
|
|
2115
|
+
padding: 4px 8px;
|
|
2116
|
+
font-size: 13.5px;
|
|
1912
2117
|
color: $linkColor;
|
|
1913
2118
|
margin-right: 10px;
|
|
1914
|
-
margin-bottom:
|
|
1915
|
-
transition:
|
|
2119
|
+
margin-bottom: 12px;
|
|
2120
|
+
transition:
|
|
2121
|
+
background-color 180ms $easeOut,
|
|
2122
|
+
border-color 180ms $easeOut;
|
|
2123
|
+
&:hover {
|
|
2124
|
+
background-color: $accentSoft;
|
|
2125
|
+
border-color: $accentBorder;
|
|
2126
|
+
}
|
|
1916
2127
|
.tag-list-link {
|
|
1917
2128
|
color: $darkText;
|
|
1918
|
-
|
|
2129
|
+
display: inline-flex;
|
|
2130
|
+
align-items: center;
|
|
2131
|
+
transition: color 180ms $easeOut;
|
|
1919
2132
|
&:hover {
|
|
1920
|
-
color: $
|
|
2133
|
+
color: $accent;
|
|
1921
2134
|
}
|
|
1922
2135
|
&::before {
|
|
1923
2136
|
content: "";
|
|
1924
2137
|
width: 11px;
|
|
1925
2138
|
height: 11px;
|
|
1926
|
-
background-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
margin-right:
|
|
1930
|
-
margin-bottom: -1px;
|
|
2139
|
+
background-color: currentColor;
|
|
2140
|
+
-webkit-mask: url("../img/icons/tag.svg") no-repeat center / contain;
|
|
2141
|
+
mask: url("../img/icons/tag.svg") no-repeat center / contain;
|
|
2142
|
+
margin-right: 5px;
|
|
1931
2143
|
text-decoration: none;
|
|
1932
2144
|
display: inline-block;
|
|
1933
|
-
opacity: 0.
|
|
2145
|
+
opacity: 0.36;
|
|
1934
2146
|
}
|
|
1935
2147
|
}
|
|
1936
2148
|
}
|
|
@@ -1948,8 +2160,10 @@ body {
|
|
|
1948
2160
|
align-items: center;
|
|
1949
2161
|
list-style: none;
|
|
1950
2162
|
font-size: 16px;
|
|
1951
|
-
margin-bottom:
|
|
1952
|
-
padding-left:
|
|
2163
|
+
margin-bottom: 8px;
|
|
2164
|
+
padding-left: 0.5em;
|
|
2165
|
+
border-radius: $radiusMd;
|
|
2166
|
+
transition: background-color 180ms $easeOut;
|
|
1953
2167
|
.archive-list-link {
|
|
1954
2168
|
width: 100%;
|
|
1955
2169
|
display: flex;
|
|
@@ -1959,27 +2173,27 @@ body {
|
|
|
1959
2173
|
position: relative;
|
|
1960
2174
|
font-weight: bold;
|
|
1961
2175
|
@include sourceSerifFont;
|
|
1962
|
-
|
|
1963
|
-
|
|
2176
|
+
border-bottom: dashed 1px $borderSubtle;
|
|
2177
|
+
transition: color 180ms $easeOut;
|
|
1964
2178
|
}
|
|
1965
2179
|
&:hover {
|
|
1966
|
-
|
|
1967
|
-
background-color: #fcfcfc;
|
|
2180
|
+
background-color: $surface;
|
|
1968
2181
|
}
|
|
1969
2182
|
.archive-list-link:hover {
|
|
1970
|
-
color: $
|
|
2183
|
+
color: $accent;
|
|
1971
2184
|
}
|
|
1972
2185
|
}
|
|
1973
2186
|
.archive-list-count {
|
|
1974
|
-
line-height:
|
|
1975
|
-
min-width:
|
|
2187
|
+
line-height: 32px;
|
|
2188
|
+
min-width: 38px;
|
|
1976
2189
|
display: inline-block;
|
|
1977
2190
|
text-align: center;
|
|
1978
|
-
font-size:
|
|
2191
|
+
font-size: 14px;
|
|
2192
|
+
font-variant-numeric: tabular-nums;
|
|
1979
2193
|
margin-left: 20px;
|
|
1980
|
-
color: $
|
|
1981
|
-
|
|
1982
|
-
|
|
2194
|
+
color: $metaText;
|
|
2195
|
+
background-color: $surface;
|
|
2196
|
+
border-radius: $radiusSm;
|
|
1983
2197
|
padding: 2px 10px;
|
|
1984
2198
|
}
|
|
1985
2199
|
}
|
|
@@ -2007,14 +2221,19 @@ body {
|
|
|
2007
2221
|
|
|
2008
2222
|
.posts-info-layout {
|
|
2009
2223
|
display: flex;
|
|
2224
|
+
align-items: flex-start;
|
|
2010
2225
|
.posts-wrap {
|
|
2011
2226
|
width: 75%;
|
|
2012
2227
|
}
|
|
2013
2228
|
.info-wrap {
|
|
2014
2229
|
width: 25%;
|
|
2230
|
+
@media (min-width: 729px) {
|
|
2231
|
+
position: sticky;
|
|
2232
|
+
top: 84px;
|
|
2233
|
+
}
|
|
2015
2234
|
.site-info {
|
|
2016
|
-
background-color:
|
|
2017
|
-
padding: 20px
|
|
2235
|
+
background-color: $bg;
|
|
2236
|
+
padding: 20px 0 0 28px;
|
|
2018
2237
|
&.home {
|
|
2019
2238
|
padding-top: 35px;
|
|
2020
2239
|
}
|
|
@@ -2023,7 +2242,7 @@ body {
|
|
|
2023
2242
|
margin-top: calc($postItemGap / 2);
|
|
2024
2243
|
}
|
|
2025
2244
|
&:nth-child(2) {
|
|
2026
|
-
margin-top:
|
|
2245
|
+
margin-top: 16px;
|
|
2027
2246
|
}
|
|
2028
2247
|
.logo {
|
|
2029
2248
|
width: 36px;
|
|
@@ -2031,7 +2250,7 @@ body {
|
|
|
2031
2250
|
display: inline-block;
|
|
2032
2251
|
margin: 0;
|
|
2033
2252
|
vertical-align: middle;
|
|
2034
|
-
border-radius:
|
|
2253
|
+
border-radius: $radiusSm;
|
|
2035
2254
|
}
|
|
2036
2255
|
.site-name {
|
|
2037
2256
|
margin-left: 10px;
|
|
@@ -2044,18 +2263,23 @@ body {
|
|
|
2044
2263
|
display: flex;
|
|
2045
2264
|
align-items: center;
|
|
2046
2265
|
.avatar {
|
|
2047
|
-
width:
|
|
2048
|
-
height:
|
|
2049
|
-
|
|
2266
|
+
width: clamp(48px, 4.2vw, 62px);
|
|
2267
|
+
height: clamp(48px, 4.2vw, 62px);
|
|
2268
|
+
object-fit: cover;
|
|
2269
|
+
border-radius: 50%;
|
|
2270
|
+
border: 1px solid $borderColor;
|
|
2050
2271
|
}
|
|
2051
2272
|
.name {
|
|
2052
|
-
margin-left:
|
|
2053
|
-
font-size:
|
|
2273
|
+
margin-left: 12px;
|
|
2274
|
+
font-size: 17px;
|
|
2275
|
+
font-weight: 600;
|
|
2276
|
+
color: $darkText;
|
|
2054
2277
|
}
|
|
2055
2278
|
}
|
|
2056
2279
|
&.description {
|
|
2057
|
-
color: $
|
|
2058
|
-
font-size:
|
|
2280
|
+
color: $grayerText;
|
|
2281
|
+
font-size: 14.5px;
|
|
2282
|
+
line-height: 1.6;
|
|
2059
2283
|
}
|
|
2060
2284
|
&.site-statisc {
|
|
2061
2285
|
max-width: 75vw;
|
|
@@ -2065,23 +2289,27 @@ body {
|
|
|
2065
2289
|
display: flex;
|
|
2066
2290
|
justify-content: space-between;
|
|
2067
2291
|
flex-wrap: wrap;
|
|
2292
|
+
padding-top: 10px;
|
|
2293
|
+
border-top: 1px solid $borderSubtle;
|
|
2068
2294
|
a {
|
|
2069
2295
|
flex: 0 0 auto;
|
|
2070
2296
|
color: $darkText;
|
|
2297
|
+
transition: color 160ms $easeOut;
|
|
2071
2298
|
&:hover {
|
|
2072
2299
|
text-decoration: underline;
|
|
2073
|
-
|
|
2300
|
+
text-underline-offset: 0.2em;
|
|
2301
|
+
color: $accent;
|
|
2074
2302
|
}
|
|
2075
2303
|
}
|
|
2076
2304
|
.divider {
|
|
2077
2305
|
flex: 1 1 auto;
|
|
2078
2306
|
text-align: center;
|
|
2079
|
-
color:
|
|
2307
|
+
color: $grayc;
|
|
2080
2308
|
}
|
|
2081
2309
|
}
|
|
2082
2310
|
&.about {
|
|
2083
2311
|
margin-bottom: 10px;
|
|
2084
|
-
color: $
|
|
2312
|
+
color: $accent;
|
|
2085
2313
|
font-size: 14px;
|
|
2086
2314
|
a {
|
|
2087
2315
|
&:hover {
|
|
@@ -2133,11 +2361,14 @@ body {
|
|
|
2133
2361
|
}
|
|
2134
2362
|
|
|
2135
2363
|
.section-title {
|
|
2136
|
-
background-color:
|
|
2137
|
-
padding-bottom:
|
|
2138
|
-
color:
|
|
2139
|
-
border-bottom: 1px solid
|
|
2140
|
-
font-size:
|
|
2364
|
+
background-color: $bg;
|
|
2365
|
+
padding-bottom: 10px;
|
|
2366
|
+
color: $metaText;
|
|
2367
|
+
border-bottom: 1px solid $borderSubtle;
|
|
2368
|
+
font-size: 15px;
|
|
2369
|
+
font-weight: 600;
|
|
2370
|
+
letter-spacing: 0.06em;
|
|
2371
|
+
text-transform: uppercase;
|
|
2141
2372
|
}
|
|
2142
2373
|
|
|
2143
2374
|
.banner-bg {
|
|
@@ -2147,11 +2378,10 @@ body {
|
|
|
2147
2378
|
z-index: -1;
|
|
2148
2379
|
top: $navbarMinHeight;
|
|
2149
2380
|
left: 0;
|
|
2150
|
-
background-color:
|
|
2381
|
+
background-color: $bg;
|
|
2151
2382
|
background-image: url("../img/pattern-randomized.jpg");
|
|
2152
|
-
background-attachment: absolute;
|
|
2153
2383
|
background-size: cover;
|
|
2154
|
-
opacity: 0.
|
|
2384
|
+
opacity: 0.14;
|
|
2155
2385
|
&::after {
|
|
2156
2386
|
content: "";
|
|
2157
2387
|
position: absolute;
|
|
@@ -2159,7 +2389,7 @@ body {
|
|
|
2159
2389
|
bottom: 0;
|
|
2160
2390
|
display: block;
|
|
2161
2391
|
width: 100%;
|
|
2162
|
-
height:
|
|
2392
|
+
height: 55%;
|
|
2163
2393
|
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
|
|
2164
2394
|
}
|
|
2165
2395
|
}
|
|
@@ -2190,7 +2420,7 @@ body {
|
|
|
2190
2420
|
width: 100%;
|
|
2191
2421
|
flex: 0 0 auto;
|
|
2192
2422
|
min-height: calc(100vh - 65px - 80px - 32 * 0.67px - 10px);
|
|
2193
|
-
max-width:
|
|
2423
|
+
max-width: $siteMaxWidth;
|
|
2194
2424
|
min-width: 50%;
|
|
2195
2425
|
margin: 0 auto;
|
|
2196
2426
|
@include pageXPadding;
|
|
@@ -2205,12 +2435,11 @@ body {
|
|
|
2205
2435
|
max-width: $postWidth;
|
|
2206
2436
|
padding: 0;
|
|
2207
2437
|
.content-inner {
|
|
2208
|
-
background-color:
|
|
2438
|
+
background-color: $bg;
|
|
2209
2439
|
}
|
|
2210
2440
|
#post {
|
|
2211
2441
|
margin: 0 auto;
|
|
2212
|
-
padding:
|
|
2213
|
-
padding-top: min(calc(3vw - 6px), 9px);
|
|
2442
|
+
padding: clamp(22px, 3vw, 34px) $commonPadding 0;
|
|
2214
2443
|
h1:first-child {
|
|
2215
2444
|
margin-top: 0;
|
|
2216
2445
|
}
|
|
@@ -2220,11 +2449,14 @@ body {
|
|
|
2220
2449
|
@media (max-width: 479px) {
|
|
2221
2450
|
--gt-avatar-size: 2rem;
|
|
2222
2451
|
}
|
|
2223
|
-
margin
|
|
2224
|
-
padding: 0 $commonPadding;
|
|
2225
|
-
background-color:
|
|
2452
|
+
margin: 1.25em 0 0;
|
|
2453
|
+
padding: 0.25rem $commonPadding 0;
|
|
2454
|
+
background-color: $bg;
|
|
2226
2455
|
min-height: 197px;
|
|
2227
|
-
border-top: solid
|
|
2456
|
+
border-top: 1px solid $borderSubtle;
|
|
2457
|
+
&:has(.gt-container) {
|
|
2458
|
+
min-height: 0;
|
|
2459
|
+
}
|
|
2228
2460
|
.gt-meta {
|
|
2229
2461
|
margin-top: 0;
|
|
2230
2462
|
border-bottom: none;
|
|
@@ -2409,29 +2641,38 @@ body {
|
|
|
2409
2641
|
}
|
|
2410
2642
|
}
|
|
2411
2643
|
a:not([class]) {
|
|
2412
|
-
color: $
|
|
2413
|
-
font-weight:
|
|
2414
|
-
text-decoration:
|
|
2415
|
-
|
|
2644
|
+
color: $accent;
|
|
2645
|
+
font-weight: 500;
|
|
2646
|
+
text-decoration: underline;
|
|
2647
|
+
text-decoration-color: rgba(168, 69, 46, 0.32);
|
|
2648
|
+
text-underline-offset: 0.2em;
|
|
2649
|
+
text-decoration-thickness: 1px;
|
|
2650
|
+
transition:
|
|
2651
|
+
color 180ms $easeOut,
|
|
2652
|
+
text-decoration-color 180ms $easeOut;
|
|
2653
|
+
&[href^="http"]::after {
|
|
2416
2654
|
content: "";
|
|
2417
2655
|
display: inline-block;
|
|
2418
|
-
width:
|
|
2419
|
-
height:
|
|
2420
|
-
background-
|
|
2421
|
-
|
|
2656
|
+
width: 0.78em;
|
|
2657
|
+
height: 0.78em;
|
|
2658
|
+
background-color: currentColor;
|
|
2659
|
+
-webkit-mask: url("../img/icons/redirect.svg") no-repeat center / contain;
|
|
2660
|
+
mask: url("../img/icons/redirect.svg") no-repeat center / contain;
|
|
2422
2661
|
vertical-align: middle;
|
|
2423
|
-
margin-
|
|
2662
|
+
margin-left: 0.14em;
|
|
2663
|
+
margin-bottom: 0.22em;
|
|
2664
|
+
opacity: 0.7;
|
|
2424
2665
|
}
|
|
2425
2666
|
&:empty::after,
|
|
2426
2667
|
&:has(img)::after {
|
|
2427
2668
|
display: none;
|
|
2428
2669
|
}
|
|
2429
|
-
&:has(img)
|
|
2430
|
-
|
|
2670
|
+
&:has(img) {
|
|
2671
|
+
text-decoration: none;
|
|
2431
2672
|
}
|
|
2432
2673
|
&:hover {
|
|
2433
|
-
|
|
2434
|
-
|
|
2674
|
+
color: $accentDark;
|
|
2675
|
+
text-decoration-color: $accent;
|
|
2435
2676
|
}
|
|
2436
2677
|
}
|
|
2437
2678
|
}
|
|
@@ -2441,9 +2682,14 @@ body {
|
|
|
2441
2682
|
.gt-btn {
|
|
2442
2683
|
border-color: $darkText;
|
|
2443
2684
|
background-color: $darkText;
|
|
2685
|
+
border-radius: $radiusMd;
|
|
2686
|
+
transition:
|
|
2687
|
+
background-color 180ms $easeOut,
|
|
2688
|
+
border-color 180ms $easeOut,
|
|
2689
|
+
opacity 180ms $easeOut;
|
|
2444
2690
|
}
|
|
2445
2691
|
.gt-btn-preview {
|
|
2446
|
-
background-color:
|
|
2692
|
+
background-color: $bg;
|
|
2447
2693
|
color: $darkText;
|
|
2448
2694
|
}
|
|
2449
2695
|
.gt-comment-username {
|
|
@@ -2457,13 +2703,12 @@ body {
|
|
|
2457
2703
|
border-bottom: 0;
|
|
2458
2704
|
|
|
2459
2705
|
&:hover {
|
|
2460
|
-
color: $
|
|
2461
|
-
opacity: 0.75;
|
|
2706
|
+
color: $accent;
|
|
2462
2707
|
}
|
|
2463
2708
|
}
|
|
2464
2709
|
.gt-header-avatar,
|
|
2465
2710
|
.gt-comment-avatar {
|
|
2466
|
-
background-color:
|
|
2711
|
+
background-color: $surface;
|
|
2467
2712
|
border-radius: 50%;
|
|
2468
2713
|
|
|
2469
2714
|
img {
|
|
@@ -2487,9 +2732,11 @@ body {
|
|
|
2487
2732
|
}
|
|
2488
2733
|
.gt-link-counts {
|
|
2489
2734
|
color: $darkText;
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2735
|
+
border-bottom-color: $borderStrong;
|
|
2736
|
+
&:hover {
|
|
2737
|
+
color: $accent;
|
|
2738
|
+
border-bottom-color: $accent;
|
|
2739
|
+
}
|
|
2493
2740
|
}
|
|
2494
2741
|
.gt-ico-tip {
|
|
2495
2742
|
.gt-svg {
|
|
@@ -2507,12 +2754,26 @@ body {
|
|
|
2507
2754
|
}
|
|
2508
2755
|
}
|
|
2509
2756
|
}
|
|
2510
|
-
.gt-header-comment {
|
|
2511
|
-
|
|
2757
|
+
.gt-container .gt-header-comment {
|
|
2758
|
+
background-color: $surface;
|
|
2759
|
+
border: 1px solid $borderSubtle;
|
|
2760
|
+
border-radius: $radiusMd;
|
|
2761
|
+
transition:
|
|
2762
|
+
padding 0.25s $easeOut,
|
|
2763
|
+
background-color 0.2s $easeOut,
|
|
2764
|
+
border-color 0.2s $easeOut;
|
|
2765
|
+
&:focus-within {
|
|
2766
|
+
background-color: $bg;
|
|
2767
|
+
border-color: $accentBorder;
|
|
2768
|
+
}
|
|
2512
2769
|
}
|
|
2513
|
-
.gt-header-textarea {
|
|
2770
|
+
.gt-container .gt-header-textarea {
|
|
2514
2771
|
border: none;
|
|
2515
|
-
border-radius:
|
|
2772
|
+
border-radius: 0;
|
|
2773
|
+
background-color: transparent;
|
|
2774
|
+
&:focus-visible {
|
|
2775
|
+
outline: none;
|
|
2776
|
+
}
|
|
2516
2777
|
}
|
|
2517
2778
|
.gt-ico-text {
|
|
2518
2779
|
color: $moreGrayText;
|
|
@@ -2589,31 +2850,39 @@ body {
|
|
|
2589
2850
|
#top-posts {
|
|
2590
2851
|
display: flex;
|
|
2591
2852
|
flex-wrap: wrap;
|
|
2592
|
-
margin-bottom:
|
|
2853
|
+
margin-bottom: 28px;
|
|
2593
2854
|
.post-item {
|
|
2594
|
-
background-color:
|
|
2855
|
+
background-color: $bg;
|
|
2595
2856
|
display: block;
|
|
2596
2857
|
margin-top: $postItemGap;
|
|
2597
2858
|
width: calc((100% - $postItemGap * 2) / 3);
|
|
2598
2859
|
margin-right: $postItemGap;
|
|
2860
|
+
&:hover {
|
|
2861
|
+
.cover-img img {
|
|
2862
|
+
transform: scale(1.028);
|
|
2863
|
+
}
|
|
2864
|
+
.title {
|
|
2865
|
+
color: $accent;
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2599
2868
|
.title-excerpt {
|
|
2600
|
-
margin-top:
|
|
2869
|
+
margin-top: 14px;
|
|
2601
2870
|
}
|
|
2602
2871
|
.title {
|
|
2603
2872
|
color: $darkText;
|
|
2604
2873
|
font-weight: bold;
|
|
2605
|
-
font-size:
|
|
2874
|
+
font-size: 24px;
|
|
2875
|
+
line-height: 1.35;
|
|
2606
2876
|
text-decoration: none;
|
|
2607
|
-
|
|
2608
|
-
color: $darkText;
|
|
2609
|
-
}
|
|
2877
|
+
transition: color 180ms $easeOut;
|
|
2610
2878
|
.sub-title {
|
|
2611
2879
|
@include subTitle;
|
|
2612
2880
|
}
|
|
2613
2881
|
}
|
|
2614
2882
|
.excerpt {
|
|
2615
|
-
margin: 0.5rem 0;
|
|
2883
|
+
margin: 0.5rem 0 0.65rem;
|
|
2616
2884
|
color: $grayerText;
|
|
2885
|
+
line-height: 1.65;
|
|
2617
2886
|
cursor: text;
|
|
2618
2887
|
}
|
|
2619
2888
|
.post-meta {
|
|
@@ -2646,7 +2915,9 @@ body {
|
|
|
2646
2915
|
.cover-img {
|
|
2647
2916
|
width: 100%;
|
|
2648
2917
|
position: relative;
|
|
2649
|
-
|
|
2918
|
+
overflow: hidden;
|
|
2919
|
+
border-radius: $radiusSm;
|
|
2920
|
+
border: 1px solid $borderColor;
|
|
2650
2921
|
&:before {
|
|
2651
2922
|
content: "";
|
|
2652
2923
|
display: block;
|
|
@@ -2661,6 +2932,7 @@ body {
|
|
|
2661
2932
|
width: 100%;
|
|
2662
2933
|
height: 100%;
|
|
2663
2934
|
object-fit: cover;
|
|
2935
|
+
transition: transform 0.55s $easeOut;
|
|
2664
2936
|
}
|
|
2665
2937
|
.post-list-cover-lazy {
|
|
2666
2938
|
position: absolute;
|
|
@@ -2685,23 +2957,34 @@ body {
|
|
|
2685
2957
|
width: 100%;
|
|
2686
2958
|
.item-body {
|
|
2687
2959
|
flex-direction: row;
|
|
2960
|
+
align-items: stretch;
|
|
2688
2961
|
}
|
|
2689
2962
|
.cover-img {
|
|
2690
2963
|
width: calc((100% - $postItemGap * 2) / 3 * 2 + $postItemGap);
|
|
2691
2964
|
flex: 0 0 auto;
|
|
2692
2965
|
}
|
|
2693
2966
|
.title-excerpt {
|
|
2694
|
-
margin-
|
|
2967
|
+
margin-top: 0;
|
|
2968
|
+
margin-left: 24px;
|
|
2969
|
+
padding: 4px 0;
|
|
2695
2970
|
width: 0;
|
|
2696
2971
|
flex: 1 1 auto;
|
|
2697
2972
|
display: flex;
|
|
2698
2973
|
flex-direction: column;
|
|
2699
|
-
justify-content:
|
|
2974
|
+
justify-content: flex-start;
|
|
2975
|
+
gap: 12px;
|
|
2700
2976
|
.title {
|
|
2701
|
-
font-size:
|
|
2977
|
+
font-size: 30px;
|
|
2978
|
+
line-height: 1.3;
|
|
2702
2979
|
}
|
|
2703
2980
|
.excerpt {
|
|
2704
|
-
|
|
2981
|
+
margin: 0;
|
|
2982
|
+
font-size: 17px;
|
|
2983
|
+
line-height: 1.72;
|
|
2984
|
+
}
|
|
2985
|
+
.post-meta {
|
|
2986
|
+
margin-top: auto;
|
|
2987
|
+
padding-top: 10px;
|
|
2705
2988
|
}
|
|
2706
2989
|
}
|
|
2707
2990
|
}
|
|
@@ -2717,30 +3000,34 @@ body {
|
|
|
2717
3000
|
}
|
|
2718
3001
|
|
|
2719
3002
|
.series-nav {
|
|
2720
|
-
background-color:
|
|
3003
|
+
background-color: $surface;
|
|
3004
|
+
border: 1px solid $borderSubtle;
|
|
2721
3005
|
width: calc(100% - min(6vw, 30px));
|
|
2722
|
-
margin:
|
|
3006
|
+
margin: 2em auto 0 auto;
|
|
2723
3007
|
padding: 1em;
|
|
2724
|
-
padding-top: 0.
|
|
2725
|
-
border-radius:
|
|
3008
|
+
padding-top: 0.75em;
|
|
3009
|
+
border-radius: $radiusMd;
|
|
2726
3010
|
display: none;
|
|
2727
3011
|
.series-name {
|
|
2728
3012
|
.series-name-content {
|
|
2729
3013
|
display: inline-flex;
|
|
2730
3014
|
align-items: center;
|
|
2731
3015
|
cursor: pointer;
|
|
3016
|
+
transition: color 180ms $easeOut;
|
|
2732
3017
|
&:hover {
|
|
2733
|
-
|
|
3018
|
+
color: $accent;
|
|
2734
3019
|
}
|
|
2735
3020
|
}
|
|
2736
3021
|
color: $grayerText;
|
|
3022
|
+
font-size: 14px;
|
|
3023
|
+
font-weight: 500;
|
|
2737
3024
|
.dot {
|
|
2738
3025
|
margin: 0 0.5em;
|
|
2739
3026
|
display: inline-block;
|
|
2740
3027
|
width: 4px;
|
|
2741
3028
|
height: 4px;
|
|
2742
3029
|
border-radius: 4px;
|
|
2743
|
-
background-color: $
|
|
3030
|
+
background-color: $grayb;
|
|
2744
3031
|
}
|
|
2745
3032
|
.series-icon {
|
|
2746
3033
|
display: inline-block;
|
|
@@ -2749,16 +3036,15 @@ body {
|
|
|
2749
3036
|
background-image: url("../img/icons/shelf.svg");
|
|
2750
3037
|
background-size: cover;
|
|
2751
3038
|
margin-right: 0.5em;
|
|
3039
|
+
opacity: 0.72;
|
|
2752
3040
|
}
|
|
2753
3041
|
}
|
|
2754
3042
|
.post-nav-wrap {
|
|
2755
|
-
margin-top: 0.
|
|
2756
|
-
padding
|
|
2757
|
-
|
|
3043
|
+
margin-top: 0.75em;
|
|
3044
|
+
padding: 0.75em 0 0;
|
|
3045
|
+
border-top: 1px solid $borderSubtle;
|
|
3046
|
+
background-color: transparent;
|
|
2758
3047
|
margin-bottom: 0;
|
|
2759
|
-
.post-nav .post-nav-item .item-link {
|
|
2760
|
-
text-decoration: none;
|
|
2761
|
-
}
|
|
2762
3048
|
}
|
|
2763
3049
|
.series-popup {
|
|
2764
3050
|
min-height: 50%;
|
|
@@ -2767,54 +3053,69 @@ body {
|
|
|
2767
3053
|
bottom: 0;
|
|
2768
3054
|
left: 0;
|
|
2769
3055
|
width: 100%;
|
|
2770
|
-
background-color:
|
|
3056
|
+
background-color: $bg;
|
|
3057
|
+
border-radius: $radiusSheet $radiusSheet 0 0;
|
|
3058
|
+
border-top: 1px solid $borderColor;
|
|
3059
|
+
box-shadow: 0 -10px 32px rgba(34, 33, 31, 0.14);
|
|
2771
3060
|
z-index: 1000;
|
|
2772
|
-
padding:
|
|
3061
|
+
padding: 10px 0 0;
|
|
2773
3062
|
transform: translateY(125%);
|
|
2774
|
-
transition: transform
|
|
3063
|
+
transition: transform 0.34s $easeOut;
|
|
2775
3064
|
display: flex;
|
|
2776
3065
|
flex-direction: column;
|
|
2777
3066
|
overscroll-behavior: contain;
|
|
2778
|
-
|
|
3067
|
+
&::before {
|
|
3068
|
+
content: "";
|
|
3069
|
+
display: block;
|
|
3070
|
+
width: 36px;
|
|
3071
|
+
height: 4px;
|
|
3072
|
+
border-radius: 999px;
|
|
3073
|
+
background-color: rgba(34, 33, 31, 0.16);
|
|
3074
|
+
margin: 0 auto 10px;
|
|
3075
|
+
flex: 0 0 auto;
|
|
3076
|
+
}
|
|
2779
3077
|
&.visible {
|
|
2780
3078
|
transform: translateY(0);
|
|
2781
3079
|
}
|
|
2782
3080
|
.popup-header {
|
|
2783
3081
|
flex: 0 0 auto;
|
|
2784
3082
|
display: flex;
|
|
3083
|
+
align-items: center;
|
|
2785
3084
|
justify-content: space-between;
|
|
2786
3085
|
padding-bottom: 0.8em;
|
|
3086
|
+
border-bottom: 1px solid $borderSubtle;
|
|
2787
3087
|
.title {
|
|
2788
3088
|
flex: 1 1 auto;
|
|
2789
3089
|
text-align: center;
|
|
3090
|
+
font-weight: 600;
|
|
3091
|
+
font-size: 15px;
|
|
3092
|
+
color: $darkText;
|
|
2790
3093
|
}
|
|
2791
3094
|
.close-series-popup-icon-wrap {
|
|
2792
3095
|
padding: 0 $commonPadding;
|
|
2793
3096
|
}
|
|
2794
3097
|
.close-series-popup-icon {
|
|
2795
3098
|
display: block;
|
|
2796
|
-
width:
|
|
2797
|
-
height:
|
|
3099
|
+
width: 22px;
|
|
3100
|
+
height: 22px;
|
|
2798
3101
|
background-image: url("../img/icons/arrow-down.svg");
|
|
2799
3102
|
background-size: cover;
|
|
2800
|
-
|
|
2801
|
-
.title {
|
|
2802
|
-
font-weight: 500;
|
|
2803
|
-
font: 15px;
|
|
3103
|
+
opacity: 0.72;
|
|
2804
3104
|
}
|
|
2805
3105
|
.details-link {
|
|
2806
|
-
|
|
2807
|
-
font:
|
|
2808
|
-
font-weight: bold;
|
|
3106
|
+
font-size: 13.5px;
|
|
3107
|
+
font-weight: 600;
|
|
2809
3108
|
padding: 0 $commonPadding;
|
|
2810
3109
|
text-align: right;
|
|
2811
3110
|
a {
|
|
2812
|
-
color:
|
|
3111
|
+
color: $accent;
|
|
2813
3112
|
text-align: right;
|
|
3113
|
+
transition: opacity 180ms $easeOut;
|
|
2814
3114
|
&:hover {
|
|
2815
|
-
opacity: 0.
|
|
3115
|
+
opacity: 0.78;
|
|
2816
3116
|
text-decoration: underline;
|
|
2817
|
-
|
|
3117
|
+
text-underline-offset: 0.2em;
|
|
3118
|
+
color: $accent;
|
|
2818
3119
|
}
|
|
2819
3120
|
}
|
|
2820
3121
|
}
|
|
@@ -2822,35 +3123,40 @@ body {
|
|
|
2822
3123
|
.series-items {
|
|
2823
3124
|
flex: 1 1 auto;
|
|
2824
3125
|
overflow-y: auto;
|
|
3126
|
+
padding-top: 6px;
|
|
3127
|
+
@include safe-padding(16px);
|
|
2825
3128
|
.series-year-divider {
|
|
2826
3129
|
color: $moreGrayText;
|
|
2827
3130
|
font-size: 12px;
|
|
2828
|
-
font-weight:
|
|
3131
|
+
font-weight: 600;
|
|
2829
3132
|
line-height: 1;
|
|
2830
3133
|
padding: 1em $commonPadding 0.35em;
|
|
2831
3134
|
}
|
|
2832
3135
|
.series-item-link {
|
|
2833
|
-
padding: 0.
|
|
3136
|
+
padding: 0.6em $commonPadding;
|
|
2834
3137
|
display: block;
|
|
2835
3138
|
width: 100%;
|
|
2836
3139
|
color: $grayerText;
|
|
2837
|
-
font-size:
|
|
3140
|
+
font-size: 13.5px;
|
|
3141
|
+
transition:
|
|
3142
|
+
background-color 160ms $easeOut,
|
|
3143
|
+
color 160ms $easeOut;
|
|
2838
3144
|
.sub-title {
|
|
2839
3145
|
@include subTitle;
|
|
2840
3146
|
}
|
|
2841
3147
|
&.active {
|
|
2842
3148
|
font-size: 14px;
|
|
2843
|
-
color: $
|
|
2844
|
-
background-color:
|
|
2845
|
-
font-weight:
|
|
3149
|
+
color: $accent;
|
|
3150
|
+
background-color: $accentSoft;
|
|
3151
|
+
font-weight: 600;
|
|
2846
3152
|
&:hover {
|
|
2847
|
-
background-color:
|
|
2848
|
-
color: $
|
|
3153
|
+
background-color: $accentSoft;
|
|
3154
|
+
color: $accent;
|
|
2849
3155
|
}
|
|
2850
3156
|
}
|
|
2851
3157
|
&:hover {
|
|
2852
|
-
background-color:
|
|
2853
|
-
color: $
|
|
3158
|
+
background-color: $surface;
|
|
3159
|
+
color: $darkText;
|
|
2854
3160
|
}
|
|
2855
3161
|
}
|
|
2856
3162
|
}
|
|
@@ -2858,16 +3164,15 @@ body {
|
|
|
2858
3164
|
}
|
|
2859
3165
|
|
|
2860
3166
|
#footer {
|
|
2861
|
-
background-color:
|
|
2862
|
-
border-top: 1px solid
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
padding-bottom: 36px;
|
|
2866
|
-
margin-top: 30px;
|
|
3167
|
+
background-color: $bg;
|
|
3168
|
+
border-top: 1px solid $borderSubtle;
|
|
3169
|
+
padding: 40px 0;
|
|
3170
|
+
margin-top: 48px;
|
|
2867
3171
|
|
|
2868
3172
|
.footerInner {
|
|
2869
|
-
max-width:
|
|
3173
|
+
max-width: $siteMaxWidth;
|
|
2870
3174
|
margin: 0 auto;
|
|
3175
|
+
@include pageXPadding;
|
|
2871
3176
|
display: flex;
|
|
2872
3177
|
flex-direction: column;
|
|
2873
3178
|
}
|
|
@@ -2958,17 +3263,17 @@ body {
|
|
|
2958
3263
|
}
|
|
2959
3264
|
|
|
2960
3265
|
.footerRssLink {
|
|
2961
|
-
color:
|
|
3266
|
+
color: $accent;
|
|
2962
3267
|
font-weight: 500;
|
|
2963
3268
|
|
|
2964
3269
|
.rssSvg {
|
|
2965
|
-
transition: transform 0.2s
|
|
3270
|
+
transition: transform 0.2s $easeOut;
|
|
2966
3271
|
}
|
|
2967
3272
|
|
|
2968
3273
|
&:hover {
|
|
2969
|
-
color:
|
|
3274
|
+
color: $accentDark;
|
|
2970
3275
|
.rssSvg {
|
|
2971
|
-
transform: scale(1.
|
|
3276
|
+
transform: scale(1.12);
|
|
2972
3277
|
}
|
|
2973
3278
|
}
|
|
2974
3279
|
}
|
|
@@ -3023,9 +3328,9 @@ body {
|
|
|
3023
3328
|
|
|
3024
3329
|
&:hover,
|
|
3025
3330
|
&:focus {
|
|
3026
|
-
background-color:
|
|
3027
|
-
color: $
|
|
3028
|
-
transform: scale(1.
|
|
3331
|
+
background-color: $accentSoft;
|
|
3332
|
+
color: $accent;
|
|
3333
|
+
transform: scale(1.08);
|
|
3029
3334
|
}
|
|
3030
3335
|
}
|
|
3031
3336
|
|
|
@@ -3037,12 +3342,12 @@ body {
|
|
|
3037
3342
|
width: 280px;
|
|
3038
3343
|
max-width: calc(100vw - 32px);
|
|
3039
3344
|
padding: 12px 14px;
|
|
3040
|
-
background-color:
|
|
3041
|
-
border: 1px solid
|
|
3042
|
-
border-radius:
|
|
3345
|
+
background-color: $bg;
|
|
3346
|
+
border: 1px solid $borderColor;
|
|
3347
|
+
border-radius: $radiusLg;
|
|
3043
3348
|
box-shadow:
|
|
3044
|
-
0
|
|
3045
|
-
0 2px 6px rgba(
|
|
3349
|
+
0 6px 24px rgba(34, 33, 31, 0.09),
|
|
3350
|
+
0 2px 6px rgba(34, 33, 31, 0.03);
|
|
3046
3351
|
z-index: 100;
|
|
3047
3352
|
pointer-events: none;
|
|
3048
3353
|
opacity: 0;
|
|
@@ -3115,13 +3420,36 @@ body {
|
|
|
3115
3420
|
}
|
|
3116
3421
|
}
|
|
3117
3422
|
|
|
3423
|
+
// Align Header and Footer strictly with Post & Series outer cover rails on desktop
|
|
3424
|
+
body.is-post {
|
|
3425
|
+
.nav-header .header-inner,
|
|
3426
|
+
#footer .footerInner {
|
|
3427
|
+
max-width: $postWidth;
|
|
3428
|
+
padding-left: $commonPadding;
|
|
3429
|
+
padding-right: $commonPadding;
|
|
3430
|
+
@media (min-width: 1001px) {
|
|
3431
|
+
padding-left: 0;
|
|
3432
|
+
padding-right: 0;
|
|
3433
|
+
}
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
|
|
3437
|
+
body:has(#content-outer.series-outer) {
|
|
3438
|
+
.nav-header .header-inner,
|
|
3439
|
+
#footer .footerInner {
|
|
3440
|
+
max-width: $postWidth;
|
|
3441
|
+
@media (min-width: 1001px) {
|
|
3442
|
+
padding-left: 0;
|
|
3443
|
+
padding-right: 0;
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3118
3448
|
@media (max-width: 768px) {
|
|
3119
3449
|
#footer {
|
|
3120
3450
|
padding-top: 24px;
|
|
3121
3451
|
padding-bottom: 24px;
|
|
3122
3452
|
margin-top: 20px;
|
|
3123
|
-
padding-left: 12px;
|
|
3124
|
-
padding-right: 12px;
|
|
3125
3453
|
|
|
3126
3454
|
.footerBrand {
|
|
3127
3455
|
body:not(.is-post) & {
|
|
@@ -3220,9 +3548,9 @@ body {
|
|
|
3220
3548
|
}
|
|
3221
3549
|
|
|
3222
3550
|
&:hover {
|
|
3223
|
-
background-color:
|
|
3551
|
+
background-color: $surface;
|
|
3224
3552
|
color: $darkText;
|
|
3225
|
-
border-color:
|
|
3553
|
+
border-color: $borderColor;
|
|
3226
3554
|
transform: translateY(-1px);
|
|
3227
3555
|
}
|
|
3228
3556
|
|
|
@@ -3232,21 +3560,21 @@ body {
|
|
|
3232
3560
|
}
|
|
3233
3561
|
|
|
3234
3562
|
.page-number.current {
|
|
3235
|
-
background-color: $
|
|
3563
|
+
background-color: $accent;
|
|
3236
3564
|
color: #fff;
|
|
3237
|
-
border-color: $
|
|
3565
|
+
border-color: $accent;
|
|
3238
3566
|
font-weight: bold;
|
|
3239
|
-
box-shadow: 0 3px
|
|
3567
|
+
box-shadow: 0 3px 10px rgba(168, 69, 46, 0.22);
|
|
3240
3568
|
cursor: default;
|
|
3241
3569
|
|
|
3242
3570
|
@media (max-width: 768px) {
|
|
3243
|
-
box-shadow: 0 2px 6px rgba(
|
|
3571
|
+
box-shadow: 0 2px 6px rgba(168, 69, 46, 0.18);
|
|
3244
3572
|
}
|
|
3245
3573
|
|
|
3246
3574
|
&:hover {
|
|
3247
|
-
background-color: $
|
|
3575
|
+
background-color: $accent;
|
|
3248
3576
|
color: #fff;
|
|
3249
|
-
border-color: $
|
|
3577
|
+
border-color: $accent;
|
|
3250
3578
|
transform: none;
|
|
3251
3579
|
}
|
|
3252
3580
|
}
|
|
@@ -3281,6 +3609,7 @@ body {
|
|
|
3281
3609
|
max-width: calc((100vw - $postWidth) / 2);
|
|
3282
3610
|
text-align: right;
|
|
3283
3611
|
max-height: 100vh;
|
|
3612
|
+
padding: 24px 0;
|
|
3284
3613
|
overflow-y: auto;
|
|
3285
3614
|
position: relative;
|
|
3286
3615
|
user-select: none;
|
|
@@ -3295,19 +3624,19 @@ body {
|
|
|
3295
3624
|
content: "";
|
|
3296
3625
|
position: absolute;
|
|
3297
3626
|
right: 0;
|
|
3298
|
-
top:
|
|
3627
|
+
top: 24px;
|
|
3628
|
+
bottom: 24px;
|
|
3299
3629
|
width: 1px;
|
|
3300
|
-
|
|
3301
|
-
background-color: #f5f5f5;
|
|
3630
|
+
background-color: $borderSubtle;
|
|
3302
3631
|
}
|
|
3303
3632
|
.toc-item-wrap {
|
|
3304
|
-
transition: opacity 0.
|
|
3633
|
+
transition: opacity 0.28s $easeOut;
|
|
3305
3634
|
will-change: opacity;
|
|
3306
3635
|
-webkit-backface-visibility: hidden;
|
|
3307
3636
|
backface-visibility: hidden;
|
|
3308
3637
|
transform: translateZ(0);
|
|
3309
3638
|
&:not(.active) {
|
|
3310
|
-
opacity: 0.
|
|
3639
|
+
opacity: 0.48;
|
|
3311
3640
|
}
|
|
3312
3641
|
}
|
|
3313
3642
|
&:hover {
|
|
@@ -3318,35 +3647,37 @@ body {
|
|
|
3318
3647
|
.toc-title {
|
|
3319
3648
|
color: $darkText;
|
|
3320
3649
|
padding: 0 15px;
|
|
3321
|
-
font-size:
|
|
3322
|
-
font-weight:
|
|
3650
|
+
font-size: 15px;
|
|
3651
|
+
font-weight: 600;
|
|
3323
3652
|
&::before {
|
|
3324
3653
|
content: "";
|
|
3325
3654
|
display: inline-block;
|
|
3326
|
-
width:
|
|
3327
|
-
height:
|
|
3655
|
+
width: 18px;
|
|
3656
|
+
height: 18px;
|
|
3328
3657
|
background-image: url("../img/icons/toc.svg");
|
|
3329
3658
|
background-size: cover;
|
|
3330
3659
|
vertical-align: middle;
|
|
3331
3660
|
margin-bottom: 4px;
|
|
3661
|
+
opacity: 0.78;
|
|
3332
3662
|
}
|
|
3333
3663
|
}
|
|
3334
3664
|
.toc-item-wrap {
|
|
3335
3665
|
.toc-item-link {
|
|
3336
|
-
padding:
|
|
3666
|
+
padding: 2px 15px;
|
|
3337
3667
|
display: block;
|
|
3338
3668
|
color: $gray3;
|
|
3339
|
-
font-size:
|
|
3340
|
-
|
|
3669
|
+
font-size: 13.5px;
|
|
3670
|
+
line-height: 1.5;
|
|
3671
|
+
margin-top: 8px;
|
|
3341
3672
|
position: relative;
|
|
3673
|
+
transition: color 180ms $easeOut;
|
|
3342
3674
|
&:hover {
|
|
3343
|
-
|
|
3344
|
-
color: $gray7;
|
|
3675
|
+
color: $accent;
|
|
3345
3676
|
}
|
|
3346
3677
|
}
|
|
3347
3678
|
&.active {
|
|
3348
3679
|
.toc-sub-item-link:not(.active) {
|
|
3349
|
-
opacity: 0.
|
|
3680
|
+
opacity: 0.65;
|
|
3350
3681
|
}
|
|
3351
3682
|
}
|
|
3352
3683
|
.toc-sub-item-wrap {
|
|
@@ -3360,27 +3691,28 @@ body {
|
|
|
3360
3691
|
font-size: 12px;
|
|
3361
3692
|
position: relative;
|
|
3362
3693
|
color: $gray5;
|
|
3694
|
+
transition: color 180ms $easeOut;
|
|
3363
3695
|
&:hover {
|
|
3364
|
-
color: $
|
|
3696
|
+
color: $accent;
|
|
3365
3697
|
}
|
|
3366
3698
|
&.active {
|
|
3367
3699
|
color: $darkText;
|
|
3368
|
-
font-weight:
|
|
3700
|
+
font-weight: 600;
|
|
3369
3701
|
}
|
|
3370
3702
|
}
|
|
3371
3703
|
}
|
|
3372
3704
|
&.active {
|
|
3373
3705
|
.toc-item-link {
|
|
3374
|
-
font-weight:
|
|
3706
|
+
font-weight: 600;
|
|
3375
3707
|
color: $darkText;
|
|
3376
3708
|
&::before {
|
|
3377
3709
|
content: "";
|
|
3378
3710
|
position: absolute;
|
|
3379
3711
|
right: 0;
|
|
3380
|
-
top:
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
background-color:
|
|
3712
|
+
top: 2px;
|
|
3713
|
+
bottom: 2px;
|
|
3714
|
+
width: 2px;
|
|
3715
|
+
background-color: $accent;
|
|
3384
3716
|
border-radius: 1px;
|
|
3385
3717
|
z-index: 1;
|
|
3386
3718
|
}
|
|
@@ -3399,7 +3731,7 @@ body {
|
|
|
3399
3731
|
right: 0;
|
|
3400
3732
|
width: 100%;
|
|
3401
3733
|
bottom: -9px;
|
|
3402
|
-
border-bottom: solid 0.5px
|
|
3734
|
+
border-bottom: solid 0.5px $borderColor;
|
|
3403
3735
|
}
|
|
3404
3736
|
}
|
|
3405
3737
|
}
|
|
@@ -3419,6 +3751,7 @@ body {
|
|
|
3419
3751
|
width: 100%;
|
|
3420
3752
|
text-align: left;
|
|
3421
3753
|
max-height: 100vh;
|
|
3754
|
+
padding: 24px 0;
|
|
3422
3755
|
overflow-y: auto;
|
|
3423
3756
|
position: relative;
|
|
3424
3757
|
-webkit-overflow-scrolling: touch;
|
|
@@ -3430,22 +3763,24 @@ body {
|
|
|
3430
3763
|
content: "";
|
|
3431
3764
|
position: absolute;
|
|
3432
3765
|
left: 0;
|
|
3433
|
-
top:
|
|
3766
|
+
top: 24px;
|
|
3767
|
+
bottom: 24px;
|
|
3434
3768
|
width: 1px;
|
|
3435
|
-
|
|
3436
|
-
background-color: #f5f5f5;
|
|
3769
|
+
background-color: $borderSubtle;
|
|
3437
3770
|
}
|
|
3438
3771
|
.series-title {
|
|
3439
3772
|
color: $darkText;
|
|
3440
3773
|
padding: 0 15px;
|
|
3441
|
-
font-size:
|
|
3442
|
-
font-weight:
|
|
3774
|
+
font-size: 15px;
|
|
3775
|
+
font-weight: 600;
|
|
3776
|
+
transition: color 180ms $easeOut;
|
|
3443
3777
|
&:hover {
|
|
3444
|
-
color: $
|
|
3778
|
+
color: $accent;
|
|
3445
3779
|
text-decoration: underline;
|
|
3780
|
+
text-underline-offset: 0.2em;
|
|
3446
3781
|
}
|
|
3447
3782
|
&::before {
|
|
3448
|
-
margin-right:
|
|
3783
|
+
margin-right: 5px;
|
|
3449
3784
|
content: "";
|
|
3450
3785
|
display: inline-block;
|
|
3451
3786
|
width: 13px;
|
|
@@ -3453,22 +3788,25 @@ body {
|
|
|
3453
3788
|
background-image: url("../img/icons/shelf.svg");
|
|
3454
3789
|
background-size: cover;
|
|
3455
3790
|
vertical-align: middle;
|
|
3456
|
-
margin-bottom:
|
|
3791
|
+
margin-bottom: 3px;
|
|
3792
|
+
opacity: 0.72;
|
|
3457
3793
|
}
|
|
3458
3794
|
}
|
|
3459
3795
|
.series-item-link,
|
|
3460
3796
|
.series-year-divider {
|
|
3461
|
-
transition:
|
|
3797
|
+
transition:
|
|
3798
|
+
opacity 0.28s $easeOut,
|
|
3799
|
+
color 0.18s $easeOut;
|
|
3462
3800
|
will-change: opacity;
|
|
3463
3801
|
-webkit-backface-visibility: hidden;
|
|
3464
3802
|
backface-visibility: hidden;
|
|
3465
3803
|
transform: translateZ(0);
|
|
3466
3804
|
}
|
|
3467
3805
|
.series-year-divider:not(.active) {
|
|
3468
|
-
opacity: 0.
|
|
3806
|
+
opacity: 0.48;
|
|
3469
3807
|
}
|
|
3470
3808
|
.series-item-link:not(.active) {
|
|
3471
|
-
opacity: 0.
|
|
3809
|
+
opacity: 0.48;
|
|
3472
3810
|
color: $gray5;
|
|
3473
3811
|
.sub-title {
|
|
3474
3812
|
color: $gray5;
|
|
@@ -3484,43 +3822,44 @@ body {
|
|
|
3484
3822
|
.series-year-divider {
|
|
3485
3823
|
color: $moreGrayText;
|
|
3486
3824
|
font-size: 12px;
|
|
3487
|
-
font-weight:
|
|
3825
|
+
font-weight: 600;
|
|
3488
3826
|
line-height: 1;
|
|
3489
3827
|
margin-top: 18px;
|
|
3490
3828
|
padding: 0 15px;
|
|
3491
3829
|
}
|
|
3492
3830
|
.series-item-link {
|
|
3493
|
-
padding:
|
|
3831
|
+
padding: 2px 15px;
|
|
3494
3832
|
display: block;
|
|
3495
3833
|
color: $gray3;
|
|
3496
|
-
font-size:
|
|
3497
|
-
|
|
3834
|
+
font-size: 13.5px;
|
|
3835
|
+
line-height: 1.5;
|
|
3836
|
+
margin-top: 8px;
|
|
3498
3837
|
position: relative;
|
|
3499
3838
|
width: fit-content;
|
|
3500
3839
|
.sub-title {
|
|
3501
3840
|
@include subTitle;
|
|
3502
3841
|
}
|
|
3503
3842
|
&:hover {
|
|
3504
|
-
color: $
|
|
3843
|
+
color: $accent;
|
|
3505
3844
|
}
|
|
3506
3845
|
&.active {
|
|
3507
|
-
font-weight:
|
|
3846
|
+
font-weight: 600;
|
|
3508
3847
|
color: $darkText;
|
|
3509
3848
|
&::before {
|
|
3510
3849
|
content: "";
|
|
3511
3850
|
position: absolute;
|
|
3512
3851
|
left: 0;
|
|
3513
|
-
top:
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
background-color:
|
|
3852
|
+
top: 2px;
|
|
3853
|
+
bottom: 2px;
|
|
3854
|
+
width: 2px;
|
|
3855
|
+
background-color: $accent;
|
|
3517
3856
|
border-radius: 1px;
|
|
3518
3857
|
z-index: 1;
|
|
3519
3858
|
}
|
|
3520
3859
|
}
|
|
3521
3860
|
&.view-more {
|
|
3522
3861
|
color: $gray9;
|
|
3523
|
-
font-size:
|
|
3862
|
+
font-size: 11.5px;
|
|
3524
3863
|
}
|
|
3525
3864
|
}
|
|
3526
3865
|
}
|
|
@@ -3590,45 +3929,62 @@ html[lang="zh-CN"] {
|
|
|
3590
3929
|
}
|
|
3591
3930
|
|
|
3592
3931
|
#related-posts {
|
|
3593
|
-
margin
|
|
3594
|
-
|
|
3595
|
-
border-top: solid
|
|
3932
|
+
margin: 2.25em 0 0;
|
|
3933
|
+
padding: 0 $commonPadding;
|
|
3934
|
+
border-top: 1px solid $borderSubtle;
|
|
3596
3935
|
.related-posts-title {
|
|
3597
|
-
margin:
|
|
3598
|
-
font-size: 1.
|
|
3599
|
-
font-weight:
|
|
3936
|
+
margin: 1.2em 0 0.85em;
|
|
3937
|
+
font-size: 1.05rem;
|
|
3938
|
+
font-weight: 600;
|
|
3600
3939
|
color: $darkText;
|
|
3601
3940
|
}
|
|
3602
3941
|
}
|
|
3603
3942
|
|
|
3604
3943
|
#page-donates {
|
|
3605
3944
|
width: fit-content;
|
|
3606
|
-
margin:
|
|
3607
|
-
padding:
|
|
3608
|
-
line-height: 1;
|
|
3945
|
+
margin: 2em auto 0 auto;
|
|
3946
|
+
padding: 0.72em 1.75em;
|
|
3947
|
+
line-height: 1.2;
|
|
3609
3948
|
text-decoration: none;
|
|
3610
3949
|
white-space: nowrap;
|
|
3611
3950
|
cursor: pointer;
|
|
3612
|
-
border-radius:
|
|
3613
|
-
|
|
3614
|
-
color:
|
|
3615
|
-
|
|
3616
|
-
font-size:
|
|
3951
|
+
border-radius: 999px;
|
|
3952
|
+
border: 1px solid $accentBorder;
|
|
3953
|
+
background-color: transparent;
|
|
3954
|
+
color: $accent;
|
|
3955
|
+
font-size: 13.5px;
|
|
3956
|
+
font-weight: 500;
|
|
3617
3957
|
position: relative;
|
|
3618
3958
|
user-select: none;
|
|
3619
|
-
transition:
|
|
3959
|
+
transition:
|
|
3960
|
+
background-color 200ms $easeOut,
|
|
3961
|
+
border-color 200ms $easeOut,
|
|
3962
|
+
color 200ms $easeOut;
|
|
3963
|
+
&:hover {
|
|
3964
|
+
background-color: $accentSoft;
|
|
3965
|
+
border-color: $accent;
|
|
3966
|
+
}
|
|
3620
3967
|
#donate-modal {
|
|
3621
|
-
transition:
|
|
3968
|
+
transition:
|
|
3969
|
+
opacity 0.28s $easeOut,
|
|
3970
|
+
transform 0.28s $easeOut;
|
|
3622
3971
|
position: absolute;
|
|
3623
|
-
top: -
|
|
3972
|
+
top: -12px;
|
|
3624
3973
|
left: 50%;
|
|
3625
|
-
transform: translate(-50%, calc(-100% -
|
|
3974
|
+
transform: translate(-50%, calc(-100% - 14px));
|
|
3626
3975
|
cursor: default;
|
|
3627
3976
|
pointer-events: none;
|
|
3977
|
+
padding: 8px;
|
|
3978
|
+
background: $bg;
|
|
3979
|
+
border: 1px solid $borderColor;
|
|
3980
|
+
border-radius: $radiusLg;
|
|
3981
|
+
box-shadow: 0 12px 32px rgba(34, 33, 31, 0.14);
|
|
3628
3982
|
.qr-code {
|
|
3629
|
-
width:
|
|
3630
|
-
height:
|
|
3983
|
+
width: 240px;
|
|
3984
|
+
height: 240px;
|
|
3985
|
+
display: block;
|
|
3631
3986
|
object-fit: cover;
|
|
3987
|
+
border-radius: $radiusMd;
|
|
3632
3988
|
}
|
|
3633
3989
|
opacity: 0;
|
|
3634
3990
|
&.visible {
|
|
@@ -3638,16 +3994,16 @@ html[lang="zh-CN"] {
|
|
|
3638
3994
|
}
|
|
3639
3995
|
}
|
|
3640
3996
|
&:active {
|
|
3641
|
-
background-color:
|
|
3997
|
+
background-color: rgba(168, 69, 46, 0.14);
|
|
3642
3998
|
}
|
|
3643
3999
|
}
|
|
3644
4000
|
|
|
3645
4001
|
.sponsor-list {
|
|
3646
|
-
margin:
|
|
3647
|
-
padding: 0
|
|
4002
|
+
margin: 1.75em 0 0;
|
|
4003
|
+
padding: 0 $commonPadding;
|
|
3648
4004
|
.sponsor-list-header {
|
|
3649
|
-
font-size: 1.
|
|
3650
|
-
font-weight:
|
|
4005
|
+
font-size: 1.05em;
|
|
4006
|
+
font-weight: 600;
|
|
3651
4007
|
color: $darkText;
|
|
3652
4008
|
margin-bottom: 0.5em;
|
|
3653
4009
|
}
|
|
@@ -3721,9 +4077,10 @@ html[lang="zh-CN"] {
|
|
|
3721
4077
|
grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr);
|
|
3722
4078
|
min-height: 360px;
|
|
3723
4079
|
overflow: hidden;
|
|
3724
|
-
border:
|
|
4080
|
+
border-radius: $radiusMd;
|
|
4081
|
+
border: 1px solid $borderColor;
|
|
3725
4082
|
background:
|
|
3726
|
-
linear-gradient(135deg, rgba(255, 255, 255, 0.
|
|
4083
|
+
linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 240, 0.94)), $surface;
|
|
3727
4084
|
}
|
|
3728
4085
|
|
|
3729
4086
|
.travel-map-copy {
|
|
@@ -3732,7 +4089,7 @@ html[lang="zh-CN"] {
|
|
|
3732
4089
|
justify-content: space-between;
|
|
3733
4090
|
padding: 34px 24px;
|
|
3734
4091
|
color: $darkText;
|
|
3735
|
-
border-right: 1px solid
|
|
4092
|
+
border-right: 1px solid $borderSubtle;
|
|
3736
4093
|
h2 {
|
|
3737
4094
|
margin: 10px 0 auto;
|
|
3738
4095
|
font-size: 30px;
|
|
@@ -3743,9 +4100,10 @@ html[lang="zh-CN"] {
|
|
|
3743
4100
|
|
|
3744
4101
|
.travel-map-eyebrow {
|
|
3745
4102
|
@include defaultFont;
|
|
3746
|
-
color: $
|
|
3747
|
-
font-size:
|
|
3748
|
-
letter-spacing: 0;
|
|
4103
|
+
color: $accent;
|
|
4104
|
+
font-size: 12.5px;
|
|
4105
|
+
letter-spacing: 0.08em;
|
|
4106
|
+
text-transform: uppercase;
|
|
3749
4107
|
}
|
|
3750
4108
|
|
|
3751
4109
|
.travel-map-stats {
|
|
@@ -3765,7 +4123,7 @@ html[lang="zh-CN"] {
|
|
|
3765
4123
|
.travel-map-canvas {
|
|
3766
4124
|
position: relative;
|
|
3767
4125
|
min-height: 360px;
|
|
3768
|
-
background:
|
|
4126
|
+
background: $surface;
|
|
3769
4127
|
}
|
|
3770
4128
|
|
|
3771
4129
|
.travel-map-loading {
|
|
@@ -3776,7 +4134,7 @@ html[lang="zh-CN"] {
|
|
|
3776
4134
|
height: 100%;
|
|
3777
4135
|
min-height: 360px;
|
|
3778
4136
|
color: $grayerText;
|
|
3779
|
-
background:
|
|
4137
|
+
background: $surface;
|
|
3780
4138
|
}
|
|
3781
4139
|
|
|
3782
4140
|
.travel-map-fallback-img {
|
|
@@ -3795,14 +4153,14 @@ html[lang="zh-CN"] {
|
|
|
3795
4153
|
height: 18px;
|
|
3796
4154
|
border: 3px solid rgba(255, 255, 255, 0.95);
|
|
3797
4155
|
border-radius: 50%;
|
|
3798
|
-
background: $
|
|
4156
|
+
background: $accent;
|
|
3799
4157
|
box-shadow:
|
|
3800
|
-
rgba(
|
|
3801
|
-
rgba(
|
|
4158
|
+
rgba(34, 33, 31, 0.14) 0 4px 10px,
|
|
4159
|
+
rgba(168, 69, 46, 0.24) 0 0 0 6px;
|
|
3802
4160
|
transition:
|
|
3803
4161
|
transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
|
|
3804
|
-
box-shadow 0.25s
|
|
3805
|
-
background-color 0.25s
|
|
4162
|
+
box-shadow 0.25s $easeOut,
|
|
4163
|
+
background-color 0.25s $easeOut;
|
|
3806
4164
|
}
|
|
3807
4165
|
strong {
|
|
3808
4166
|
@include defaultFont;
|
|
@@ -3814,22 +4172,22 @@ html[lang="zh-CN"] {
|
|
|
3814
4172
|
padding: 0 4px;
|
|
3815
4173
|
border-radius: 999px;
|
|
3816
4174
|
background: #fff;
|
|
3817
|
-
color: $
|
|
4175
|
+
color: $accent;
|
|
3818
4176
|
font-weight: bold;
|
|
3819
4177
|
font-size: 10px;
|
|
3820
4178
|
line-height: 15px;
|
|
3821
4179
|
text-align: center;
|
|
3822
|
-
box-shadow: rgba(
|
|
4180
|
+
box-shadow: rgba(34, 33, 31, 0.16) 0 2px 6px;
|
|
3823
4181
|
}
|
|
3824
4182
|
&.active {
|
|
3825
4183
|
span {
|
|
3826
4184
|
width: 22px;
|
|
3827
4185
|
height: 22px;
|
|
3828
4186
|
transform: translate(-2px, -2px) scale(1.1);
|
|
3829
|
-
background:
|
|
4187
|
+
background: $accentDark;
|
|
3830
4188
|
box-shadow:
|
|
3831
|
-
rgba(
|
|
3832
|
-
rgba(
|
|
4189
|
+
rgba(34, 33, 31, 0.2) 0 8px 18px,
|
|
4190
|
+
rgba(168, 69, 46, 0.34) 0 0 0 8px;
|
|
3833
4191
|
}
|
|
3834
4192
|
}
|
|
3835
4193
|
}
|
|
@@ -3941,8 +4299,8 @@ html[lang="zh-CN"] {
|
|
|
3941
4299
|
|
|
3942
4300
|
&:hover,
|
|
3943
4301
|
&:focus {
|
|
3944
|
-
background-color:
|
|
3945
|
-
color: $
|
|
4302
|
+
background-color: $accentSoft !important;
|
|
4303
|
+
color: $accent !important;
|
|
3946
4304
|
}
|
|
3947
4305
|
|
|
3948
4306
|
&.leaflet-disabled {
|
|
@@ -3955,7 +4313,7 @@ html[lang="zh-CN"] {
|
|
|
3955
4313
|
}
|
|
3956
4314
|
|
|
3957
4315
|
.leaflet-popup-content-wrapper {
|
|
3958
|
-
border-radius:
|
|
4316
|
+
border-radius: $radiusLg !important;
|
|
3959
4317
|
box-shadow:
|
|
3960
4318
|
0 10px 30px rgba(0, 0, 0, 0.08),
|
|
3961
4319
|
0 1px 8px rgba(0, 0, 0, 0.02) !important;
|
|
@@ -3982,15 +4340,16 @@ html[lang="zh-CN"] {
|
|
|
3982
4340
|
grid-template-columns: 132px minmax(0, 1fr);
|
|
3983
4341
|
min-height: 132px;
|
|
3984
4342
|
overflow: hidden;
|
|
3985
|
-
border:
|
|
3986
|
-
|
|
4343
|
+
border-radius: $radiusMd;
|
|
4344
|
+
border: 1px solid $borderColor;
|
|
4345
|
+
background-color: $bg;
|
|
3987
4346
|
transition:
|
|
3988
|
-
border-color 0.
|
|
3989
|
-
box-shadow 0.
|
|
3990
|
-
transform 0.
|
|
4347
|
+
border-color 0.22s $easeOut,
|
|
4348
|
+
box-shadow 0.22s $easeOut,
|
|
4349
|
+
transform 0.22s $easeOut;
|
|
3991
4350
|
&.active,
|
|
3992
4351
|
&:hover {
|
|
3993
|
-
border-color:
|
|
4352
|
+
border-color: $accentBorder;
|
|
3994
4353
|
box-shadow: rgba(100, 97, 88, 0.12) 0 12px 26px;
|
|
3995
4354
|
transform: translateY(-1px);
|
|
3996
4355
|
}
|
|
@@ -4113,16 +4472,21 @@ html[lang="zh-CN"] {
|
|
|
4113
4472
|
}
|
|
4114
4473
|
|
|
4115
4474
|
#post-age-warning {
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4475
|
+
@include defaultFont;
|
|
4476
|
+
margin: 0 0 1.6em;
|
|
4477
|
+
font-size: 13px;
|
|
4478
|
+
line-height: 1.55;
|
|
4479
|
+
border-left: solid 2.5px $accentBorder;
|
|
4480
|
+
border-radius: 0 $radiusMd $radiusMd 0;
|
|
4481
|
+
background-color: $surface;
|
|
4482
|
+
padding: 8px 12px;
|
|
4121
4483
|
color: $grayerText;
|
|
4122
4484
|
.days-value {
|
|
4123
4485
|
display: inline-block;
|
|
4124
4486
|
min-width: 18px;
|
|
4125
|
-
font-size:
|
|
4487
|
+
font-size: 13px;
|
|
4488
|
+
font-weight: 600;
|
|
4489
|
+
color: $accent;
|
|
4126
4490
|
}
|
|
4127
4491
|
}
|
|
4128
4492
|
|
|
@@ -4458,9 +4822,9 @@ html[lang="zh-CN"] {
|
|
|
4458
4822
|
width: 100%;
|
|
4459
4823
|
max-width: 100%;
|
|
4460
4824
|
overflow-x: auto;
|
|
4461
|
-
border: 1px solid
|
|
4462
|
-
border-radius:
|
|
4463
|
-
background:
|
|
4825
|
+
border: 1px solid $borderColor;
|
|
4826
|
+
border-radius: $radiusMd;
|
|
4827
|
+
background: $surface;
|
|
4464
4828
|
padding: 4px;
|
|
4465
4829
|
box-sizing: border-box;
|
|
4466
4830
|
scrollbar-width: none;
|
|
@@ -4476,14 +4840,14 @@ html[lang="zh-CN"] {
|
|
|
4476
4840
|
bottom: 4px;
|
|
4477
4841
|
left: 4px;
|
|
4478
4842
|
width: calc((100% - 8px) / var(--switcher-item-count, 1));
|
|
4479
|
-
border-radius:
|
|
4480
|
-
background:
|
|
4843
|
+
border-radius: $radiusSm;
|
|
4844
|
+
background: $bg;
|
|
4481
4845
|
box-shadow:
|
|
4482
|
-
0 1px 2px rgba(
|
|
4483
|
-
0 0 0 1px rgba(
|
|
4846
|
+
0 1px 2px rgba(34, 33, 31, 0.08),
|
|
4847
|
+
0 0 0 1px rgba(34, 33, 31, 0.04);
|
|
4484
4848
|
opacity: 0;
|
|
4485
4849
|
transform: translateX(calc(var(--switcher-active-index, 0) * 100%));
|
|
4486
|
-
transition: transform 0.
|
|
4850
|
+
transition: transform 0.42s $easeOut;
|
|
4487
4851
|
will-change: transform;
|
|
4488
4852
|
pointer-events: none;
|
|
4489
4853
|
}
|
|
@@ -4501,59 +4865,63 @@ html[lang="zh-CN"] {
|
|
|
4501
4865
|
min-width: 76px;
|
|
4502
4866
|
min-height: 36px;
|
|
4503
4867
|
border: 0;
|
|
4504
|
-
border-radius:
|
|
4868
|
+
border-radius: $radiusSm;
|
|
4505
4869
|
padding: 0 18px;
|
|
4506
4870
|
color: $grayerText;
|
|
4507
4871
|
background: transparent;
|
|
4508
|
-
font-size:
|
|
4872
|
+
font-size: 14.5px;
|
|
4509
4873
|
line-height: 1;
|
|
4510
4874
|
cursor: pointer;
|
|
4511
4875
|
white-space: nowrap;
|
|
4512
|
-
outline: none;
|
|
4513
4876
|
user-select: none;
|
|
4514
4877
|
-webkit-tap-highlight-color: transparent;
|
|
4515
4878
|
-webkit-touch-callout: none;
|
|
4516
4879
|
appearance: none;
|
|
4517
4880
|
-webkit-appearance: none;
|
|
4518
4881
|
transition:
|
|
4519
|
-
color 0.2s
|
|
4520
|
-
background-color 0.2s
|
|
4882
|
+
color 0.2s $easeOut,
|
|
4883
|
+
background-color 0.2s $easeOut;
|
|
4521
4884
|
|
|
4522
4885
|
&:hover {
|
|
4523
4886
|
color: $darkText;
|
|
4524
4887
|
}
|
|
4525
4888
|
|
|
4526
|
-
&:focus-visible {
|
|
4527
|
-
outline: none;
|
|
4528
|
-
}
|
|
4529
|
-
|
|
4530
4889
|
&.active {
|
|
4531
|
-
color:
|
|
4890
|
+
color: $darkText;
|
|
4891
|
+
font-weight: 500;
|
|
4532
4892
|
}
|
|
4533
4893
|
}
|
|
4534
4894
|
}
|
|
4535
4895
|
}
|
|
4536
4896
|
|
|
4537
4897
|
details {
|
|
4538
|
-
border-radius:
|
|
4539
|
-
|
|
4898
|
+
border-radius: $radiusMd;
|
|
4899
|
+
border: 1px solid $borderSubtle;
|
|
4900
|
+
margin-bottom: 0.75em;
|
|
4901
|
+
overflow: hidden;
|
|
4540
4902
|
p {
|
|
4541
4903
|
&:first-of-type {
|
|
4542
|
-
margin-top: 0.
|
|
4904
|
+
margin-top: 0.6em;
|
|
4543
4905
|
}
|
|
4544
4906
|
&:last-of-type {
|
|
4545
4907
|
margin-bottom: 0;
|
|
4546
4908
|
}
|
|
4547
|
-
margin-left:
|
|
4548
|
-
margin-right:
|
|
4909
|
+
margin-left: 12px;
|
|
4910
|
+
margin-right: 12px;
|
|
4549
4911
|
}
|
|
4550
4912
|
summary {
|
|
4551
|
-
border-radius:
|
|
4913
|
+
border-radius: 0;
|
|
4552
4914
|
list-style: none;
|
|
4553
4915
|
cursor: pointer;
|
|
4554
4916
|
position: relative;
|
|
4555
|
-
padding:
|
|
4556
|
-
background-color:
|
|
4917
|
+
padding: 7px 10px 7px calc(1.3em + 10px);
|
|
4918
|
+
background-color: $surface;
|
|
4919
|
+
font-weight: 500;
|
|
4920
|
+
transition: background-color 180ms $easeOut;
|
|
4921
|
+
|
|
4922
|
+
&:hover {
|
|
4923
|
+
background-color: $surfaceAlt;
|
|
4924
|
+
}
|
|
4557
4925
|
|
|
4558
4926
|
&::-webkit-details-marker {
|
|
4559
4927
|
display: none;
|
|
@@ -4562,9 +4930,10 @@ details {
|
|
|
4562
4930
|
&::before {
|
|
4563
4931
|
content: "";
|
|
4564
4932
|
position: absolute;
|
|
4565
|
-
left:
|
|
4566
|
-
top:
|
|
4567
|
-
|
|
4933
|
+
left: 8px;
|
|
4934
|
+
top: 50%;
|
|
4935
|
+
transform: translateY(-50%);
|
|
4936
|
+
transition: transform 0.2s $easeOut;
|
|
4568
4937
|
width: 1em;
|
|
4569
4938
|
height: 1em;
|
|
4570
4939
|
background-image: url("../img/icons/collapsed.svg");
|
|
@@ -4573,21 +4942,22 @@ details {
|
|
|
4573
4942
|
}
|
|
4574
4943
|
|
|
4575
4944
|
&[open] {
|
|
4576
|
-
|
|
4945
|
+
padding-bottom: 0.65em;
|
|
4577
4946
|
summary {
|
|
4578
4947
|
margin-bottom: 4px;
|
|
4948
|
+
border-bottom: 1px solid $borderSubtle;
|
|
4579
4949
|
&::before {
|
|
4580
|
-
transform: rotate(90deg);
|
|
4950
|
+
transform: translateY(-50%) rotate(90deg);
|
|
4581
4951
|
}
|
|
4582
4952
|
}
|
|
4583
|
-
background-color:
|
|
4953
|
+
background-color: $bg;
|
|
4584
4954
|
}
|
|
4585
4955
|
}
|
|
4586
4956
|
|
|
4587
4957
|
ul {
|
|
4588
4958
|
li {
|
|
4589
4959
|
&::marker {
|
|
4590
|
-
color:
|
|
4960
|
+
color: $grayb;
|
|
4591
4961
|
}
|
|
4592
4962
|
}
|
|
4593
4963
|
}
|
|
@@ -4608,6 +4978,19 @@ ul {
|
|
|
4608
4978
|
margin: 0.5em 0;
|
|
4609
4979
|
}
|
|
4610
4980
|
|
|
4981
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4982
|
+
html {
|
|
4983
|
+
scroll-behavior: auto;
|
|
4984
|
+
}
|
|
4985
|
+
*,
|
|
4986
|
+
*::before,
|
|
4987
|
+
*::after {
|
|
4988
|
+
animation-duration: 0.01ms !important;
|
|
4989
|
+
animation-iteration-count: 1 !important;
|
|
4990
|
+
transition-duration: 0.01ms !important;
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
|
|
4611
4994
|
@include mq.rules;
|
|
4612
4995
|
|
|
4613
4996
|
@media (max-width: 900px) {
|