From b378e8e005bdf2532baa0bd913f4c13115b70470 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sat, 1 Nov 2025 09:29:22 +0800 Subject: perf: remove Google Fonts Former-commit-id: 1383cc5caa7a4b2ebc0da4eeb94046538ff8813f --- content/_drafts/53.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'content/_drafts') 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 +### 观影《即兴谋杀》 -- cgit v1.2.3