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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user