summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/_markdown.scss2
-rw-r--r--assets/css/utils/_variables.scss6
2 files changed, 7 insertions, 1 deletions
diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss
index dadd826..11d0400 100644
--- a/assets/css/_markdown.scss
+++ b/assets/css/_markdown.scss
@@ -206,7 +206,7 @@
blockquote.quoted {
position: relative;
- font-family: 'Zhuque Fangsong (technical preview)', 'STFangsong', 'FangSong', '仿宋', serif;
+ font-family: var(--fangsong-font-family);
&::before, &::after {
color: var(--secondary-text-color);
diff --git a/assets/css/utils/_variables.scss b/assets/css/utils/_variables.scss
index 53d4401..ee08b50 100644
--- a/assets/css/utils/_variables.scss
+++ b/assets/css/utils/_variables.scss
@@ -21,6 +21,12 @@
"Times New Roman",
Times,
serif;
+ --fangsong-font-family:
+ 'Zhuque Fangsong (technical preview)',
+ 'STFangsong',
+ 'FangSong',
+ '仿宋',
+ serif;
--page-width: 650px;
--page-margin-y: 3rem;