Skip to content

Commit f128bb6

Browse files
committed
chore: 兼容下字体
1 parent 191468d commit f128bb6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

components/index-page/index.module.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@
1818
background: #4039e9;
1919
color: white;
2020
margin-bottom: 4rem;
21-
22-
21+
2322
.title {
24-
font-size: 3rem;
23+
font-size: 4rem;
2524
font-weight: 700;
2625
margin-bottom: 1.5rem;
2726
display: flex;
2827
justify-content: center;
2928
align-items: center;
3029
color: #fff;
30+
font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", -apple-system,
31+
BlinkMacSystemFont, sans-serif;
32+
3133
/* font-family: 'YuanYingHeiTi', sans-serif; */
3234
/* -webkit-text-stroke: 12px black;
3335
paint-order: stroke fill; */

components/navbar/index.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
position: sticky;
55
top: 0;
66
z-index: 1000;
7+
font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", -apple-system,
8+
BlinkMacSystemFont, sans-serif;
79
}
810

911
.navContent {

0 commit comments

Comments
 (0)