From 721c8bf5cb9b94d99333fddaacf91dc7bf015191 Mon Sep 17 00:00:00 2001 From: JGZYES Date: Sat, 5 Sep 2026 13:05:43 +0800 Subject: [PATCH] =?UTF-8?q?web:=20site=20fonts=20=E2=80=94=20English=20ZSF?= =?UTF-8?q?T-o=20+=20Chinese=20TW-Kai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add @font-face for the ZSFT-o family (500/400/600/700/800) and the TW-Kai @import (result.css) at the top of style.css. - Set body font stack to "ZSFT-o","TW-Kai",system-ui,sans-serif so English uses ZSFT-o and Chinese falls back to TW-Kai across the home + docs pages. --- web/assets/style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/web/assets/style.css b/web/assets/style.css index 05d039d..fc1cb83 100644 --- a/web/assets/style.css +++ b/web/assets/style.css @@ -1,5 +1,19 @@ /* ParlzPackageManager — pure grayscale flat (black / white / gray only) */ +/* ---- site fonts: English ZSFT-o + Chinese TW-Kai ---- */ +@import url("https://fontsapi.zeoseven.com/36/main/result.css"); + +@font-face{font-family:"ZSFT-o";src:url("https://fontsapi.zeoseven.com/o/medium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap;} +@font-face{font-family:"ZSFT-o";src:url("https://fontsapi.zeoseven.com/o/main.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap;} +@font-face{font-family:"ZSFT-o";src:url("https://fontsapi.zeoseven.com/o/semi-bold.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap;} +@font-face{font-family:"ZSFT-o";src:url("https://fontsapi.zeoseven.com/o/bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap;} +@font-face{font-family:"ZSFT-o";src:url("https://fontsapi.zeoseven.com/o/extra-bold.woff2") format("woff2");font-style:normal;font-weight:800;font-display:swap;} + +body{ + font-family:"ZSFT-o","TW-Kai",system-ui,sans-serif; + font-weight:normal; +} + :root{ --bg:#030303; /* near-black */ --bg2:#060606;