Add custom fonts with iA Writer Quattro S and Noto Sans SC
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/* ===== Custom Fonts ===== */
|
||||
|
||||
/* iA Writer Quattro S — self-hosted */
|
||||
@font-face {
|
||||
font-family: "iA Writer Quattro S";
|
||||
src: url("/fonts/iAWriterQuattroSRegular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* Global font stack: English → Chinese → system fallback */
|
||||
html,
|
||||
body {
|
||||
font-family: "iA Writer Quattro S", "Noto Sans SC", sans-serif;
|
||||
}
|
||||
|
||||
/* Code blocks keep monospace */
|
||||
code,
|
||||
pre,
|
||||
kbd {
|
||||
font-family:
|
||||
"SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", "Noto Sans SC",
|
||||
monospace;
|
||||
}
|
||||
Reference in New Issue
Block a user