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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<!-- Custom fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
|
||||||
Binary file not shown.
Reference in New Issue
Block a user