Skip to content

Commit 6fd694a

Browse files
committed
fix: 优化站点英文显示效果
1 parent 4ebbd07 commit 6fd694a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

assets/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ html {
7878
}
7979

8080
body {
81-
font-family: 'Noto Sans SC', Arial, sans-serif;
81+
font-family: 'Noto Sans', 'Noto Sans SC', Arial, sans-serif;
8282
position: relative;
8383
margin: 0;
8484
color: var(--text-body);

layouts/_partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<!-- 引入 Google Fonts -->
66
<link rel="preconnect" href="https://fonts.googleapis.com">
77
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8-
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap" rel="stylesheet">
8+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@200..700&family=Noto+Sans+SC:wght@200..700&display=swap" rel="stylesheet">
99

1010
<!-- Material Icons -->
1111
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

0 commit comments

Comments
 (0)