40 lines
1.2 KiB
CSS
40 lines
1.2 KiB
CSS
/* YuSen self-hosted fonts — no external CDN dependency.
|
|
Replaces the fonts.googleapis.cn <link> in index/login/website pages. */
|
|
|
|
/* ---- Press Start 2P (pixel/retro display) ---- */
|
|
@font-face {
|
|
font-family: "Press Start 2P";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./press-start-2p-latin-400-normal.woff2") format("woff2");
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
U+FEFF, U+FFFD;
|
|
}
|
|
|
|
/* ---- ZCOOL QingKe HuangYou (CN display) ---- */
|
|
@font-face {
|
|
font-family: "ZCOOL QingKe HuangYou";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./zcool-qingke-huangyou-chinese-simplified-400-normal.woff2") format("woff2");
|
|
}
|
|
|
|
/* ---- Noto Sans SC (CN body, 400/700) ---- */
|
|
@font-face {
|
|
font-family: "Noto Sans SC";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./noto-sans-sc-chinese-simplified-400-normal.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Noto Sans SC";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("./noto-sans-sc-chinese-simplified-700-normal.woff2") format("woff2");
|
|
}
|