hexo-theme-linen 1.0.48 → 1.0.50
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 +1 -1
- package/source/linen-theme/css/font-version.scss +1 -1
- package/source/linen-theme/css/linen.scss +39 -3
- package/source/linen-theme/css/vars.scss +11 -1
- package/source/linen-theme/fonts/SourceHanSerifSC-Bold.woff2 +0 -0
- package/source/linen-theme/fonts/SourceHanSerifSC-Regular.woff2 +0 -0
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
$font-version: "
|
|
1
|
+
$font-version: "14701164";
|
|
@@ -8,12 +8,36 @@
|
|
|
8
8
|
@font-face {
|
|
9
9
|
font-family: "source han serif cn";
|
|
10
10
|
src:
|
|
11
|
-
local("
|
|
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("
|
|
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("SongtiSC-Bold"),
|
|
33
|
+
local("Source Han Serif SC Bold"),
|
|
34
|
+
local("Source Han Serif CN Bold"),
|
|
35
|
+
url("../fonts/SourceHanSerifSC-Bold.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,17 @@ $postWidth: max(min(1192px, 68vw), 960px);
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
@mixin sourceSerifFont {
|
|
77
|
-
font-family:
|
|
77
|
+
font-family:
|
|
78
|
+
"source-serif",
|
|
79
|
+
"source han serif cn",
|
|
80
|
+
"STSongti-SC-Regular",
|
|
81
|
+
"Songti SC",
|
|
82
|
+
"SimSun",
|
|
83
|
+
-apple-system,
|
|
84
|
+
BlinkMacSystemFont,
|
|
85
|
+
"Helvetica Neue",
|
|
86
|
+
Arial,
|
|
87
|
+
sans-serif;
|
|
78
88
|
}
|
|
79
89
|
|
|
80
90
|
@mixin subTitle {
|
|
Binary file
|
|
Binary file
|