diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-01 09:29:22 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-01 09:29:22 +0800 |
| commit | 1383cc5caa7a4b2ebc0da4eeb94046538ff8813f (patch) | |
| tree | c2be0e90826cf3b19e17b8c8dd997c4e6db56818 /assets/css/utils/_variables.scss | |
| parent | 3fef3e5dbaed106ea4dada366e92b583c1b73b74 (diff) | |
perf: remove Google Fonts
Diffstat (limited to 'assets/css/utils/_variables.scss')
| -rw-r--r-- | assets/css/utils/_variables.scss | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/assets/css/utils/_variables.scss b/assets/css/utils/_variables.scss index 1d70cd7a..0bea0c5d 100644 --- a/assets/css/utils/_variables.scss +++ b/assets/css/utils/_variables.scss @@ -10,7 +10,16 @@ --bright-background-color: #fafafa; /* fonts */ - --serif-font-family: "Noto Serif", "Noto Serif SC", serif; + --serif-font-family: + "Noto Serif", + "Noto Serif SC", + "Noto Serif TC", + "Source Han Serif SC", + "Source Han Serif TC", + "Songti SC", + "Times New Roman", + Times, + serif; --page-width: 650px; --page-margin-y: 5rem; @@ -23,10 +32,6 @@ --pagefind-ui-tag: var(--border-color); } -html[lang="en-US"] { - --serif-font-family: "Playfair Display", serif; -} - @mixin variablesInDarkMode { --background-color: #1d2021; --block-background-color: rgb(var(--block-background-color-rgb)); |
