修复 CSS 加载超时:移除 Google Fonts 依赖

国内网络无法访问 Google Fonts,导致首页 CSS 加载超时(ERR_CONNECTION_TIMED_OUT)。
→ 移除 Google Fonts 外部字体链接
→ font-brush 回退到系统楷体(KaiTi / STKaiti),仍有书法韵味且零依赖

Co-Authored-By: new-provider/LongCat-2.0 <<EMAIL>>
)
This commit is contained in:
shangfangjian
2026-09-20 22:25:03 +08:00
parent d28203ac54
commit 130f41a31e
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -4,9 +4,6 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Profeto - 足球 LLM 预测</title> <title>Profeto - 足球 LLM 预测</title>
<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=Ma+Shan+Zheng&display=swap" rel="stylesheet" />
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
+2 -2
View File
@@ -32,8 +32,8 @@ export default {
}, },
}, },
fontFamily: { fontFamily: {
// 毛笔字:先知刊头,书法艺术字体 // 毛笔字:先知刊头,书法艺术字体(离线回退到系统楷体/宋体)
brush: ['"Ma Shan Zheng"', '"ZCOOL KuaiLe"', '"Noto Serif CJK SC"', 'serif'], brush: ['"KaiTi"', '"STKaiti"', '"Kaiti SC"', '"楷体"', '"Songti SC"', '"Noto Serif CJK SC"', 'serif'],
// 标题与比分:宋体血统,报纸版面的骨架 // 标题与比分:宋体血统,报纸版面的骨架
serif: [ serif: [
'Georgia', 'Georgia',