From 9432422a307ca12f2fb768670a2ae020cd1a1099 Mon Sep 17 00:00:00 2001 From: fukunee Date: Sun, 15 Nov 2026 13:14:44 +0800 Subject: [PATCH] Close the first font-face rule properly A stray n and a missing brace nested the Noto Sans SC 400 face inside the iA Writer rule, so the browser dropped it and Chinese body text fell back to the 500 weight. --- assets/css/custom.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 619f508..cfc5f5d 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -7,7 +7,9 @@ font-weight: 400; font-style: normal; font-display: swap; -n/* Noto Sans SC — self-hosted */ +} + +/* Noto Sans SC — self-hosted */ @font-face { font-family: "Noto Sans SC"; src: url("/fonts/noto-sans-sc-400.ttf") format("truetype"); @@ -29,7 +31,6 @@ n/* Noto Sans SC — self-hosted */ font-style: normal; font-display: swap; } -} /* Global font stack: English → Chinese → system fallback */ html,