From bbfe773c78ada2209e3839086a5a422d54c845c9 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 20 Jun 2025 19:15:16 +0800
Subject: [PATCH] Merge branch 'test'
---
public/fonts/font.css | 7 +++++++
index.html | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/index.html b/index.html
index eef1ec7..f765310 100644
--- a/index.html
+++ b/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
diff --git a/public/fonts/font.css b/public/fonts/font.css
index f429581..1b810a1 100644
--- a/public/fonts/font.css
+++ b/public/fonts/font.css
@@ -3,6 +3,7 @@
src: url("SourceHanSansCN-Regular.otf") format("opentype");
font-weight: 400;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -10,6 +11,7 @@
src: url("SourceHanSansCN-Medium.otf") format("opentype");
font-weight: 500;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -17,6 +19,7 @@
src: url("SourceHanSansCN-Bold.otf") format("opentype") ;
font-weight: 700;
font-style: normal;
+ font-display: swap;
}
@@ -25,6 +28,7 @@
src: url("SourceHanSansCN-Regular.otf") format("opentype");
font-weight: 400;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -32,6 +36,7 @@
src: url("SourceHanSansCN-Medium.otf") format("opentype");
font-weight: 500;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -39,6 +44,7 @@
src: url("SourceHanSansCN-Bold.otf") format("opentype") ;
font-weight: 700;
font-style: normal;
+ font-display: swap;
}
@@ -50,4 +56,5 @@
src: url("YouSheBiaoTiHei.TTF") format("truetype");
font-weight: normal;
font-style: normal;
+ font-display: swap;
}
--
Gitblit v1.9.3