summaryrefslogtreecommitdiff
path: root/content/_drafts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-01 09:29:22 +0800
committerEltrac <hi@guhub.cn>2025-11-01 09:29:22 +0800
commitb378e8e005bdf2532baa0bd913f4c13115b70470 (patch)
treeadd70bbd75f4ed3507bde5b3aaec50914ff942f1 /content/_drafts
parent3f87b4729beb579475a5d5ecf25ae20dbb2df386 (diff)
perf: remove Google Fonts
Former-commit-id: 1383cc5caa7a4b2ebc0da4eeb94046538ff8813f
Diffstat (limited to 'content/_drafts')
-rw-r--r--content/_drafts/53.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/content/_drafts/53.md b/content/_drafts/53.md
index c6b12652..31a86504 100644
--- a/content/_drafts/53.md
+++ b/content/_drafts/53.md
@@ -61,6 +61,25 @@ toc: true
## ↯ · 当下
+### 博客的改动
+
+1. 移除了 Google Fonts。透过 PageSpeed Insight 发现网站有一大半的性能问题都是引用了外部字体导致的。如果想要更好的阅读体验,可以手动在电脑上安装 [Noto Serif](https://fonts.google.com/noto/specimen/Noto+Serif) 和 [Noto Serif SC](https://fonts.google.com/noto/specimen/Noto+Serif+SC?query=Noto+serif+SC) 字体。
+
+ 现在添加了更多的回落字体(fallback),具体代码如下。
+
+ ```css
+ --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;
+ ```
+
### 看《地狱客栈》第二季
-### 观影《即兴谋杀》 \ No newline at end of file
+### 观影《即兴谋杀》