hexo-theme-linen 1.0.51 → 1.0.53

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.
@@ -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;
@@ -39,6 +58,22 @@
39
58
  font-display: swap;
40
59
  unicode-range: U+4E00-9FFF, U+3000-303F, U+FF00-FFEF;
41
60
  }
61
+ @font-face {
62
+ font-family: "source han serif cn";
63
+ src:
64
+ local("STSongti-SC-Black"),
65
+ local("Songti SC Black"),
66
+ local("SongtiSC-Black"),
67
+ local("Source Han Serif SC Heavy"),
68
+ local("Source Han Serif SC Bold"),
69
+ local("Source Han Serif CN Bold"),
70
+ url("../fonts/SourceHanSerifSC-Bold.woff2?v=#{$font-version}") format("woff2");
71
+
72
+ font-weight: 800 900;
73
+ font-style: normal;
74
+ font-display: swap;
75
+ unicode-range: U+4E00-9FFF, U+3000-303F, U+FF00-FFEF;
76
+ }
42
77
  @font-face {
43
78
  font-family: "LXGWWenKai";
44
79
  font-display: swap;
@@ -74,6 +109,12 @@ html {
74
109
  -webkit-text-size-adjust: 100%;
75
110
  }
76
111
 
112
+ :focus-visible {
113
+ outline: 2px solid rgba(168, 69, 46, 0.45);
114
+ outline-offset: 2px;
115
+ border-radius: $radiusSm;
116
+ }
117
+
77
118
  a {
78
119
  text-decoration: none;
79
120
  color: $linkColor;
@@ -84,13 +125,19 @@ a {
84
125
  }
85
126
 
86
127
  @mixin postItem {
87
- background-color: #fff;
128
+ background-color: $bg;
88
129
  display: block;
89
- padding: $postItemGap 0;
90
- border-bottom: 1px solid rgba(0, 0, 0, 0.0785);
130
+ padding: 24px 0;
131
+ border-bottom: 1px solid $borderSubtle;
132
+ cursor: pointer;
91
133
  &:last-child {
92
134
  border-bottom: none;
93
135
  }
136
+ &:hover {
137
+ .cover-img img {
138
+ transform: scale(1.028);
139
+ }
140
+ }
94
141
  .item-body {
95
142
  width: 100%;
96
143
  display: block;
@@ -106,11 +153,13 @@ a {
106
153
  .title {
107
154
  color: $darkText;
108
155
  font-weight: bold;
109
- font-size: 24px;
156
+ font-size: 23px;
157
+ line-height: 1.38;
110
158
  text-decoration: none;
111
159
  white-space: wrap;
160
+ transition: color 180ms $easeOut;
112
161
  &:hover {
113
- opacity: 0.7;
162
+ color: $accent;
114
163
  }
115
164
  .sub-title {
116
165
  @include subTitle;
@@ -118,8 +167,9 @@ a {
118
167
  }
119
168
  .excerpt {
120
169
  cursor: text;
121
- margin: 0.5rem 0;
170
+ margin: 0.55rem 0 0.65rem;
122
171
  color: $grayerText;
172
+ line-height: 1.65;
123
173
  white-space: wrap;
124
174
  }
125
175
  .post-meta {
@@ -134,9 +184,11 @@ a {
134
184
  display: inline;
135
185
  color: $metaText;
136
186
  margin-left: 10px;
187
+ transition: color 160ms $easeOut;
137
188
  &:hover {
138
189
  text-decoration: underline;
139
- color: #a7a2a2;
190
+ text-underline-offset: 0.2em;
191
+ color: $accent;
140
192
  }
141
193
  }
142
194
  }
@@ -147,10 +199,12 @@ a {
147
199
  .cover-img {
148
200
  float: right;
149
201
  width: 25%;
150
- margin-left: 15px;
202
+ margin-left: 18px;
151
203
  height: fit-content;
152
204
  position: relative;
153
- border: 1px solid rgba(0, 0, 0, 0.15);
205
+ overflow: hidden;
206
+ border-radius: $radiusSm;
207
+ border: 1px solid $borderColor;
154
208
  &:before {
155
209
  content: "";
156
210
  display: block;
@@ -165,6 +219,7 @@ a {
165
219
  width: 100%;
166
220
  height: 100%;
167
221
  object-fit: cover;
222
+ transition: transform 0.5s $easeOut;
168
223
  }
169
224
  .post-list-cover-lazy {
170
225
  position: absolute;
@@ -198,23 +253,44 @@ a {
198
253
 
199
254
  #back-to-top {
200
255
  position: fixed;
201
- right: 20px;
202
- bottom: 20px;
203
- width: 45px;
204
- height: 45px;
256
+ right: 22px;
257
+ bottom: 22px;
258
+ width: 42px;
259
+ height: 42px;
205
260
  z-index: 999;
206
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAA/dJREFUeF7tm1FyEzEQRJ2TAScDTgY3g6gqrtoK2B5bvZJa/fzFxzKZ6X7qke3k7cIrWoG36OkZ/gIA4RAAAACEKxA+PgkAAOEKhI9PAgBAuALh45MAABCuQPj4JAAAhCsQPj4JAADhCoSPTwIAQLgC4eOTAAAQrkD4+CQAAIQrED4+CQAA4QqEj08CAEC4AuHjkwAAEK5A+PgkAACEKxA+PgkAAOEKhI9PAgBAuALh45MAABCuQPj4JAAAhCsQPj4JAADhCoSPTwIAQLgC4eOTAAAQrcDXj+l/p6qQmADN9O+Xy+Vq/tX7n+//+JEGQhoAzfRfD0yOAiEJgHa628mvvGIgSAHgGfOjVkICAC3yP+/7Sgq0Z7ZPgp0BqOz7CgjtHUIDYct3CrsC8ErkP4JhyzTYEYAzzN/2XrAbAD37/lECbAnBLgCo9n0cBDsAcGbk3wNii8uhOwCzzD+CYX05dAZAse+/fXxGUP2E8FYi2ELgCMCtL3Oq+7s99zm+FXcISwjcAFBEfjO/nfz/vXpTxQ4CJwAU5lcM6v05VpdDFwB6T2Y77e3UVz/O7YXA5nuE1QE4Y99X7woREKwMgMKAe/u+AsL2l8NVAVCYX9n3FQjaM70rSNlLtefScysC0Cv2Wfu3F8olL4crATBz35dOy/tDvRCcBWe1/3+eWwUAxa7t3fdVEbeCYAUAHAVVALvEvWA2AKvu+2oa9PY/HYJZADjs+yoEvQk29XI4AwBFfI7a96MgmHY5HA2AwvzpsXmDit4kmALBaADsd+aDSFAA/sx3FtWEuvncaAD+dHQ8VJiOPns/ORy63kYC8OrpGCpIp/HH/96zEobBvjoAq+77KievQrAlAE20Z1aAu/lXSF6BYFsAqmIME6B6lDufe3b9DUvmYT/oIOA9CFz3fZWPyrugock3A4AmVoPgy+HPtqd+GlZ1T/TcvQMw1Pw2zywARFraljkegOvvKU75E3QAsGVI0zgAaHS0rQIAttZpGgcAjY62VQDA1jpN4wCg0dG2CgDYWqdpHAA0OtpWAQBb6zSNA4BGR9sqAGBrnaZxANDoaFsFAGyt0zQOABodbasAgK11msYBQKOjbRUAsLVO0zgAaHS0rQIAttZpGgcAjY62VQDA1jpN4wCg0dG2CgDYWqdpHAA0OtpWAQBb6zSNA4BGR9sqAGBrnaZxANDoaFsFAGyt0zQOABodbasAgK11msYBQKOjbRUAsLVO0zgAaHS0rQIAttZpGgcAjY62VQDA1jpN4wCg0dG2CgDYWqdpHAA0OtpWAQBb6zSNA4BGR9sqAGBrnaZxANDoaFsFAGyt0zQOABodbasAgK11msYBQKOjbZW/1R2EgeZ1ag0AAAAASUVORK5CYII=");
207
- background-size: 90% 90%;
208
- background-position: center;
209
- background-color: rgba(255, 255, 255, 0.7);
210
- border-radius: 6px;
211
- backdrop-filter: blur(6px);
212
- -webkit-backdrop-filter: blur(6px);
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;
213
270
  pointer-events: none;
214
- transform: translateY(100px);
215
- transition: all ease 0.3s;
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;
216
278
  opacity: 0;
217
- box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 14px;
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
+ }
218
294
  &.visible {
219
295
  transform: translateY(0);
220
296
  pointer-events: all;
@@ -260,8 +336,8 @@ body {
260
336
  }
261
337
 
262
338
  .nav-header {
263
- background-color: #fff;
264
- // backdrop-filter: saturate(180%) blur(20px);
339
+ background-color: $bg;
340
+ border-bottom: 1px solid $borderSubtle;
265
341
  transform: translateY(0);
266
342
  z-index: 9;
267
343
  position: relative;
@@ -271,8 +347,9 @@ body {
271
347
  height: $navbarMinHeight;
272
348
  .header-inner {
273
349
  height: 100%;
350
+ max-width: $siteMaxWidth;
351
+ margin: 0 auto;
274
352
  @include pageXPadding;
275
- border-bottom: 1px solid rgba(0, 0, 0, 0.15);
276
353
  display: flex;
277
354
  align-items: center;
278
355
  flex-wrap: wrap;
@@ -300,14 +377,16 @@ body {
300
377
  text-decoration: none;
301
378
  font-size: 15px;
302
379
  color: $grayerText;
380
+ transition: color 180ms $easeOut;
303
381
  &:hover {
304
- opacity: 0.7;
382
+ color: $darkText;
305
383
  }
306
384
  &:not(:last-child) {
307
385
  margin-right: 22px;
308
386
  }
309
387
  &.active {
310
- font-weight: bold;
388
+ font-weight: 600;
389
+ color: $darkText;
311
390
  }
312
391
  }
313
392
  }
@@ -317,9 +396,9 @@ body {
317
396
  align-items: center;
318
397
  gap: 16px;
319
398
  .button {
320
- width: 25px;
321
- height: 25px;
322
- transition: opacity ease 0.3s;
399
+ width: 22px;
400
+ height: 22px;
401
+ transition: opacity 200ms $easeOut;
323
402
  &.toc {
324
403
  background-image: url("../img/icons/toc1.svg");
325
404
  background-size: contain;
@@ -339,14 +418,14 @@ body {
339
418
  &.zh-CN {
340
419
  background-image: url("../img/icons/chinese.svg");
341
420
  background-size: cover;
342
- width: 30px;
343
- height: 30px;
421
+ width: 25px;
422
+ height: 25px;
344
423
  }
345
424
  &.en {
346
425
  background-image: url("../img/icons/english.svg");
347
426
  background-size: cover;
348
- width: 30px;
349
- height: 30px;
427
+ width: 25px;
428
+ height: 25px;
350
429
  }
351
430
  &.rss {
352
431
  background-image: url("../img/icons/rss.svg");
@@ -359,7 +438,7 @@ body {
359
438
  background-position: center;
360
439
  cursor: pointer;
361
440
  position: relative;
362
- transition: opacity 0.2s ease;
441
+ transition: opacity 0.2s $easeOut;
363
442
 
364
443
  &:hover {
365
444
  opacity: 0.75;
@@ -369,13 +448,13 @@ body {
369
448
  content: "";
370
449
  position: absolute;
371
450
  inset: 0;
372
- background: linear-gradient(90deg, #ff6ec4, #7873f5, #4ade80);
451
+ background: linear-gradient(135deg, #c97a63 0%, #a8452e 52%, #c8914b 100%);
373
452
  -webkit-mask: url("../img/icons/hdr.svg") no-repeat center;
374
453
  mask: url("../img/icons/hdr.svg") no-repeat center;
375
454
  -webkit-mask-size: contain;
376
455
  mask-size: contain;
377
456
  opacity: 0;
378
- transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
457
+ transition: opacity 0.3s $easeOut;
379
458
  pointer-events: none;
380
459
  }
381
460
 
@@ -388,14 +467,14 @@ body {
388
467
  top: 50%;
389
468
  margin-top: -1px;
390
469
  left: 2%;
391
- background-color: #232323;
470
+ background-color: $darkText;
392
471
  border-radius: 2px;
393
472
  transform: rotate(37deg) scaleX(1);
394
473
  transform-origin: center;
395
474
  opacity: 1;
396
475
  transition:
397
- transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
398
- opacity 0.25s ease;
476
+ transform 0.3s $easeOut,
477
+ opacity 0.25s $easeOut;
399
478
  pointer-events: none;
400
479
  }
401
480
 
@@ -410,7 +489,7 @@ body {
410
489
  }
411
490
  }
412
491
  &:hover {
413
- opacity: 0.7;
492
+ opacity: 0.65;
414
493
  }
415
494
  }
416
495
  }
@@ -546,10 +625,15 @@ body {
546
625
 
547
626
  #post,
548
627
  #raw-markdown-block {
549
- background-color: #fff;
628
+ background-color: $bg;
550
629
  color: $darkText;
551
- word-break: break-all;
630
+ word-break: normal;
631
+ overflow-wrap: break-word;
552
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;
553
637
  .sub-title {
554
638
  @include subTitle;
555
639
  }
@@ -561,34 +645,56 @@ body {
561
645
  h5,
562
646
  h6 {
563
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;
564
670
  }
565
671
  h2,
566
672
  h3 {
567
- width: fit-content;
673
+ position: relative;
674
+ cursor: pointer;
675
+ transition: opacity 180ms $easeOut;
568
676
  &::before {
569
677
  position: absolute;
570
- left: -0.3em;
678
+ left: -0.82em;
571
679
  top: 50%;
572
680
  content: "";
573
- transform: translate(-50%, -25%);
681
+ transform: translateY(-40%);
574
682
  display: inline-block;
575
- width: 0.8em;
576
- height: 0.8em;
577
- background-image: url("../img/icons/link.svg");
578
- background-size: cover;
579
- transition: all ease-in-out 0.3s;
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;
580
691
  opacity: 0;
581
692
  }
582
- }
583
- h2,
584
- h3 {
585
- cursor: pointer;
586
693
  &:hover {
587
- opacity: 0.7;
588
- position: relative;
694
+ opacity: 0.78;
589
695
  &::before {
590
- opacity: 1;
591
- transform: translate(-50%, -50%);
696
+ opacity: 0.85;
697
+ transform: translateY(-50%);
592
698
  }
593
699
  }
594
700
  }
@@ -617,7 +723,7 @@ body {
617
723
  }
618
724
  h2,
619
725
  h3 {
620
- scroll-margin-top: 0.83em;
726
+ scroll-margin-top: 1em;
621
727
  }
622
728
  strong {
623
729
  @include defaultFont();
@@ -625,11 +731,16 @@ body {
625
731
  #page-content {
626
732
  @include sourceSerifFont;
627
733
  font-size: 17px;
628
- line-height: 1.8;
734
+ line-height: 1.82;
629
735
  color: $darkText;
630
736
  -webkit-font-smoothing: subpixel-antialiased;
631
737
  text-autospace: normal;
632
738
 
739
+ > p {
740
+ margin-top: 0;
741
+ margin-bottom: 1.2em;
742
+ }
743
+
633
744
  > :last-child {
634
745
  margin-bottom: 0;
635
746
  }
@@ -640,10 +751,605 @@ body {
640
751
  color: #000;
641
752
  }
642
753
  }
754
+ &.travel-post {
755
+ #page-content {
756
+ counter-reset: travel-h2;
757
+
758
+ h2#to-page-top,
759
+ h2.to-page-top {
760
+ height: 0;
761
+ min-height: 0;
762
+ margin: 0;
763
+ padding: 0;
764
+ overflow: hidden;
765
+ font-size: 0;
766
+ line-height: 0;
767
+ border: none;
768
+ pointer-events: none;
769
+
770
+ &::before,
771
+ &::after {
772
+ content: none;
773
+ display: none;
774
+ }
775
+ }
776
+
777
+ h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
778
+ @include sourceSerifFont;
779
+ counter-increment: travel-h2;
780
+ display: block;
781
+ width: 100%;
782
+ box-sizing: border-box;
783
+ position: relative;
784
+ margin: 2.5em auto 1.35em;
785
+ padding: 0.25em 0.5em;
786
+ text-align: center;
787
+ font-size: 1.53em;
788
+ font-weight: 900;
789
+ line-height: 1.35;
790
+ letter-spacing: 0.08em;
791
+ color: #1d1d1d;
792
+ word-break: normal;
793
+ overflow-wrap: break-word;
794
+ text-wrap: balance;
795
+ border-radius: 4px;
796
+ scroll-margin-top: 1.4em;
797
+ transition: opacity 0.2s ease;
798
+
799
+ &:first-child {
800
+ margin-top: 1.4em;
801
+ }
802
+
803
+ &::before {
804
+ content: "✦ " counter(travel-h2, decimal-leading-zero);
805
+ position: static;
806
+ left: auto;
807
+ top: auto;
808
+ transform: none;
809
+ display: block;
810
+ width: fit-content;
811
+ height: auto;
812
+ margin: 0 auto 10px;
813
+ padding: 0 calc(34px - 0.16em) 0 34px;
814
+ font-family: $linkFontFamily;
815
+ font-size: 11px;
816
+ font-weight: 500;
817
+ line-height: 1;
818
+ letter-spacing: 0.16em;
819
+ color: #a8452e;
820
+ opacity: 1;
821
+ -webkit-mask: none;
822
+ mask: none;
823
+ background:
824
+ linear-gradient(rgba(168, 69, 46, 0.35), rgba(168, 69, 46, 0.35))
825
+ left center / 24px 1px no-repeat,
826
+ linear-gradient(rgba(168, 69, 46, 0.35), rgba(168, 69, 46, 0.35))
827
+ right center / 24px 1px no-repeat;
828
+ transition:
829
+ background-size 0.3s ease,
830
+ opacity 0.25s ease;
831
+ }
832
+
833
+ &::after {
834
+ content: "";
835
+ display: block;
836
+ width: 22px;
837
+ height: 1.5px;
838
+ margin: 12px auto 0;
839
+ background-color: rgba(35, 35, 35, 0.22);
840
+ transition:
841
+ width 0.3s ease,
842
+ background-color 0.3s ease;
843
+ }
844
+
845
+ &:hover {
846
+ opacity: 0.78;
847
+
848
+ &::before {
849
+ opacity: 1;
850
+ transform: none;
851
+ background-size:
852
+ 28px 1px,
853
+ 28px 1px;
854
+ }
855
+
856
+ &::after {
857
+ width: 32px;
858
+ background-color: rgba(168, 69, 46, 0.55);
859
+ }
860
+ }
861
+ }
862
+
863
+ h2#to-page-top + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
864
+ h2.to-page-top + h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
865
+ margin-top: 1.4em;
866
+ }
867
+
868
+ p:has(.image-grid, .lazyload-outer-wrap, img)
869
+ + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
870
+ .image-grid + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
871
+ figure + h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
872
+ margin-top: 2.9em;
873
+ }
874
+
875
+ h3 {
876
+ @include sourceSerifFont;
877
+ position: relative;
878
+ display: flex;
879
+ align-items: center;
880
+ width: 100%;
881
+ box-sizing: border-box;
882
+ margin: 1.9em auto 0.85em;
883
+ padding: 0;
884
+ font-size: 1.18em;
885
+ font-weight: 900;
886
+ line-height: 1.45;
887
+ letter-spacing: 0.04em;
888
+ color: $darkText;
889
+ word-break: normal;
890
+ overflow-wrap: break-word;
891
+ border-radius: 3px;
892
+ scroll-margin-top: 1.2em;
893
+ transition: opacity 0.2s ease;
894
+
895
+ &::before {
896
+ content: "✦";
897
+ position: static;
898
+ left: auto;
899
+ top: auto;
900
+ transform: none;
901
+ display: inline-block;
902
+ width: auto;
903
+ height: auto;
904
+ margin-right: 9px;
905
+ font-size: 10px;
906
+ font-weight: 400;
907
+ line-height: 1;
908
+ color: rgba(168, 69, 46, 0.78);
909
+ -webkit-mask: none;
910
+ mask: none;
911
+ background-image: none;
912
+ background-color: transparent;
913
+ opacity: 1;
914
+ flex-shrink: 0;
915
+ transition:
916
+ color 0.25s ease,
917
+ transform 0.25s ease,
918
+ opacity 0.25s ease;
919
+ }
920
+
921
+ &::after {
922
+ content: "";
923
+ flex: 1;
924
+ min-width: 0;
925
+ height: 1px;
926
+ margin-left: 12px;
927
+ background: linear-gradient(
928
+ to right,
929
+ rgba(0, 0, 0, 0.08),
930
+ transparent 65%
931
+ );
932
+ transition: background 0.25s ease;
933
+ }
934
+
935
+ &:hover {
936
+ opacity: 0.78;
937
+
938
+ &::before {
939
+ opacity: 1;
940
+ transform: scale(1.15);
941
+ color: #a8452e;
942
+ }
943
+
944
+ &::after {
945
+ background: linear-gradient(
946
+ to right,
947
+ rgba(168, 69, 46, 0.25),
948
+ transparent 75%
949
+ );
950
+ }
951
+ }
952
+ }
953
+
954
+ p:has(.image-grid, .lazyload-outer-wrap, img) + h3,
955
+ .image-grid + h3,
956
+ figure + h3 {
957
+ margin-top: 2.2em;
958
+ }
959
+
960
+ h4 {
961
+ @include sourceSerifFont;
962
+ display: flex;
963
+ align-items: center;
964
+ width: 100%;
965
+ box-sizing: border-box;
966
+ margin: 1.55em auto 0.7em;
967
+ font-size: 1.04em;
968
+ font-weight: 900;
969
+ line-height: 1.5;
970
+ letter-spacing: 0.03em;
971
+ color: #2c2c2c;
972
+ word-break: normal;
973
+ overflow-wrap: break-word;
974
+
975
+ &::before {
976
+ content: "✦";
977
+ display: inline-block;
978
+ margin-right: 8px;
979
+ font-size: 8.5px;
980
+ font-weight: 400;
981
+ line-height: 1;
982
+ color: rgba(168, 69, 46, 0.55);
983
+ flex-shrink: 0;
984
+ }
985
+
986
+ &::after {
987
+ content: "";
988
+ flex: 1;
989
+ min-width: 0;
990
+ height: 1px;
991
+ margin-left: 10px;
992
+ background: linear-gradient(
993
+ to right,
994
+ rgba(0, 0, 0, 0.06),
995
+ transparent 48%
996
+ );
997
+ }
998
+ }
999
+
1000
+ p:has(.image-grid, .lazyload-outer-wrap, img) + h4,
1001
+ .image-grid + h4,
1002
+ figure + h4 {
1003
+ margin-top: 1.85em;
1004
+ }
1005
+
1006
+ h5,
1007
+ h6 {
1008
+ @include sourceSerifFont;
1009
+ letter-spacing: 0.03em;
1010
+ color: $darkText;
1011
+ }
1012
+
1013
+ table:not(:where(.highlight table)) {
1014
+ width: 100%;
1015
+ margin: 1.6em auto;
1016
+ border: none;
1017
+ border-top: 1px dashed rgba(168, 69, 46, 0.42);
1018
+ border-bottom: 1px dashed rgba(168, 69, 46, 0.42);
1019
+ border-collapse: collapse;
1020
+ border-spacing: 0;
1021
+ font-variant-numeric: tabular-nums;
1022
+ font-size: 0.9em;
1023
+ line-height: 1.65;
1024
+
1025
+ thead tr,
1026
+ tr:nth-child(even) {
1027
+ background-color: transparent;
1028
+ }
1029
+
1030
+ thead tr {
1031
+ font-family: inherit;
1032
+ }
1033
+
1034
+ td:not(:last-child),
1035
+ th:not(:last-child) {
1036
+ border-right: none;
1037
+ }
1038
+
1039
+ th,
1040
+ td {
1041
+ padding: 0.7em 0.75em;
1042
+ word-break: normal;
1043
+ overflow-wrap: break-word;
1044
+
1045
+ &:first-child {
1046
+ padding-left: 0.25em;
1047
+ }
1048
+
1049
+ &:last-child {
1050
+ padding-right: 0.25em;
1051
+ }
1052
+ }
1053
+
1054
+ thead th {
1055
+ @include defaultFont;
1056
+ padding-top: 0.68em;
1057
+ padding-bottom: 0.68em;
1058
+ font-size: 0.82em;
1059
+ font-weight: 600;
1060
+ letter-spacing: 0.08em;
1061
+ color: $moreGrayText;
1062
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
1063
+ background-color: transparent;
1064
+ }
1065
+
1066
+ tbody tr {
1067
+ transition: background-color 0.2s ease;
1068
+
1069
+ &:hover {
1070
+ background-color: rgba(168, 69, 46, 0.025);
1071
+ }
1072
+
1073
+ &:last-child td {
1074
+ border-bottom: none;
1075
+ }
1076
+ }
1077
+
1078
+ tbody td {
1079
+ color: #2b2b2b;
1080
+ border-bottom: 1px dashed rgba(0, 0, 0, 0.09);
1081
+
1082
+ &:first-child {
1083
+ color: #a8452e;
1084
+ }
1085
+ }
1086
+ }
1087
+
1088
+ .travel-route-block {
1089
+ max-width: 640px;
1090
+ margin: 1.4em auto 2em;
1091
+
1092
+ .travel-route-summary {
1093
+ margin-bottom: 9px;
1094
+ text-align: right;
1095
+ font-family: $linkFontFamily, "SF Pro Text", -apple-system, sans-serif;
1096
+ font-size: 11px;
1097
+ line-height: 1;
1098
+ letter-spacing: 0.1em;
1099
+ color: $moreGrayText;
1100
+ font-variant-numeric: tabular-nums;
1101
+ }
1102
+
1103
+ .travel-route-bar {
1104
+ display: flex;
1105
+ height: 8px;
1106
+ border-radius: 999px;
1107
+ overflow: hidden;
1108
+ gap: 2px;
1109
+ margin-bottom: 16px;
1110
+ }
1111
+
1112
+ .travel-route-seg {
1113
+ height: 100%;
1114
+ min-width: 6px;
1115
+ border-radius: 2px;
1116
+ background-color: var(--stop-color, #a8452e);
1117
+ transition:
1118
+ opacity 0.2s ease,
1119
+ transform 0.2s ease;
1120
+
1121
+ &:hover {
1122
+ opacity: 0.85;
1123
+ transform: scaleY(1.25);
1124
+ }
1125
+ }
1126
+
1127
+ .travel-route-grid {
1128
+ list-style: none;
1129
+ margin: 0;
1130
+ padding: 0;
1131
+ display: grid;
1132
+ grid-template-columns: repeat(var(--route-cols, 4), minmax(0, 1fr));
1133
+ gap: 10px 14px;
1134
+ }
1135
+
1136
+ .travel-route-item {
1137
+ list-style: none;
1138
+ margin: 0;
1139
+ padding: 9px 10px 8px;
1140
+ border-top: 1px dashed rgba(0, 0, 0, 0.11);
1141
+ display: flex;
1142
+ flex-direction: column;
1143
+ gap: 3px;
1144
+ transition:
1145
+ border-top-color 0.2s ease,
1146
+ background-color 0.2s ease;
1147
+
1148
+ &:hover {
1149
+ border-top-color: var(--stop-color, #a8452e);
1150
+ background-color: rgba(168, 69, 46, 0.025);
1151
+ }
1152
+ }
1153
+
1154
+ .travel-route-item-top {
1155
+ display: flex;
1156
+ align-items: center;
1157
+ justify-content: space-between;
1158
+ margin-bottom: 1px;
1159
+ }
1160
+
1161
+ .travel-route-index {
1162
+ font-family: $linkFontFamily;
1163
+ font-size: 10px;
1164
+ line-height: 1;
1165
+ color: #999;
1166
+ letter-spacing: 0.08em;
1167
+ font-variant-numeric: tabular-nums;
1168
+ }
1169
+
1170
+ .travel-route-dot {
1171
+ width: 6px;
1172
+ height: 6px;
1173
+ border-radius: 50%;
1174
+ background-color: var(--stop-color, #a8452e);
1175
+ flex-shrink: 0;
1176
+ }
1177
+
1178
+ .travel-route-place {
1179
+ @include sourceSerifFont;
1180
+ font-size: 15.5px;
1181
+ font-weight: 900;
1182
+ line-height: 1.4;
1183
+ color: $darkText;
1184
+ word-break: normal;
1185
+ overflow-wrap: break-word;
1186
+ }
1187
+
1188
+ .travel-route-days {
1189
+ font-family: $linkFontFamily, "SF Pro Text", -apple-system, sans-serif;
1190
+ font-size: 11.5px;
1191
+ line-height: 1.4;
1192
+ color: #a8452e;
1193
+ font-variant-numeric: tabular-nums;
1194
+ }
1195
+
1196
+ .travel-route-note {
1197
+ @include defaultFont;
1198
+ font-size: 11.5px;
1199
+ line-height: 1.45;
1200
+ color: $moreGrayText;
1201
+ margin-top: 1px;
1202
+ word-break: normal;
1203
+ overflow-wrap: break-word;
1204
+ }
1205
+ }
1206
+
1207
+ @media (max-width: 728px) {
1208
+ h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
1209
+ margin: 2.2em auto 1.2em;
1210
+ font-size: 1.38em;
1211
+ letter-spacing: 0.06em;
1212
+ }
1213
+
1214
+ p:has(.image-grid, .lazyload-outer-wrap, img)
1215
+ + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
1216
+ .image-grid + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
1217
+ figure + h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
1218
+ margin-top: 2.5em;
1219
+ }
1220
+
1221
+ h3 {
1222
+ margin: 1.7em auto 0.75em;
1223
+ font-size: 1.15em;
1224
+ }
1225
+
1226
+ p:has(.image-grid, .lazyload-outer-wrap, img) + h3,
1227
+ .image-grid + h3,
1228
+ figure + h3 {
1229
+ margin-top: 2em;
1230
+ }
1231
+
1232
+ h4 {
1233
+ margin: 1.4em auto 0.65em;
1234
+ font-size: 1.02em;
1235
+ }
1236
+
1237
+ table:not(:where(.highlight table)) {
1238
+ margin: 1.35em auto;
1239
+ font-size: 0.86em;
1240
+
1241
+ th,
1242
+ td {
1243
+ padding: 0.6em 0.55em;
1244
+ }
1245
+ }
1246
+
1247
+ .travel-route-block {
1248
+ .travel-route-grid {
1249
+ grid-template-columns: repeat(
1250
+ min(var(--route-cols, 3), 3),
1251
+ minmax(0, 1fr)
1252
+ );
1253
+ gap: 8px 12px;
1254
+ }
1255
+ }
1256
+ }
1257
+
1258
+ @media (max-width: 479px) {
1259
+ h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
1260
+ margin: 2em auto 1.1em;
1261
+ font-size: max(min(5.8vw, 1.35em), 20px);
1262
+ letter-spacing: 0.05em;
1263
+
1264
+ &::before {
1265
+ margin-bottom: 8px;
1266
+ padding: 0 calc(28px - 0.14em) 0 28px;
1267
+ font-size: 10.5px;
1268
+ letter-spacing: 0.14em;
1269
+ background-size:
1270
+ 18px 1px,
1271
+ 18px 1px;
1272
+ }
1273
+
1274
+ &::after {
1275
+ width: 18px;
1276
+ margin-top: 10px;
1277
+ }
1278
+
1279
+ &:hover {
1280
+ &::before {
1281
+ background-size:
1282
+ 22px 1px,
1283
+ 22px 1px;
1284
+ }
1285
+
1286
+ &::after {
1287
+ width: 26px;
1288
+ }
1289
+ }
1290
+ }
1291
+
1292
+ h3 {
1293
+ font-size: max(min(4.6vw, 1.15em), 17.5px);
1294
+
1295
+ &::before {
1296
+ margin-right: 7px;
1297
+ font-size: 9px;
1298
+ }
1299
+
1300
+ &::after {
1301
+ margin-left: 10px;
1302
+ }
1303
+ }
1304
+
1305
+ h4 {
1306
+ font-size: max(min(4vw, 1.04em), 16px);
1307
+
1308
+ &::before {
1309
+ margin-right: 6px;
1310
+ font-size: 8px;
1311
+ }
1312
+
1313
+ &::after {
1314
+ margin-left: 8px;
1315
+ }
1316
+ }
1317
+
1318
+ .travel-route-block {
1319
+ .travel-route-grid {
1320
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1321
+ gap: 8px 10px;
1322
+ }
1323
+
1324
+ .travel-route-item {
1325
+ padding: 8px 8px 6px;
1326
+ }
1327
+
1328
+ .travel-route-place {
1329
+ font-size: 14.5px;
1330
+ }
1331
+ }
1332
+ }
1333
+
1334
+ @media (prefers-reduced-motion: reduce) {
1335
+ h2,
1336
+ h2::before,
1337
+ h2::after,
1338
+ h3,
1339
+ h3::before,
1340
+ h3::after,
1341
+ table:not(:where(.highlight table)) tbody tr,
1342
+ .travel-route-block .travel-route-seg,
1343
+ .travel-route-block .travel-route-item {
1344
+ transition: none;
1345
+ }
1346
+ }
1347
+ }
1348
+ }
643
1349
  .post-meta {
644
1350
  @include defaultFont;
645
- margin-top: -15px;
646
- align-items: center;
1351
+ margin: 0 0 1.6em;
1352
+ line-height: 1.6;
647
1353
  color: $metaText;
648
1354
  font-size: $postMetaFontSize;
649
1355
  .date {
@@ -652,19 +1358,21 @@ body {
652
1358
  }
653
1359
  .categories {
654
1360
  display: inline;
1361
+ line-height: 1.5;
655
1362
  &:not(:first-child) {
656
1363
  margin-left: 10px;
657
1364
  }
658
- line-height: 1.5;
659
1365
  .category-item {
660
1366
  display: inline;
661
1367
  color: $metaText;
662
1368
  &:not(:first-child) {
663
1369
  margin-left: 10px;
664
1370
  }
1371
+ transition: color 160ms $easeOut;
665
1372
  &:hover {
666
1373
  text-decoration: underline;
667
- color: #a7a2a2;
1374
+ text-underline-offset: 0.2em;
1375
+ color: $accent;
668
1376
  }
669
1377
  }
670
1378
  }
@@ -677,7 +1385,6 @@ body {
677
1385
  }
678
1386
  }
679
1387
  .page-pv {
680
- display: inline;
681
1388
  display: none;
682
1389
  margin-left: 10px;
683
1390
  span {
@@ -687,48 +1394,69 @@ body {
687
1394
  #content-switch {
688
1395
  user-select: none;
689
1396
  display: inline-block;
690
- margin-left: 0.5rem;
691
- background-color: $darkText;
692
- color: #fff;
693
- padding: 2px 4px;
694
- border-radius: 2px;
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;
695
1404
  cursor: pointer;
1405
+ transition:
1406
+ color 180ms $easeOut,
1407
+ border-color 180ms $easeOut,
1408
+ background-color 180ms $easeOut;
696
1409
  &:hover {
697
- background-color: rgba(35, 35, 35, 0.7);
1410
+ color: $accent;
1411
+ border-color: $accentBorder;
1412
+ background-color: $accentSoft;
698
1413
  }
699
1414
  }
700
1415
  }
701
1416
  a:not([class]):not(:has(.shared-link)) {
702
- word-break: break-all;
703
- color: $green;
704
- font-weight: bold;
705
- text-decoration: none;
706
- &::after {
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 {
707
1429
  content: "";
708
1430
  display: inline-block;
709
- width: 1em;
710
- height: 1em;
711
- background-image: url("../img/icons/redirect.svg");
712
- background-size: cover;
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;
713
1436
  vertical-align: middle;
714
- margin-bottom: 0.25em;
1437
+ margin-left: 0.14em;
1438
+ margin-bottom: 0.22em;
1439
+ opacity: 0.7;
715
1440
  }
716
1441
  &:empty::after {
717
1442
  display: none;
718
1443
  }
719
- &:has(img)::after {
720
- display: none;
1444
+ &:has(img) {
1445
+ text-decoration: none;
1446
+ &::after {
1447
+ display: none;
1448
+ }
721
1449
  }
722
1450
  &:hover {
723
- opacity: 0.85;
724
- border-bottom: solid 1px $green;
1451
+ color: $accentDark;
1452
+ text-decoration-color: $accent;
725
1453
  }
726
1454
  &[href^="tel:"] {
727
1455
  &::after {
728
1456
  display: none;
729
1457
  }
730
1458
  }
731
- &:has(> span.break-on-mobile) {
1459
+ &[href^="http"]:has(> span.break-on-mobile) {
732
1460
  &::after {
733
1461
  display: none;
734
1462
  }
@@ -736,12 +1464,15 @@ body {
736
1464
  &::after {
737
1465
  content: "";
738
1466
  display: inline-block;
739
- width: 1em;
740
- height: 1em;
741
- background-image: url("../img/icons/redirect.svg");
742
- background-size: cover;
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;
743
1472
  vertical-align: middle;
744
- margin-bottom: 0.25em;
1473
+ margin-left: 0.14em;
1474
+ margin-bottom: 0.22em;
1475
+ opacity: 0.7;
745
1476
  }
746
1477
  }
747
1478
  }
@@ -755,6 +1486,7 @@ body {
755
1486
  display: inline-block;
756
1487
  margin-left: 0.35em;
757
1488
  font-weight: normal;
1489
+ text-decoration: none;
758
1490
 
759
1491
  svg {
760
1492
  display: inline-block;
@@ -782,78 +1514,103 @@ body {
782
1514
  }
783
1515
 
784
1516
  hr {
785
- background-color: #f5f5f5;
1517
+ background-color: transparent;
786
1518
  border: none;
1519
+ border-top: 1px solid $borderColor;
787
1520
  display: block;
788
- height: 2px;
789
- margin: 1.5rem 0;
1521
+ height: 0;
1522
+ margin: 2rem 0;
790
1523
  }
791
1524
  .pswp-caption-content {
792
1525
  display: none;
793
1526
  }
794
- table {
1527
+ table:not(:where(.highlight table)) {
795
1528
  width: 100%;
796
- border: 1px solid #d9d9d9;
797
- border-collapse: collapse;
798
- border-spacing: 0;
799
- }
800
- table thead tr {
801
- font-family: AvenirNext-Bold;
802
- }
803
- table thead tr,
804
- table tr:nth-child(even) {
805
- background-color: #f6f6f6;
806
- }
807
- table td:not(:last-child),
808
- table th:not(:last-child) {
809
- border-right: 1px solid #d9d9d9;
810
- }
811
- table th {
812
- color: #363636;
813
- font-weight: bold;
814
- }
815
- table td,
816
- table th {
1529
+ margin: 1.6em 0;
817
1530
  border: none;
1531
+ border-top: 1.5px solid $borderStrong;
1532
+ border-bottom: 1.5px solid $borderStrong;
818
1533
  border-collapse: collapse;
819
1534
  border-spacing: 0;
820
- padding: 0.5em 0.75em;
821
- vertical-align: top;
822
- text-align: left;
823
- }
1535
+ font-variant-numeric: tabular-nums;
1536
+ font-size: 0.92em;
1537
+ line-height: 1.65;
824
1538
 
825
- table th {
826
- border-bottom: 1px solid #d9d9d9;
827
- }
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
+ }
828
1581
 
829
- table thead tr {
830
- background-color: #eff1f4;
1582
+ tbody td {
1583
+ color: $darkText;
1584
+ border-bottom: 1px solid $borderSubtle;
1585
+ }
831
1586
  }
832
1587
 
833
1588
  .message {
834
- background-color: #f5f5f5;
835
- border-radius: 4px;
836
- font-size: 0.9rem;
1589
+ background-color: $surface;
1590
+ border-radius: 0 $radiusMd $radiusMd 0;
1591
+ font-size: 0.92rem;
837
1592
  .message-body {
838
- border-color: #dbdbdb;
839
- border-radius: 4px;
1593
+ border-color: $borderStrong;
1594
+ border-radius: 0 $radiusMd $radiusMd 0;
840
1595
  border-style: solid;
841
- border-width: 0 0 0 4px;
842
- color: #4a4a4a;
843
- padding: 1em 1.25em;
1596
+ border-width: 0 0 0 2.5px;
1597
+ color: $grayerText;
1598
+ padding: 0.95em 1.25em;
844
1599
  }
845
1600
  }
846
1601
 
847
1602
  blockquote {
848
- margin-left: 0;
849
- margin-right: 0;
850
- background-color: #f5f5f5;
851
- border-radius: 4px;
1603
+ margin: 1.4em 0;
1604
+ background-color: $surface;
1605
+ border-radius: 0 $radiusMd $radiusMd 0;
852
1606
  box-sizing: border-box;
853
- padding: $commonPadding;
854
- border-left: 5px solid #dbdbdb;
1607
+ padding: 0.95em 1.25em;
1608
+ border-left: 2.5px solid $borderStrong;
1609
+ color: $grayerText;
1610
+ font-size: 0.96em;
855
1611
  p {
856
1612
  margin-top: 0;
1613
+ margin-bottom: 0.75em;
857
1614
  &:last-child {
858
1615
  margin-bottom: 0;
859
1616
  }
@@ -861,20 +1618,22 @@ body {
861
1618
  }
862
1619
 
863
1620
  figure.highlight {
864
- background-color: #f6f8fa;
1621
+ background-color: $surface;
1622
+ border: 1px solid $borderSubtle;
865
1623
  padding: 0;
866
1624
  width: 100%;
867
1625
  position: relative;
868
- margin: 1em 0 1em;
869
- border-radius: 4px;
1626
+ margin: 1.35em 0;
1627
+ border-radius: $radiusMd;
870
1628
  overflow: hidden;
871
1629
  font-size: 14px;
872
1630
  figcaption {
873
1631
  @include defaultFont;
874
1632
  color: $gray5;
875
1633
  font-size: 12px;
876
- background-color: rgba(129, 139, 152, 0.12);
877
- padding: 0.35em 0;
1634
+ background-color: $surfaceAlt;
1635
+ border-bottom: 1px solid $borderSubtle;
1636
+ padding: 0.4em 0.5em 0.4em 0;
878
1637
  span {
879
1638
  &:first-child {
880
1639
  &::before {
@@ -883,47 +1642,67 @@ body {
883
1642
  width: 35px;
884
1643
  height: 20px;
885
1644
  background-image: url("../img/icons/code.svg");
886
- background-size: 16px 16px;
1645
+ background-size: 15px 15px;
887
1646
  background-position: center;
888
1647
  background-repeat: no-repeat;
889
1648
  vertical-align: middle;
890
1649
  margin-bottom: 1px;
891
1650
  margin-right: 2px;
1651
+ opacity: 0.72;
892
1652
  }
893
1653
  }
894
1654
  }
895
1655
  }
896
1656
  .copy-btn {
897
1657
  content: "";
898
- width: calc(21px + 0.25em);
899
- height: calc(21px + 0.5em);
1658
+ width: 28px;
1659
+ height: 28px;
900
1660
  position: absolute;
901
- top: 0;
902
- right: 0;
903
- padding-top: 0.5em;
904
- padding-right: 0.5em;
905
- background-image: url("../img/icons/copy.png");
906
- background-size: 14px 14px;
907
- background-position: 0 75%;
908
- 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;
909
1667
  cursor: pointer;
910
- background-color: #fafafa;
911
- transition: all ease-in-out 0.3s;
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;
912
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
+ }
913
1688
  &.copied {
914
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAWJAAAFiQFtaJ36AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN0SURBVHgB7Zs7buJQFIYPtpGmmyzBrGDIDoiEaDM7CHTTBReAqAIVEiBBVhCyhJQjkMh0U3pWMCyBioZX/oMMIsQG7jXY15hPsvDjIvn/fR/nnmsnyCedTseczWYPy+Uyj0OT1MTWNM3Wdb1uWdZo+0KCfNButx8hvIbthiJCIpHolkola3NMkrRarScWTxEEJrzDhDve10mCZrOZx0+XoouZy+Vu+v3+b+EawG1+Op0OSd32fjTJZDJlkAToUCxU/zEpCO7LxM89tp+HyuJBFn11girTaDRMwzBeYEjGqwz6AvtiDViD/or7qkePy+OLN4DBiDX0qgkaxQAEagWva7EwoFqtjnjsd7sWCwMc3txOfhkGndieQ1weRkxSE8/Yft9/3E5+qgEc3mJs/A/xRVI70EkvFos83yvuGc+sIz0X2RiAic1LFGN7flgcmcqasDKAnzw7StEljWb7RBJo3OajOqvbhmsCHmSGBNFQfTJ0ITgdtxAaxscHuhzuBcuv+oDIZHOOwCRBtCils85BnCJBV64GUMy5GkAxRxUDnrHdYisgLgk02SqVFT4lGIbrlUql5hzayOHZMGEY1PAcag3YEb+iXC7bOH8XVE0IzQA38WvWJlAAhGLAPvFrHBNe6cwEbsAx4tegGXynMxOoASLikaHiWarw9FYU3wbw8hJ+RofKiYpHhqpHAeDLABaFdfZbtNcU9q195VQUz0gbsCsK+103E1QWz0gZ4CXKMaF+qJwbYYhnZAzo7RPlXOO1uILq4hmZUPjPoQLoE3p0JGGKZ4RrAHr9H3QiwhbPCBvg5N+lFiG2UUE8I9sJ1vyYoIp4xs8wKGWCSuIZv4GQkAmqiWd8h8LHmqCieDA+yWTokAmKil/NY042G/QyQVXxDO7530mnw7smqCyemc/n3ZMnRR0TivwqLcSbpCg8T+G3x86SFXYyusouum5P0kJPiwcFOjx+IFwrWfzmVf/YGADho8lkkqrVap/S7bExgLPMbueva4MUc64GUMxhA2y6EJw1CiH4PcGDOb6ogABH3ADDMHpBv5RwLhDb10X/o1mWtYqOKOKsY3sSZPXl6GAw+JvNZlEREhmKILjvVwQ6RZJg8+ksTHhnEzRNS+PwG0WHZ4j/RZJ8+WyOPzjUdT3DL1E7X2EqB/dZaLZvnGuQqfbbfACZ9gdvYn2P8QAAAABJRU5ErkJggg==");
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
+ }
915
1694
  }
916
1695
  }
917
1696
  &:has(figcaption) {
918
1697
  .copy-btn {
919
- background-color: unset;
920
- width: 21px;
921
- height: 21px;
922
- padding-top: 0;
923
- padding-right: 0;
924
- top: 0.35em;
1698
+ background-color: transparent;
1699
+ width: 24px;
1700
+ height: 24px;
1701
+ top: 0.28em;
925
1702
  right: 0.35em;
926
- background-position: center;
1703
+ &:hover {
1704
+ background-color: rgba(34, 33, 31, 0.06);
1705
+ }
927
1706
  }
928
1707
  }
929
1708
  .gutter {
@@ -970,13 +1749,22 @@ body {
970
1749
  margin: 0;
971
1750
  padding: 0;
972
1751
  .line {
973
- font-size: 12px;
1752
+ font-size: 12.5px;
974
1753
  }
975
1754
  }
976
1755
  table {
977
1756
  width: 100%;
978
1757
  border: none;
1758
+ border-collapse: collapse;
979
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
+ }
980
1768
  }
981
1769
  .fold-toggle {
982
1770
  display: none;
@@ -995,9 +1783,9 @@ body {
995
1783
  bottom: 0;
996
1784
  width: 100%;
997
1785
  height: 24px;
998
- background-color: #fff;
1786
+ background-color: $surface;
999
1787
  background-image: url("../img/icons/up-down.svg");
1000
- background-size: 24px 24px;
1788
+ background-size: 20px 20px;
1001
1789
  background-repeat: no-repeat;
1002
1790
  background-position: center;
1003
1791
  &::before {
@@ -1010,8 +1798,8 @@ body {
1010
1798
  left: 0;
1011
1799
  background-image: linear-gradient(
1012
1800
  to bottom,
1013
- rgba(255, 255, 255, 0),
1014
- rgba(255, 255, 255, 1)
1801
+ rgba(247, 246, 242, 0),
1802
+ rgba(247, 246, 242, 1)
1015
1803
  );
1016
1804
  }
1017
1805
  }
@@ -1024,16 +1812,17 @@ body {
1024
1812
  }
1025
1813
 
1026
1814
  code {
1027
- background-color: rgba(129, 139, 152, 0.12);
1028
- padding: 0.2em 0.4em;
1029
- border-radius: 2px;
1815
+ background-color: $surfaceAlt;
1816
+ padding: 0.16em 0.42em;
1817
+ border-radius: $radiusMd;
1030
1818
  -webkit-text-size-adjust: 100%;
1031
- font-size: 80%;
1819
+ font-size: 82%;
1820
+ font-family: $linkFontFamily;
1032
1821
  }
1033
1822
 
1034
1823
  .tags {
1035
1824
  @include tags;
1036
- margin-top: 1em;
1825
+ margin: 2em 0 0;
1037
1826
  &:empty {
1038
1827
  display: none;
1039
1828
  }
@@ -1189,72 +1978,94 @@ body {
1189
1978
  }
1190
1979
 
1191
1980
  .post-nav-wrap {
1192
- margin: $postWidgetGap auto 0 auto;
1981
+ margin: 1.5em auto 0 auto;
1193
1982
  box-sizing: border-box;
1194
- padding: 1em $commonPadding 0 $commonPadding;
1195
- padding-top: 14px;
1196
- background-color: #fff;
1983
+ padding: 1.25em $commonPadding 0 $commonPadding;
1984
+ border-top: 1px solid $borderSubtle;
1985
+ background-color: $bg;
1197
1986
  .post-nav {
1198
1987
  display: flex;
1199
1988
  justify-content: space-between;
1989
+ align-items: flex-start;
1200
1990
  flex-wrap: wrap;
1201
- align-items: baseline; /* 让元素对齐 */
1991
+ gap: 12px 20px;
1202
1992
  .post-nav-item {
1203
- font-size: 14px;
1993
+ font-size: 14.5px;
1994
+ line-height: 1.45;
1204
1995
  display: inline-flex;
1205
- align-items: center;
1996
+ flex-direction: column;
1997
+ row-gap: 3px;
1998
+ max-width: 100%;
1206
1999
  position: relative;
1207
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
+ }
1208
2023
  .item-link {
1209
- text-decoration: underline;
2024
+ font-weight: 500;
2025
+ text-decoration: none;
2026
+ transition: color 180ms $easeOut;
1210
2027
  }
1211
2028
  .nav-indicator-text {
2029
+ display: inline-flex;
2030
+ align-items: center;
2031
+ gap: 4px;
1212
2032
  white-space: nowrap;
1213
- position: absolute;
1214
- top: 0;
1215
- left: 16px;
1216
- transform: translateY(-100%);
1217
2033
  color: $moreGrayText;
1218
2034
  font-size: 12px;
2035
+ letter-spacing: 0.03em;
1219
2036
  user-select: none;
1220
2037
  pointer-events: none;
1221
- opacity: 0.75;
2038
+ transition: color 180ms $easeOut;
1222
2039
  }
1223
2040
  .sub-title {
1224
2041
  @include subTitle;
1225
- align-self: flex-end;
1226
- margin-bottom: 0.1em;
2042
+ font-size: 12px;
1227
2043
  }
1228
2044
  &.prev {
1229
- &::before {
2045
+ align-items: flex-start;
2046
+ text-align: left;
2047
+ .nav-indicator-text::before {
1230
2048
  content: "";
1231
2049
  display: inline-block;
1232
- width: 12px;
1233
- height: 12px;
1234
- background-image: url("../img/icons/prev.svg");
1235
- background-size: cover;
1236
- vertical-align: middle;
1237
- 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;
1238
2055
  }
1239
2056
  }
1240
2057
  &.next {
1241
2058
  margin-left: auto;
1242
- &::before {
1243
- content: none;
1244
- }
1245
- &::after {
2059
+ align-items: flex-end;
2060
+ text-align: right;
2061
+ .nav-indicator-text::after {
1246
2062
  content: "";
1247
2063
  display: inline-block;
1248
- width: 12px;
1249
- height: 12px;
1250
- background-image: url("../img/icons/next.svg");
1251
- background-size: cover;
1252
- vertical-align: middle;
1253
- margin-left: 4px;
1254
- }
1255
- .nav-indicator-text {
1256
- left: unset;
1257
- 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;
1258
2069
  }
1259
2070
  }
1260
2071
  }
@@ -1262,15 +2073,15 @@ body {
1262
2073
  }
1263
2074
 
1264
2075
  .copyright-desc {
1265
- margin: $postWidgetGap auto 0 auto;
2076
+ margin: 2em auto 0 auto;
1266
2077
  padding: 0 $commonPadding;
1267
- font-size: 14px;
1268
- color: $grayerText;
2078
+ font-size: 13px;
2079
+ color: $moreGrayText;
1269
2080
  text-align: center;
1270
2081
  }
1271
2082
 
1272
2083
  #archive {
1273
- padding-top: 20px;
2084
+ padding-top: 24px;
1274
2085
  h1,
1275
2086
  h2 {
1276
2087
  @include sourceSerifFont;
@@ -1294,36 +2105,44 @@ body {
1294
2105
  display: flex;
1295
2106
  flex-wrap: wrap;
1296
2107
  justify-content: space-between;
1297
- padding-left: 0;
1298
2108
  padding-left: 10px;
1299
2109
  margin-left: -10px;
1300
2110
  .tag-list-item {
1301
2111
  list-style: none;
1302
- background-color: #f8f8f8;
1303
- padding: 3px 5px;
1304
- font-size: 14px;
2112
+ background-color: $surface;
2113
+ border: 1px solid $borderSubtle;
2114
+ border-radius: $radiusMd;
2115
+ padding: 4px 8px;
2116
+ font-size: 13.5px;
1305
2117
  color: $linkColor;
1306
2118
  margin-right: 10px;
1307
- margin-bottom: 14px;
1308
- transition: background-color 160ms ease;
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
+ }
1309
2127
  .tag-list-link {
1310
2128
  color: $darkText;
1311
- transition: color 160ms ease;
2129
+ display: inline-flex;
2130
+ align-items: center;
2131
+ transition: color 180ms $easeOut;
1312
2132
  &:hover {
1313
- color: $linkColor;
2133
+ color: $accent;
1314
2134
  }
1315
2135
  &::before {
1316
2136
  content: "";
1317
2137
  width: 11px;
1318
2138
  height: 11px;
1319
- background-image: url("../img/icons/tag.svg");
1320
- background-size: cover;
1321
- filter: invert(1);
1322
- margin-right: 4px;
1323
- 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;
1324
2143
  text-decoration: none;
1325
2144
  display: inline-block;
1326
- opacity: 0.22;
2145
+ opacity: 0.36;
1327
2146
  }
1328
2147
  }
1329
2148
  }
@@ -1341,8 +2160,10 @@ body {
1341
2160
  align-items: center;
1342
2161
  list-style: none;
1343
2162
  font-size: 16px;
1344
- margin-bottom: 10px;
1345
- padding-left: 1em;
2163
+ margin-bottom: 8px;
2164
+ padding-left: 0.5em;
2165
+ border-radius: $radiusMd;
2166
+ transition: background-color 180ms $easeOut;
1346
2167
  .archive-list-link {
1347
2168
  width: 100%;
1348
2169
  display: flex;
@@ -1352,27 +2173,27 @@ body {
1352
2173
  position: relative;
1353
2174
  font-weight: bold;
1354
2175
  @include sourceSerifFont;
1355
- position: relative;
1356
- border-bottom: dashed 1px #f5f5f5;
2176
+ border-bottom: dashed 1px $borderSubtle;
2177
+ transition: color 180ms $easeOut;
1357
2178
  }
1358
2179
  &:hover {
1359
- border-color: #d8d8d8;
1360
- background-color: #fcfcfc;
2180
+ background-color: $surface;
1361
2181
  }
1362
2182
  .archive-list-link:hover {
1363
- color: $moreGrayText;
2183
+ color: $accent;
1364
2184
  }
1365
2185
  }
1366
2186
  .archive-list-count {
1367
- line-height: 36px;
1368
- min-width: 40px;
2187
+ line-height: 32px;
2188
+ min-width: 38px;
1369
2189
  display: inline-block;
1370
2190
  text-align: center;
1371
- font-size: 16px;
2191
+ font-size: 14px;
2192
+ font-variant-numeric: tabular-nums;
1372
2193
  margin-left: 20px;
1373
- color: $grayerText;
1374
- opacity: 0.5;
1375
- background-color: #f5f5f5;
2194
+ color: $metaText;
2195
+ background-color: $surface;
2196
+ border-radius: $radiusSm;
1376
2197
  padding: 2px 10px;
1377
2198
  }
1378
2199
  }
@@ -1400,14 +2221,19 @@ body {
1400
2221
 
1401
2222
  .posts-info-layout {
1402
2223
  display: flex;
2224
+ align-items: flex-start;
1403
2225
  .posts-wrap {
1404
2226
  width: 75%;
1405
2227
  }
1406
2228
  .info-wrap {
1407
2229
  width: 25%;
2230
+ @media (min-width: 729px) {
2231
+ position: sticky;
2232
+ top: 84px;
2233
+ }
1408
2234
  .site-info {
1409
- background-color: #fff;
1410
- padding: 20px 20px 0 20px;
2235
+ background-color: $bg;
2236
+ padding: 20px 0 0 28px;
1411
2237
  &.home {
1412
2238
  padding-top: 35px;
1413
2239
  }
@@ -1416,7 +2242,7 @@ body {
1416
2242
  margin-top: calc($postItemGap / 2);
1417
2243
  }
1418
2244
  &:nth-child(2) {
1419
- margin-top: $postItemGap;
2245
+ margin-top: 16px;
1420
2246
  }
1421
2247
  .logo {
1422
2248
  width: 36px;
@@ -1424,7 +2250,7 @@ body {
1424
2250
  display: inline-block;
1425
2251
  margin: 0;
1426
2252
  vertical-align: middle;
1427
- border-radius: 1px;
2253
+ border-radius: $radiusSm;
1428
2254
  }
1429
2255
  .site-name {
1430
2256
  margin-left: 10px;
@@ -1437,18 +2263,23 @@ body {
1437
2263
  display: flex;
1438
2264
  align-items: center;
1439
2265
  .avatar {
1440
- width: 5vw;
1441
- height: 5vw;
1442
- border-radius: 2px;
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;
1443
2271
  }
1444
2272
  .name {
1445
- margin-left: 10px;
1446
- font-size: 18px;
2273
+ margin-left: 12px;
2274
+ font-size: 17px;
2275
+ font-weight: 600;
2276
+ color: $darkText;
1447
2277
  }
1448
2278
  }
1449
2279
  &.description {
1450
- color: $darkText;
1451
- font-size: 16px;
2280
+ color: $grayerText;
2281
+ font-size: 14.5px;
2282
+ line-height: 1.6;
1452
2283
  }
1453
2284
  &.site-statisc {
1454
2285
  max-width: 75vw;
@@ -1458,23 +2289,27 @@ body {
1458
2289
  display: flex;
1459
2290
  justify-content: space-between;
1460
2291
  flex-wrap: wrap;
2292
+ padding-top: 10px;
2293
+ border-top: 1px solid $borderSubtle;
1461
2294
  a {
1462
2295
  flex: 0 0 auto;
1463
2296
  color: $darkText;
2297
+ transition: color 160ms $easeOut;
1464
2298
  &:hover {
1465
2299
  text-decoration: underline;
1466
- opacity: 0.7;
2300
+ text-underline-offset: 0.2em;
2301
+ color: $accent;
1467
2302
  }
1468
2303
  }
1469
2304
  .divider {
1470
2305
  flex: 1 1 auto;
1471
2306
  text-align: center;
1472
- color: #d8d8d8;
2307
+ color: $grayc;
1473
2308
  }
1474
2309
  }
1475
2310
  &.about {
1476
2311
  margin-bottom: 10px;
1477
- color: $green;
2312
+ color: $accent;
1478
2313
  font-size: 14px;
1479
2314
  a {
1480
2315
  &:hover {
@@ -1526,11 +2361,14 @@ body {
1526
2361
  }
1527
2362
 
1528
2363
  .section-title {
1529
- background-color: #fff;
1530
- padding-bottom: 8px;
1531
- color: rgb(96, 96, 96);
1532
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
1533
- font-size: 20px;
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;
1534
2372
  }
1535
2373
 
1536
2374
  .banner-bg {
@@ -1540,11 +2378,10 @@ body {
1540
2378
  z-index: -1;
1541
2379
  top: $navbarMinHeight;
1542
2380
  left: 0;
1543
- background-color: #ffffff;
2381
+ background-color: $bg;
1544
2382
  background-image: url("../img/pattern-randomized.jpg");
1545
- background-attachment: absolute;
1546
2383
  background-size: cover;
1547
- opacity: 0.5;
2384
+ opacity: 0.14;
1548
2385
  &::after {
1549
2386
  content: "";
1550
2387
  position: absolute;
@@ -1552,7 +2389,7 @@ body {
1552
2389
  bottom: 0;
1553
2390
  display: block;
1554
2391
  width: 100%;
1555
- height: 35%;
2392
+ height: 55%;
1556
2393
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
1557
2394
  }
1558
2395
  }
@@ -1583,7 +2420,7 @@ body {
1583
2420
  width: 100%;
1584
2421
  flex: 0 0 auto;
1585
2422
  min-height: calc(100vh - 65px - 80px - 32 * 0.67px - 10px);
1586
- max-width: max(1032px, min(1192px, 68vw));
2423
+ max-width: $siteMaxWidth;
1587
2424
  min-width: 50%;
1588
2425
  margin: 0 auto;
1589
2426
  @include pageXPadding;
@@ -1598,12 +2435,11 @@ body {
1598
2435
  max-width: $postWidth;
1599
2436
  padding: 0;
1600
2437
  .content-inner {
1601
- background-color: #fff;
2438
+ background-color: $bg;
1602
2439
  }
1603
2440
  #post {
1604
2441
  margin: 0 auto;
1605
- padding: 0 $commonPadding;
1606
- padding-top: min(calc(3vw - 6px), 9px);
2442
+ padding: clamp(22px, 3vw, 34px) $commonPadding 0;
1607
2443
  h1:first-child {
1608
2444
  margin-top: 0;
1609
2445
  }
@@ -1613,11 +2449,14 @@ body {
1613
2449
  @media (max-width: 479px) {
1614
2450
  --gt-avatar-size: 2rem;
1615
2451
  }
1616
- margin-top: $postWidgetGap;
1617
- padding: 0 $commonPadding;
1618
- background-color: #fff;
2452
+ margin: 1.25em 0 0;
2453
+ padding: 0.25rem $commonPadding 0;
2454
+ background-color: $bg;
1619
2455
  min-height: 197px;
1620
- border-top: solid 1px #f5f5f5;
2456
+ border-top: 1px solid $borderSubtle;
2457
+ &:has(.gt-container) {
2458
+ min-height: 0;
2459
+ }
1621
2460
  .gt-meta {
1622
2461
  margin-top: 0;
1623
2462
  border-bottom: none;
@@ -1802,29 +2641,38 @@ body {
1802
2641
  }
1803
2642
  }
1804
2643
  a:not([class]) {
1805
- color: $green;
1806
- font-weight: bold;
1807
- text-decoration: none;
1808
- &:after {
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 {
1809
2654
  content: "";
1810
2655
  display: inline-block;
1811
- width: 1em;
1812
- height: 1em;
1813
- background-image: url("../img/icons/redirect.svg");
1814
- background-size: cover;
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;
1815
2661
  vertical-align: middle;
1816
- margin-bottom: 0.25em;
2662
+ margin-left: 0.14em;
2663
+ margin-bottom: 0.22em;
2664
+ opacity: 0.7;
1817
2665
  }
1818
2666
  &:empty::after,
1819
2667
  &:has(img)::after {
1820
2668
  display: none;
1821
2669
  }
1822
- &:has(img):hover {
1823
- border-bottom: 0;
2670
+ &:has(img) {
2671
+ text-decoration: none;
1824
2672
  }
1825
2673
  &:hover {
1826
- opacity: 0.85;
1827
- border-bottom: solid 1px $green;
2674
+ color: $accentDark;
2675
+ text-decoration-color: $accent;
1828
2676
  }
1829
2677
  }
1830
2678
  }
@@ -1834,9 +2682,14 @@ body {
1834
2682
  .gt-btn {
1835
2683
  border-color: $darkText;
1836
2684
  background-color: $darkText;
2685
+ border-radius: $radiusMd;
2686
+ transition:
2687
+ background-color 180ms $easeOut,
2688
+ border-color 180ms $easeOut,
2689
+ opacity 180ms $easeOut;
1837
2690
  }
1838
2691
  .gt-btn-preview {
1839
- background-color: #fff;
2692
+ background-color: $bg;
1840
2693
  color: $darkText;
1841
2694
  }
1842
2695
  .gt-comment-username {
@@ -1850,13 +2703,12 @@ body {
1850
2703
  border-bottom: 0;
1851
2704
 
1852
2705
  &:hover {
1853
- color: $darkText;
1854
- opacity: 0.75;
2706
+ color: $accent;
1855
2707
  }
1856
2708
  }
1857
2709
  .gt-header-avatar,
1858
2710
  .gt-comment-avatar {
1859
- background-color: #f5f5f5;
2711
+ background-color: $surface;
1860
2712
  border-radius: 50%;
1861
2713
 
1862
2714
  img {
@@ -1880,9 +2732,11 @@ body {
1880
2732
  }
1881
2733
  .gt-link-counts {
1882
2734
  color: $darkText;
1883
- }
1884
- .gt-btn {
1885
- border-radius: 2px;
2735
+ border-bottom-color: $borderStrong;
2736
+ &:hover {
2737
+ color: $accent;
2738
+ border-bottom-color: $accent;
2739
+ }
1886
2740
  }
1887
2741
  .gt-ico-tip {
1888
2742
  .gt-svg {
@@ -1900,12 +2754,26 @@ body {
1900
2754
  }
1901
2755
  }
1902
2756
  }
1903
- .gt-header-comment {
1904
- border-radius: 2px;
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
+ }
1905
2769
  }
1906
- .gt-header-textarea {
2770
+ .gt-container .gt-header-textarea {
1907
2771
  border: none;
1908
- border-radius: 2px;
2772
+ border-radius: 0;
2773
+ background-color: transparent;
2774
+ &:focus-visible {
2775
+ outline: none;
2776
+ }
1909
2777
  }
1910
2778
  .gt-ico-text {
1911
2779
  color: $moreGrayText;
@@ -1982,31 +2850,39 @@ body {
1982
2850
  #top-posts {
1983
2851
  display: flex;
1984
2852
  flex-wrap: wrap;
1985
- margin-bottom: $postItemGap;
2853
+ margin-bottom: 28px;
1986
2854
  .post-item {
1987
- background-color: #fff;
2855
+ background-color: $bg;
1988
2856
  display: block;
1989
2857
  margin-top: $postItemGap;
1990
2858
  width: calc((100% - $postItemGap * 2) / 3);
1991
2859
  margin-right: $postItemGap;
2860
+ &:hover {
2861
+ .cover-img img {
2862
+ transform: scale(1.028);
2863
+ }
2864
+ .title {
2865
+ color: $accent;
2866
+ }
2867
+ }
1992
2868
  .title-excerpt {
1993
- margin-top: 15px;
2869
+ margin-top: 14px;
1994
2870
  }
1995
2871
  .title {
1996
2872
  color: $darkText;
1997
2873
  font-weight: bold;
1998
- font-size: 26px;
2874
+ font-size: 24px;
2875
+ line-height: 1.35;
1999
2876
  text-decoration: none;
2000
- &:hover {
2001
- color: $darkText;
2002
- }
2877
+ transition: color 180ms $easeOut;
2003
2878
  .sub-title {
2004
2879
  @include subTitle;
2005
2880
  }
2006
2881
  }
2007
2882
  .excerpt {
2008
- margin: 0.5rem 0;
2883
+ margin: 0.5rem 0 0.65rem;
2009
2884
  color: $grayerText;
2885
+ line-height: 1.65;
2010
2886
  cursor: text;
2011
2887
  }
2012
2888
  .post-meta {
@@ -2039,7 +2915,9 @@ body {
2039
2915
  .cover-img {
2040
2916
  width: 100%;
2041
2917
  position: relative;
2042
- border: 1px solid rgba(0, 0, 0, 0.15);
2918
+ overflow: hidden;
2919
+ border-radius: $radiusSm;
2920
+ border: 1px solid $borderColor;
2043
2921
  &:before {
2044
2922
  content: "";
2045
2923
  display: block;
@@ -2054,6 +2932,7 @@ body {
2054
2932
  width: 100%;
2055
2933
  height: 100%;
2056
2934
  object-fit: cover;
2935
+ transition: transform 0.55s $easeOut;
2057
2936
  }
2058
2937
  .post-list-cover-lazy {
2059
2938
  position: absolute;
@@ -2078,23 +2957,34 @@ body {
2078
2957
  width: 100%;
2079
2958
  .item-body {
2080
2959
  flex-direction: row;
2960
+ align-items: stretch;
2081
2961
  }
2082
2962
  .cover-img {
2083
2963
  width: calc((100% - $postItemGap * 2) / 3 * 2 + $postItemGap);
2084
2964
  flex: 0 0 auto;
2085
2965
  }
2086
2966
  .title-excerpt {
2087
- margin-left: $postItemGap;
2967
+ margin-top: 0;
2968
+ margin-left: 24px;
2969
+ padding: 4px 0;
2088
2970
  width: 0;
2089
2971
  flex: 1 1 auto;
2090
2972
  display: flex;
2091
2973
  flex-direction: column;
2092
- justify-content: space-around;
2974
+ justify-content: flex-start;
2975
+ gap: 12px;
2093
2976
  .title {
2094
- font-size: 32px;
2977
+ font-size: 30px;
2978
+ line-height: 1.3;
2095
2979
  }
2096
2980
  .excerpt {
2097
- font-size: 20px;
2981
+ margin: 0;
2982
+ font-size: 17px;
2983
+ line-height: 1.72;
2984
+ }
2985
+ .post-meta {
2986
+ margin-top: auto;
2987
+ padding-top: 10px;
2098
2988
  }
2099
2989
  }
2100
2990
  }
@@ -2110,30 +3000,34 @@ body {
2110
3000
  }
2111
3001
 
2112
3002
  .series-nav {
2113
- background-color: #f5f5f5;
3003
+ background-color: $surface;
3004
+ border: 1px solid $borderSubtle;
2114
3005
  width: calc(100% - min(6vw, 30px));
2115
- margin: $postWidgetGap auto 0 auto;
3006
+ margin: 2em auto 0 auto;
2116
3007
  padding: 1em;
2117
- padding-top: 0.65em;
2118
- border-radius: 2px;
3008
+ padding-top: 0.75em;
3009
+ border-radius: $radiusMd;
2119
3010
  display: none;
2120
3011
  .series-name {
2121
3012
  .series-name-content {
2122
3013
  display: inline-flex;
2123
3014
  align-items: center;
2124
3015
  cursor: pointer;
3016
+ transition: color 180ms $easeOut;
2125
3017
  &:hover {
2126
- opacity: 0.7;
3018
+ color: $accent;
2127
3019
  }
2128
3020
  }
2129
3021
  color: $grayerText;
3022
+ font-size: 14px;
3023
+ font-weight: 500;
2130
3024
  .dot {
2131
3025
  margin: 0 0.5em;
2132
3026
  display: inline-block;
2133
3027
  width: 4px;
2134
3028
  height: 4px;
2135
3029
  border-radius: 4px;
2136
- background-color: $grayerText;
3030
+ background-color: $grayb;
2137
3031
  }
2138
3032
  .series-icon {
2139
3033
  display: inline-block;
@@ -2142,16 +3036,15 @@ body {
2142
3036
  background-image: url("../img/icons/shelf.svg");
2143
3037
  background-size: cover;
2144
3038
  margin-right: 0.5em;
3039
+ opacity: 0.72;
2145
3040
  }
2146
3041
  }
2147
3042
  .post-nav-wrap {
2148
- margin-top: 0.5em;
2149
- padding-top: calc(1em + 14px);
2150
- padding-bottom: 1em;
3043
+ margin-top: 0.75em;
3044
+ padding: 0.75em 0 0;
3045
+ border-top: 1px solid $borderSubtle;
3046
+ background-color: transparent;
2151
3047
  margin-bottom: 0;
2152
- .post-nav .post-nav-item .item-link {
2153
- text-decoration: none;
2154
- }
2155
3048
  }
2156
3049
  .series-popup {
2157
3050
  min-height: 50%;
@@ -2160,54 +3053,69 @@ body {
2160
3053
  bottom: 0;
2161
3054
  left: 0;
2162
3055
  width: 100%;
2163
- background-color: rgba(255, 255, 255, 1);
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);
2164
3060
  z-index: 1000;
2165
- padding: 15px 0;
3061
+ padding: 10px 0 0;
2166
3062
  transform: translateY(125%);
2167
- transition: transform cubic-bezier(0.4, 0, 0.6, 1) 0.3s;
3063
+ transition: transform 0.34s $easeOut;
2168
3064
  display: flex;
2169
3065
  flex-direction: column;
2170
3066
  overscroll-behavior: contain;
2171
- @include safe-padding(15px);
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
+ }
2172
3077
  &.visible {
2173
3078
  transform: translateY(0);
2174
3079
  }
2175
3080
  .popup-header {
2176
3081
  flex: 0 0 auto;
2177
3082
  display: flex;
3083
+ align-items: center;
2178
3084
  justify-content: space-between;
2179
3085
  padding-bottom: 0.8em;
3086
+ border-bottom: 1px solid $borderSubtle;
2180
3087
  .title {
2181
3088
  flex: 1 1 auto;
2182
3089
  text-align: center;
3090
+ font-weight: 600;
3091
+ font-size: 15px;
3092
+ color: $darkText;
2183
3093
  }
2184
3094
  .close-series-popup-icon-wrap {
2185
3095
  padding: 0 $commonPadding;
2186
3096
  }
2187
3097
  .close-series-popup-icon {
2188
3098
  display: block;
2189
- width: 24px;
2190
- height: 24px;
3099
+ width: 22px;
3100
+ height: 22px;
2191
3101
  background-image: url("../img/icons/arrow-down.svg");
2192
3102
  background-size: cover;
2193
- }
2194
- .title {
2195
- font-weight: 500;
2196
- font: 15px;
3103
+ opacity: 0.72;
2197
3104
  }
2198
3105
  .details-link {
2199
- outline: none;
2200
- font: 14px;
2201
- font-weight: bold;
3106
+ font-size: 13.5px;
3107
+ font-weight: 600;
2202
3108
  padding: 0 $commonPadding;
2203
3109
  text-align: right;
2204
3110
  a {
2205
- color: #7d7bb0;
3111
+ color: $accent;
2206
3112
  text-align: right;
3113
+ transition: opacity 180ms $easeOut;
2207
3114
  &:hover {
2208
- opacity: 0.7;
3115
+ opacity: 0.78;
2209
3116
  text-decoration: underline;
2210
- color: #7d7bb0;
3117
+ text-underline-offset: 0.2em;
3118
+ color: $accent;
2211
3119
  }
2212
3120
  }
2213
3121
  }
@@ -2215,35 +3123,40 @@ body {
2215
3123
  .series-items {
2216
3124
  flex: 1 1 auto;
2217
3125
  overflow-y: auto;
3126
+ padding-top: 6px;
3127
+ @include safe-padding(16px);
2218
3128
  .series-year-divider {
2219
3129
  color: $moreGrayText;
2220
3130
  font-size: 12px;
2221
- font-weight: bold;
3131
+ font-weight: 600;
2222
3132
  line-height: 1;
2223
3133
  padding: 1em $commonPadding 0.35em;
2224
3134
  }
2225
3135
  .series-item-link {
2226
- padding: 0.5em $commonPadding;
3136
+ padding: 0.6em $commonPadding;
2227
3137
  display: block;
2228
3138
  width: 100%;
2229
3139
  color: $grayerText;
2230
- font-size: 13px;
3140
+ font-size: 13.5px;
3141
+ transition:
3142
+ background-color 160ms $easeOut,
3143
+ color 160ms $easeOut;
2231
3144
  .sub-title {
2232
3145
  @include subTitle;
2233
3146
  }
2234
3147
  &.active {
2235
3148
  font-size: 14px;
2236
- color: $darkText;
2237
- background-color: #f3f3f3;
2238
- font-weight: bold;
3149
+ color: $accent;
3150
+ background-color: $accentSoft;
3151
+ font-weight: 600;
2239
3152
  &:hover {
2240
- background-color: #f3f3f3;
2241
- color: $darkText;
3153
+ background-color: $accentSoft;
3154
+ color: $accent;
2242
3155
  }
2243
3156
  }
2244
3157
  &:hover {
2245
- background-color: #f5f5f5;
2246
- color: $grayerText;
3158
+ background-color: $surface;
3159
+ color: $darkText;
2247
3160
  }
2248
3161
  }
2249
3162
  }
@@ -2251,16 +3164,15 @@ body {
2251
3164
  }
2252
3165
 
2253
3166
  #footer {
2254
- background-color: #fff;
2255
- border-top: 1px solid rgba(0, 0, 0, 0.08);
2256
- @include pageXPadding;
2257
- padding-top: 36px;
2258
- padding-bottom: 36px;
2259
- margin-top: 30px;
3167
+ background-color: $bg;
3168
+ border-top: 1px solid $borderSubtle;
3169
+ padding: 40px 0;
3170
+ margin-top: 48px;
2260
3171
 
2261
3172
  .footerInner {
2262
- max-width: max(1032px, min(1192px, 68vw));
3173
+ max-width: $siteMaxWidth;
2263
3174
  margin: 0 auto;
3175
+ @include pageXPadding;
2264
3176
  display: flex;
2265
3177
  flex-direction: column;
2266
3178
  }
@@ -2351,17 +3263,17 @@ body {
2351
3263
  }
2352
3264
 
2353
3265
  .footerRssLink {
2354
- color: #bd5300;
3266
+ color: $accent;
2355
3267
  font-weight: 500;
2356
3268
 
2357
3269
  .rssSvg {
2358
- transition: transform 0.2s ease;
3270
+ transition: transform 0.2s $easeOut;
2359
3271
  }
2360
3272
 
2361
3273
  &:hover {
2362
- color: #994300;
3274
+ color: $accentDark;
2363
3275
  .rssSvg {
2364
- transform: scale(1.15);
3276
+ transform: scale(1.12);
2365
3277
  }
2366
3278
  }
2367
3279
  }
@@ -2416,9 +3328,9 @@ body {
2416
3328
 
2417
3329
  &:hover,
2418
3330
  &:focus {
2419
- background-color: rgba(15, 115, 12, 0.1);
2420
- color: $green;
2421
- transform: scale(1.1);
3331
+ background-color: $accentSoft;
3332
+ color: $accent;
3333
+ transform: scale(1.08);
2422
3334
  }
2423
3335
  }
2424
3336
 
@@ -2430,12 +3342,12 @@ body {
2430
3342
  width: 280px;
2431
3343
  max-width: calc(100vw - 32px);
2432
3344
  padding: 12px 14px;
2433
- background-color: #ffffff;
2434
- border: 1px solid rgba(0, 0, 0, 0.08);
2435
- border-radius: 8px;
3345
+ background-color: $bg;
3346
+ border: 1px solid $borderColor;
3347
+ border-radius: $radiusLg;
2436
3348
  box-shadow:
2437
- 0 4px 20px rgba(0, 0, 0, 0.08),
2438
- 0 2px 6px rgba(0, 0, 0, 0.03);
3349
+ 0 6px 24px rgba(34, 33, 31, 0.09),
3350
+ 0 2px 6px rgba(34, 33, 31, 0.03);
2439
3351
  z-index: 100;
2440
3352
  pointer-events: none;
2441
3353
  opacity: 0;
@@ -2508,13 +3420,36 @@ body {
2508
3420
  }
2509
3421
  }
2510
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
+
2511
3448
  @media (max-width: 768px) {
2512
3449
  #footer {
2513
3450
  padding-top: 24px;
2514
3451
  padding-bottom: 24px;
2515
3452
  margin-top: 20px;
2516
- padding-left: 12px;
2517
- padding-right: 12px;
2518
3453
 
2519
3454
  .footerBrand {
2520
3455
  body:not(.is-post) & {
@@ -2613,9 +3548,9 @@ body {
2613
3548
  }
2614
3549
 
2615
3550
  &:hover {
2616
- background-color: #f5f5f5;
3551
+ background-color: $surface;
2617
3552
  color: $darkText;
2618
- border-color: rgba(0, 0, 0, 0.1);
3553
+ border-color: $borderColor;
2619
3554
  transform: translateY(-1px);
2620
3555
  }
2621
3556
 
@@ -2625,21 +3560,21 @@ body {
2625
3560
  }
2626
3561
 
2627
3562
  .page-number.current {
2628
- background-color: $green;
3563
+ background-color: $accent;
2629
3564
  color: #fff;
2630
- border-color: $green;
3565
+ border-color: $accent;
2631
3566
  font-weight: bold;
2632
- box-shadow: 0 3px 8px rgba(15, 115, 12, 0.18);
3567
+ box-shadow: 0 3px 10px rgba(168, 69, 46, 0.22);
2633
3568
  cursor: default;
2634
3569
 
2635
3570
  @media (max-width: 768px) {
2636
- box-shadow: 0 2px 6px rgba(15, 115, 12, 0.15);
3571
+ box-shadow: 0 2px 6px rgba(168, 69, 46, 0.18);
2637
3572
  }
2638
3573
 
2639
3574
  &:hover {
2640
- background-color: $green;
3575
+ background-color: $accent;
2641
3576
  color: #fff;
2642
- border-color: $green;
3577
+ border-color: $accent;
2643
3578
  transform: none;
2644
3579
  }
2645
3580
  }
@@ -2674,6 +3609,7 @@ body {
2674
3609
  max-width: calc((100vw - $postWidth) / 2);
2675
3610
  text-align: right;
2676
3611
  max-height: 100vh;
3612
+ padding: 24px 0;
2677
3613
  overflow-y: auto;
2678
3614
  position: relative;
2679
3615
  user-select: none;
@@ -2688,19 +3624,19 @@ body {
2688
3624
  content: "";
2689
3625
  position: absolute;
2690
3626
  right: 0;
2691
- top: 0;
3627
+ top: 24px;
3628
+ bottom: 24px;
2692
3629
  width: 1px;
2693
- height: 100%;
2694
- background-color: #f5f5f5;
3630
+ background-color: $borderSubtle;
2695
3631
  }
2696
3632
  .toc-item-wrap {
2697
- transition: opacity 0.3s ease;
3633
+ transition: opacity 0.28s $easeOut;
2698
3634
  will-change: opacity;
2699
3635
  -webkit-backface-visibility: hidden;
2700
3636
  backface-visibility: hidden;
2701
3637
  transform: translateZ(0);
2702
3638
  &:not(.active) {
2703
- opacity: 0.2;
3639
+ opacity: 0.48;
2704
3640
  }
2705
3641
  }
2706
3642
  &:hover {
@@ -2711,35 +3647,37 @@ body {
2711
3647
  .toc-title {
2712
3648
  color: $darkText;
2713
3649
  padding: 0 15px;
2714
- font-size: 16px;
2715
- font-weight: bold;
3650
+ font-size: 15px;
3651
+ font-weight: 600;
2716
3652
  &::before {
2717
3653
  content: "";
2718
3654
  display: inline-block;
2719
- width: 20px;
2720
- height: 20px;
3655
+ width: 18px;
3656
+ height: 18px;
2721
3657
  background-image: url("../img/icons/toc.svg");
2722
3658
  background-size: cover;
2723
3659
  vertical-align: middle;
2724
3660
  margin-bottom: 4px;
3661
+ opacity: 0.78;
2725
3662
  }
2726
3663
  }
2727
3664
  .toc-item-wrap {
2728
3665
  .toc-item-link {
2729
- padding: 0 15px;
3666
+ padding: 2px 15px;
2730
3667
  display: block;
2731
3668
  color: $gray3;
2732
- font-size: 14px;
2733
- margin-top: 10px;
3669
+ font-size: 13.5px;
3670
+ line-height: 1.5;
3671
+ margin-top: 8px;
2734
3672
  position: relative;
3673
+ transition: color 180ms $easeOut;
2735
3674
  &:hover {
2736
- // text-decoration: underline;
2737
- color: $gray7;
3675
+ color: $accent;
2738
3676
  }
2739
3677
  }
2740
3678
  &.active {
2741
3679
  .toc-sub-item-link:not(.active) {
2742
- opacity: 0.5;
3680
+ opacity: 0.65;
2743
3681
  }
2744
3682
  }
2745
3683
  .toc-sub-item-wrap {
@@ -2753,27 +3691,28 @@ body {
2753
3691
  font-size: 12px;
2754
3692
  position: relative;
2755
3693
  color: $gray5;
3694
+ transition: color 180ms $easeOut;
2756
3695
  &:hover {
2757
- color: $gray7;
3696
+ color: $accent;
2758
3697
  }
2759
3698
  &.active {
2760
3699
  color: $darkText;
2761
- font-weight: bold;
3700
+ font-weight: 600;
2762
3701
  }
2763
3702
  }
2764
3703
  }
2765
3704
  &.active {
2766
3705
  .toc-item-link {
2767
- font-weight: bold;
3706
+ font-weight: 600;
2768
3707
  color: $darkText;
2769
3708
  &::before {
2770
3709
  content: "";
2771
3710
  position: absolute;
2772
3711
  right: 0;
2773
- top: 0;
2774
- width: 1px;
2775
- height: 100%;
2776
- background-color: #6e4a4a;
3712
+ top: 2px;
3713
+ bottom: 2px;
3714
+ width: 2px;
3715
+ background-color: $accent;
2777
3716
  border-radius: 1px;
2778
3717
  z-index: 1;
2779
3718
  }
@@ -2792,7 +3731,7 @@ body {
2792
3731
  right: 0;
2793
3732
  width: 100%;
2794
3733
  bottom: -9px;
2795
- border-bottom: solid 0.5px #d8d8d8;
3734
+ border-bottom: solid 0.5px $borderColor;
2796
3735
  }
2797
3736
  }
2798
3737
  }
@@ -2812,6 +3751,7 @@ body {
2812
3751
  width: 100%;
2813
3752
  text-align: left;
2814
3753
  max-height: 100vh;
3754
+ padding: 24px 0;
2815
3755
  overflow-y: auto;
2816
3756
  position: relative;
2817
3757
  -webkit-overflow-scrolling: touch;
@@ -2823,22 +3763,24 @@ body {
2823
3763
  content: "";
2824
3764
  position: absolute;
2825
3765
  left: 0;
2826
- top: 0;
3766
+ top: 24px;
3767
+ bottom: 24px;
2827
3768
  width: 1px;
2828
- height: 100%;
2829
- background-color: #f5f5f5;
3769
+ background-color: $borderSubtle;
2830
3770
  }
2831
3771
  .series-title {
2832
3772
  color: $darkText;
2833
3773
  padding: 0 15px;
2834
- font-size: 16px;
2835
- font-weight: bold;
3774
+ font-size: 15px;
3775
+ font-weight: 600;
3776
+ transition: color 180ms $easeOut;
2836
3777
  &:hover {
2837
- color: $moreGrayText;
3778
+ color: $accent;
2838
3779
  text-decoration: underline;
3780
+ text-underline-offset: 0.2em;
2839
3781
  }
2840
3782
  &::before {
2841
- margin-right: 4px;
3783
+ margin-right: 5px;
2842
3784
  content: "";
2843
3785
  display: inline-block;
2844
3786
  width: 13px;
@@ -2846,22 +3788,25 @@ body {
2846
3788
  background-image: url("../img/icons/shelf.svg");
2847
3789
  background-size: cover;
2848
3790
  vertical-align: middle;
2849
- margin-bottom: 4px;
3791
+ margin-bottom: 3px;
3792
+ opacity: 0.72;
2850
3793
  }
2851
3794
  }
2852
3795
  .series-item-link,
2853
3796
  .series-year-divider {
2854
- transition: opacity 0.3s ease;
3797
+ transition:
3798
+ opacity 0.28s $easeOut,
3799
+ color 0.18s $easeOut;
2855
3800
  will-change: opacity;
2856
3801
  -webkit-backface-visibility: hidden;
2857
3802
  backface-visibility: hidden;
2858
3803
  transform: translateZ(0);
2859
3804
  }
2860
3805
  .series-year-divider:not(.active) {
2861
- opacity: 0.2;
3806
+ opacity: 0.48;
2862
3807
  }
2863
3808
  .series-item-link:not(.active) {
2864
- opacity: 0.2;
3809
+ opacity: 0.48;
2865
3810
  color: $gray5;
2866
3811
  .sub-title {
2867
3812
  color: $gray5;
@@ -2877,43 +3822,44 @@ body {
2877
3822
  .series-year-divider {
2878
3823
  color: $moreGrayText;
2879
3824
  font-size: 12px;
2880
- font-weight: bold;
3825
+ font-weight: 600;
2881
3826
  line-height: 1;
2882
3827
  margin-top: 18px;
2883
3828
  padding: 0 15px;
2884
3829
  }
2885
3830
  .series-item-link {
2886
- padding: 0 15px;
3831
+ padding: 2px 15px;
2887
3832
  display: block;
2888
3833
  color: $gray3;
2889
- font-size: 14px;
2890
- margin-top: 10px;
3834
+ font-size: 13.5px;
3835
+ line-height: 1.5;
3836
+ margin-top: 8px;
2891
3837
  position: relative;
2892
3838
  width: fit-content;
2893
3839
  .sub-title {
2894
3840
  @include subTitle;
2895
3841
  }
2896
3842
  &:hover {
2897
- color: $gray7;
3843
+ color: $accent;
2898
3844
  }
2899
3845
  &.active {
2900
- font-weight: bold;
3846
+ font-weight: 600;
2901
3847
  color: $darkText;
2902
3848
  &::before {
2903
3849
  content: "";
2904
3850
  position: absolute;
2905
3851
  left: 0;
2906
- top: 0;
2907
- width: 1px;
2908
- height: 100%;
2909
- background-color: #6e4a4a;
3852
+ top: 2px;
3853
+ bottom: 2px;
3854
+ width: 2px;
3855
+ background-color: $accent;
2910
3856
  border-radius: 1px;
2911
3857
  z-index: 1;
2912
3858
  }
2913
3859
  }
2914
3860
  &.view-more {
2915
3861
  color: $gray9;
2916
- font-size: 11px;
3862
+ font-size: 11.5px;
2917
3863
  }
2918
3864
  }
2919
3865
  }
@@ -2983,45 +3929,62 @@ html[lang="zh-CN"] {
2983
3929
  }
2984
3930
 
2985
3931
  #related-posts {
2986
- margin-top: $postWidgetGap;
2987
- @include pageXPadding;
2988
- border-top: solid 1px #f5f5f5;
3932
+ margin: 2.25em 0 0;
3933
+ padding: 0 $commonPadding;
3934
+ border-top: 1px solid $borderSubtle;
2989
3935
  .related-posts-title {
2990
- margin: 1em 0;
2991
- font-size: 1.2rem;
2992
- font-weight: bold;
3936
+ margin: 1.2em 0 0.85em;
3937
+ font-size: 1.05rem;
3938
+ font-weight: 600;
2993
3939
  color: $darkText;
2994
3940
  }
2995
3941
  }
2996
3942
 
2997
3943
  #page-donates {
2998
3944
  width: fit-content;
2999
- margin: $postWidgetGap auto 0 auto;
3000
- padding: 1em 2em;
3001
- line-height: 1;
3945
+ margin: 2em auto 0 auto;
3946
+ padding: 0.72em 1.75em;
3947
+ line-height: 1.2;
3002
3948
  text-decoration: none;
3003
3949
  white-space: nowrap;
3004
3950
  cursor: pointer;
3005
- border-radius: 2px;
3006
- background-color: #0f730c;
3007
- color: #fff;
3008
- outline: none;
3009
- font-size: 0.8em;
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;
3010
3957
  position: relative;
3011
3958
  user-select: none;
3012
- transition: background ease 0.2s;
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
+ }
3013
3967
  #donate-modal {
3014
- transition: all ease-in-out 0.3s;
3968
+ transition:
3969
+ opacity 0.28s $easeOut,
3970
+ transform 0.28s $easeOut;
3015
3971
  position: absolute;
3016
- top: -10px;
3972
+ top: -12px;
3017
3973
  left: 50%;
3018
- transform: translate(-50%, calc(-100% - 20px));
3974
+ transform: translate(-50%, calc(-100% - 14px));
3019
3975
  cursor: default;
3020
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);
3021
3982
  .qr-code {
3022
- width: 250px;
3023
- height: 250px;
3983
+ width: 240px;
3984
+ height: 240px;
3985
+ display: block;
3024
3986
  object-fit: cover;
3987
+ border-radius: $radiusMd;
3025
3988
  }
3026
3989
  opacity: 0;
3027
3990
  &.visible {
@@ -3031,16 +3994,16 @@ html[lang="zh-CN"] {
3031
3994
  }
3032
3995
  }
3033
3996
  &:active {
3034
- background-color: #0c570a;
3997
+ background-color: rgba(168, 69, 46, 0.14);
3035
3998
  }
3036
3999
  }
3037
4000
 
3038
4001
  .sponsor-list {
3039
- margin: $postWidgetGap auto 0 auto;
3040
- padding: 0 1em;
4002
+ margin: 1.75em 0 0;
4003
+ padding: 0 $commonPadding;
3041
4004
  .sponsor-list-header {
3042
- font-size: 1.2em;
3043
- font-weight: bold;
4005
+ font-size: 1.05em;
4006
+ font-weight: 600;
3044
4007
  color: $darkText;
3045
4008
  margin-bottom: 0.5em;
3046
4009
  }
@@ -3114,9 +4077,10 @@ html[lang="zh-CN"] {
3114
4077
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr);
3115
4078
  min-height: 360px;
3116
4079
  overflow: hidden;
3117
- border: 1px solid rgba(0, 0, 0, 0.08);
4080
+ border-radius: $radiusMd;
4081
+ border: 1px solid $borderColor;
3118
4082
  background:
3119
- linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 246, 0.94)), #f4f8f8;
4083
+ linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 240, 0.94)), $surface;
3120
4084
  }
3121
4085
 
3122
4086
  .travel-map-copy {
@@ -3125,7 +4089,7 @@ html[lang="zh-CN"] {
3125
4089
  justify-content: space-between;
3126
4090
  padding: 34px 24px;
3127
4091
  color: $darkText;
3128
- border-right: 1px solid rgba(0, 0, 0, 0.07);
4092
+ border-right: 1px solid $borderSubtle;
3129
4093
  h2 {
3130
4094
  margin: 10px 0 auto;
3131
4095
  font-size: 30px;
@@ -3136,9 +4100,10 @@ html[lang="zh-CN"] {
3136
4100
 
3137
4101
  .travel-map-eyebrow {
3138
4102
  @include defaultFont;
3139
- color: $metaText;
3140
- font-size: 13px;
3141
- letter-spacing: 0;
4103
+ color: $accent;
4104
+ font-size: 12.5px;
4105
+ letter-spacing: 0.08em;
4106
+ text-transform: uppercase;
3142
4107
  }
3143
4108
 
3144
4109
  .travel-map-stats {
@@ -3158,7 +4123,7 @@ html[lang="zh-CN"] {
3158
4123
  .travel-map-canvas {
3159
4124
  position: relative;
3160
4125
  min-height: 360px;
3161
- background: #e9f4f6;
4126
+ background: $surface;
3162
4127
  }
3163
4128
 
3164
4129
  .travel-map-loading {
@@ -3169,7 +4134,7 @@ html[lang="zh-CN"] {
3169
4134
  height: 100%;
3170
4135
  min-height: 360px;
3171
4136
  color: $grayerText;
3172
- background: #edf3f3;
4137
+ background: $surface;
3173
4138
  }
3174
4139
 
3175
4140
  .travel-map-fallback-img {
@@ -3188,14 +4153,14 @@ html[lang="zh-CN"] {
3188
4153
  height: 18px;
3189
4154
  border: 3px solid rgba(255, 255, 255, 0.95);
3190
4155
  border-radius: 50%;
3191
- background: $green;
4156
+ background: $accent;
3192
4157
  box-shadow:
3193
- rgba(0, 0, 0, 0.12) 0 4px 10px,
3194
- rgba(15, 115, 12, 0.25) 0 0 0 6px;
4158
+ rgba(34, 33, 31, 0.14) 0 4px 10px,
4159
+ rgba(168, 69, 46, 0.24) 0 0 0 6px;
3195
4160
  transition:
3196
4161
  transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
3197
- box-shadow 0.25s ease,
3198
- background-color 0.25s ease;
4162
+ box-shadow 0.25s $easeOut,
4163
+ background-color 0.25s $easeOut;
3199
4164
  }
3200
4165
  strong {
3201
4166
  @include defaultFont;
@@ -3207,22 +4172,22 @@ html[lang="zh-CN"] {
3207
4172
  padding: 0 4px;
3208
4173
  border-radius: 999px;
3209
4174
  background: #fff;
3210
- color: $green;
4175
+ color: $accent;
3211
4176
  font-weight: bold;
3212
4177
  font-size: 10px;
3213
4178
  line-height: 15px;
3214
4179
  text-align: center;
3215
- box-shadow: rgba(0, 0, 0, 0.15) 0 2px 6px;
4180
+ box-shadow: rgba(34, 33, 31, 0.16) 0 2px 6px;
3216
4181
  }
3217
4182
  &.active {
3218
4183
  span {
3219
4184
  width: 22px;
3220
4185
  height: 22px;
3221
4186
  transform: translate(-2px, -2px) scale(1.1);
3222
- background: color.adjust($green, $lightness: -5%);
4187
+ background: $accentDark;
3223
4188
  box-shadow:
3224
- rgba(0, 0, 0, 0.18) 0 8px 18px,
3225
- rgba(15, 115, 12, 0.35) 0 0 0 8px;
4189
+ rgba(34, 33, 31, 0.2) 0 8px 18px,
4190
+ rgba(168, 69, 46, 0.34) 0 0 0 8px;
3226
4191
  }
3227
4192
  }
3228
4193
  }
@@ -3334,8 +4299,8 @@ html[lang="zh-CN"] {
3334
4299
 
3335
4300
  &:hover,
3336
4301
  &:focus {
3337
- background-color: rgba(15, 115, 12, 0.08) !important;
3338
- color: $green !important;
4302
+ background-color: $accentSoft !important;
4303
+ color: $accent !important;
3339
4304
  }
3340
4305
 
3341
4306
  &.leaflet-disabled {
@@ -3348,7 +4313,7 @@ html[lang="zh-CN"] {
3348
4313
  }
3349
4314
 
3350
4315
  .leaflet-popup-content-wrapper {
3351
- border-radius: 8px !important;
4316
+ border-radius: $radiusLg !important;
3352
4317
  box-shadow:
3353
4318
  0 10px 30px rgba(0, 0, 0, 0.08),
3354
4319
  0 1px 8px rgba(0, 0, 0, 0.02) !important;
@@ -3375,15 +4340,16 @@ html[lang="zh-CN"] {
3375
4340
  grid-template-columns: 132px minmax(0, 1fr);
3376
4341
  min-height: 132px;
3377
4342
  overflow: hidden;
3378
- border: 1px solid rgba(0, 0, 0, 0.08);
3379
- background-color: #fff;
4343
+ border-radius: $radiusMd;
4344
+ border: 1px solid $borderColor;
4345
+ background-color: $bg;
3380
4346
  transition:
3381
- border-color 0.2s ease,
3382
- box-shadow 0.2s ease,
3383
- transform 0.2s ease;
4347
+ border-color 0.22s $easeOut,
4348
+ box-shadow 0.22s $easeOut,
4349
+ transform 0.22s $easeOut;
3384
4350
  &.active,
3385
4351
  &:hover {
3386
- border-color: rgba(168, 69, 46, 0.28);
4352
+ border-color: $accentBorder;
3387
4353
  box-shadow: rgba(100, 97, 88, 0.12) 0 12px 26px;
3388
4354
  transform: translateY(-1px);
3389
4355
  }
@@ -3506,16 +4472,21 @@ html[lang="zh-CN"] {
3506
4472
  }
3507
4473
 
3508
4474
  #post-age-warning {
3509
- font-size: 12px;
3510
- border-left: solid 2px #dfdfdf;
3511
- margin-top: 8px;
3512
- background-color: #f5f5f5;
3513
- padding: 4px 8px;
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;
3514
4483
  color: $grayerText;
3515
4484
  .days-value {
3516
4485
  display: inline-block;
3517
4486
  min-width: 18px;
3518
- font-size: 12px;
4487
+ font-size: 13px;
4488
+ font-weight: 600;
4489
+ color: $accent;
3519
4490
  }
3520
4491
  }
3521
4492
 
@@ -3851,9 +4822,9 @@ html[lang="zh-CN"] {
3851
4822
  width: 100%;
3852
4823
  max-width: 100%;
3853
4824
  overflow-x: auto;
3854
- border: 1px solid rgba(0, 0, 0, 0.08);
3855
- border-radius: 8px;
3856
- background: rgba(245, 245, 245, 0.86);
4825
+ border: 1px solid $borderColor;
4826
+ border-radius: $radiusMd;
4827
+ background: $surface;
3857
4828
  padding: 4px;
3858
4829
  box-sizing: border-box;
3859
4830
  scrollbar-width: none;
@@ -3869,14 +4840,14 @@ html[lang="zh-CN"] {
3869
4840
  bottom: 4px;
3870
4841
  left: 4px;
3871
4842
  width: calc((100% - 8px) / var(--switcher-item-count, 1));
3872
- border-radius: 6px;
3873
- background: #fff;
4843
+ border-radius: $radiusSm;
4844
+ background: $bg;
3874
4845
  box-shadow:
3875
- 0 1px 2px rgba(0, 0, 0, 0.08),
3876
- 0 0 0 1px rgba(0, 0, 0, 0.04);
4846
+ 0 1px 2px rgba(34, 33, 31, 0.08),
4847
+ 0 0 0 1px rgba(34, 33, 31, 0.04);
3877
4848
  opacity: 0;
3878
4849
  transform: translateX(calc(var(--switcher-active-index, 0) * 100%));
3879
- transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
4850
+ transition: transform 0.42s $easeOut;
3880
4851
  will-change: transform;
3881
4852
  pointer-events: none;
3882
4853
  }
@@ -3894,59 +4865,63 @@ html[lang="zh-CN"] {
3894
4865
  min-width: 76px;
3895
4866
  min-height: 36px;
3896
4867
  border: 0;
3897
- border-radius: 6px;
4868
+ border-radius: $radiusSm;
3898
4869
  padding: 0 18px;
3899
4870
  color: $grayerText;
3900
4871
  background: transparent;
3901
- font-size: 15px;
4872
+ font-size: 14.5px;
3902
4873
  line-height: 1;
3903
4874
  cursor: pointer;
3904
4875
  white-space: nowrap;
3905
- outline: none;
3906
4876
  user-select: none;
3907
4877
  -webkit-tap-highlight-color: transparent;
3908
4878
  -webkit-touch-callout: none;
3909
4879
  appearance: none;
3910
4880
  -webkit-appearance: none;
3911
4881
  transition:
3912
- color 0.2s ease,
3913
- background-color 0.2s ease;
4882
+ color 0.2s $easeOut,
4883
+ background-color 0.2s $easeOut;
3914
4884
 
3915
4885
  &:hover {
3916
4886
  color: $darkText;
3917
4887
  }
3918
4888
 
3919
- &:focus-visible {
3920
- outline: none;
3921
- }
3922
-
3923
4889
  &.active {
3924
- color: #1d1d1f;
4890
+ color: $darkText;
4891
+ font-weight: 500;
3925
4892
  }
3926
4893
  }
3927
4894
  }
3928
4895
  }
3929
4896
 
3930
4897
  details {
3931
- border-radius: 2px;
3932
- padding-bottom: 0.5em;
4898
+ border-radius: $radiusMd;
4899
+ border: 1px solid $borderSubtle;
4900
+ margin-bottom: 0.75em;
4901
+ overflow: hidden;
3933
4902
  p {
3934
4903
  &:first-of-type {
3935
- margin-top: 0.5em;
4904
+ margin-top: 0.6em;
3936
4905
  }
3937
4906
  &:last-of-type {
3938
4907
  margin-bottom: 0;
3939
4908
  }
3940
- margin-left: 6px;
3941
- margin-right: 6px;
4909
+ margin-left: 12px;
4910
+ margin-right: 12px;
3942
4911
  }
3943
4912
  summary {
3944
- border-radius: 2px;
4913
+ border-radius: 0;
3945
4914
  list-style: none;
3946
4915
  cursor: pointer;
3947
4916
  position: relative;
3948
- padding: 4px 4px 4px calc(1.2em + 4px);
3949
- background-color: #eff1f4;
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
+ }
3950
4925
 
3951
4926
  &::-webkit-details-marker {
3952
4927
  display: none;
@@ -3955,9 +4930,10 @@ details {
3955
4930
  &::before {
3956
4931
  content: "";
3957
4932
  position: absolute;
3958
- left: 4px;
3959
- top: calc(0.25em + 4px);
3960
- transition: transform 0.2s;
4933
+ left: 8px;
4934
+ top: 50%;
4935
+ transform: translateY(-50%);
4936
+ transition: transform 0.2s $easeOut;
3961
4937
  width: 1em;
3962
4938
  height: 1em;
3963
4939
  background-image: url("../img/icons/collapsed.svg");
@@ -3966,21 +4942,22 @@ details {
3966
4942
  }
3967
4943
 
3968
4944
  &[open] {
3969
- margin-bottom: 0.5em;
4945
+ padding-bottom: 0.65em;
3970
4946
  summary {
3971
4947
  margin-bottom: 4px;
4948
+ border-bottom: 1px solid $borderSubtle;
3972
4949
  &::before {
3973
- transform: rotate(90deg);
4950
+ transform: translateY(-50%) rotate(90deg);
3974
4951
  }
3975
4952
  }
3976
- background-color: #f6f8fa;
4953
+ background-color: $bg;
3977
4954
  }
3978
4955
  }
3979
4956
 
3980
4957
  ul {
3981
4958
  li {
3982
4959
  &::marker {
3983
- color: rgb(210, 213, 219);
4960
+ color: $grayb;
3984
4961
  }
3985
4962
  }
3986
4963
  }
@@ -4001,6 +4978,19 @@ ul {
4001
4978
  margin: 0.5em 0;
4002
4979
  }
4003
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
+
4004
4994
  @include mq.rules;
4005
4995
 
4006
4996
  @media (max-width: 900px) {