From e7cb463c250b965ac8f40b9a6558cbbb2ead45f6 Mon Sep 17 00:00:00 2001 From: Anthony Lu <58923223+tonylu110@users.noreply.github.com> Date: Sun, 29 Mar 2026 08:24:14 +0800 Subject: [PATCH] feat: Chinese support --- css/main.css | 2 +- index.html | 34 ++++++++++----- js/i18n.js | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++ js/main.js | 66 ++++++++++++++++++++++------- 4 files changed, 191 insertions(+), 25 deletions(-) create mode 100644 js/i18n.js diff --git a/css/main.css b/css/main.css index 87a9b9d..ca4d21b 100644 --- a/css/main.css +++ b/css/main.css @@ -1,5 +1,5 @@ html * { - font-family: 'Roboto', sans-serif; + font-family: 'Roboto', 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', SimHei, sans-serif; } a, a:hover { diff --git a/index.html b/index.html index 3df19eb..e050227 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,14 @@
-