hexo-theme-linen 1.0.48 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-linen",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "A clean Hexo theme",
5
5
  "main": "index.js",
6
6
  "homepage": "https://github.com/lynanbreeze/hexo-theme-linen",
@@ -8,12 +8,36 @@
8
8
  @font-face {
9
9
  font-family: "source han serif cn";
10
10
  src:
11
- local("Source Han Serif CN"),
11
+ local("STSongti-SC-Regular"),
12
+ local("Songti SC Regular"),
13
+ local("STSong"),
14
+ local("SimSun"),
15
+ local("宋体"),
16
+ local("NSimSun"),
12
17
  local("Source Han Serif SC"),
13
- local("Songti SC"),
18
+ local("Source Han Serif CN"),
14
19
  url("../fonts/SourceHanSerifSC-Regular.woff2?v=#{$font-version}") format("woff2");
20
+
21
+ font-weight: 400;
22
+ font-style: normal;
15
23
  font-display: swap;
16
- unicode-range: U+4E00-9FFF;
24
+ unicode-range: U+4E00-9FFF, U+3000-303F, U+FF00-FFEF;
25
+ }
26
+
27
+ @font-face {
28
+ font-family: "source han serif cn";
29
+ src:
30
+ local("STSongti-SC-Bold"),
31
+ local("Songti SC Bold"),
32
+ local("STSong"),
33
+ local("SimSun"),
34
+ local("Source Han Serif SC Bold"),
35
+ url("../fonts/SourceHanSerifSC-Regular.woff2?v=#{$font-version}") format("woff2");
36
+
37
+ font-weight: 700;
38
+ font-style: normal;
39
+ font-display: swap;
40
+ unicode-range: U+4E00-9FFF, U+3000-303F, U+FF00-FFEF;
17
41
  }
18
42
  @font-face {
19
43
  font-family: "LXGWWenKai";
@@ -599,10 +623,22 @@ body {
599
623
  @include defaultFont();
600
624
  }
601
625
  #page-content {
626
+ @include sourceSerifFont;
627
+ font-size: 17px;
628
+ line-height: 1.8;
629
+ color: $darkText;
630
+ -webkit-font-smoothing: subpixel-antialiased;
602
631
  text-autospace: normal;
632
+
603
633
  > :last-child {
604
634
  margin-bottom: 0;
605
635
  }
636
+
637
+ strong {
638
+ font-family: inherit;
639
+ font-weight: 700;
640
+ color: #000;
641
+ }
606
642
  }
607
643
  .post-meta {
608
644
  @include defaultFont;
@@ -74,7 +74,16 @@ $postWidth: max(min(1192px, 68vw), 960px);
74
74
  }
75
75
 
76
76
  @mixin sourceSerifFont {
77
- font-family: "source han serif cn", "source-serif", serif;
77
+ font-family:
78
+ "source han serif cn",
79
+ "STSongti-SC-Regular",
80
+ "Songti SC",
81
+ "SimSun",
82
+ -apple-system,
83
+ BlinkMacSystemFont,
84
+ "Helvetica Neue",
85
+ Arial,
86
+ sans-serif;
78
87
  }
79
88
 
80
89
  @mixin subTitle {