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 | b378e8e005bdf2532baa0bd913f4c13115b70470 (patch) | |
| tree | add70bbd75f4ed3507bde5b3aaec50914ff942f1 /assets | |
| parent | 3f87b4729beb579475a5d5ecf25ae20dbb2df386 (diff) | |
perf: remove Google Fonts
Former-commit-id: 1383cc5caa7a4b2ebc0da4eeb94046538ff8813f
Diffstat (limited to 'assets')
| -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)); |
