Skip to content

Commit 191468d

Browse files
committed
chore: 暂时去掉特殊字体
1 parent 8958dfc commit 191468d

File tree

4 files changed

+25
-14
lines changed

4 files changed

+25
-14
lines changed

components/contributors/index.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
font-size: 28px;
99
font-weight: 700;
1010
margin-bottom: 1rem;
11-
color: #fff;
12-
-webkit-text-stroke: 8px black;
11+
color: #333;
12+
/* -webkit-text-stroke: 8px black;
1313
paint-order: stroke fill;
14-
text-shadow: 2px 2px 0px black;
14+
text-shadow: 2px 2px 0px black; */
1515
}
1616

1717
.subtitle {

components/index-page/index.module.css

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/* 添加字体声明 */
2+
/* @font-face {
3+
font-family: 'YuanYingHeiTi';
4+
src: url('https://cdn.chat2db-ai.com/website/font/YuanYingHeiTi.ttf') format('truetype');
5+
font-weight: normal;
6+
font-style: normal;
7+
} */
8+
19
.container {
210
width: 100%;
311
margin: 0 auto;
@@ -10,17 +18,20 @@
1018
background: #4039e9;
1119
color: white;
1220
margin-bottom: 4rem;
21+
22+
1323
.title {
1424
font-size: 3rem;
1525
font-weight: 700;
1626
margin-bottom: 1.5rem;
1727
display: flex;
1828
justify-content: center;
1929
align-items: center;
20-
21-
-webkit-text-stroke: 12px black;
22-
paint-order: stroke fill;
23-
text-shadow: 4px 4px 0px black;
30+
color: #fff;
31+
/* font-family: 'YuanYingHeiTi', sans-serif; */
32+
/* -webkit-text-stroke: 12px black;
33+
paint-order: stroke fill; */
34+
/* text-shadow: 4px 4px 0px black; */
2435
}
2536
.subtitle {
2637
font-size: 18px;
@@ -29,9 +40,9 @@
2940
line-height: 1.6;
3041
font-weight: 700;
3142

32-
-webkit-text-stroke: 6px black;
43+
/* -webkit-text-stroke: 6px black;
3344
paint-order: stroke fill;
34-
text-shadow: 4px 4px 0px black;
45+
text-shadow: 4px 4px 0px black; */
3546
}
3647
.buttonGroup {
3748
display: flex;

components/installation/index.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
font-size: 28px;
99
font-weight: 700;
1010
margin-bottom: 1rem;
11-
color: #FFF;
12-
-webkit-text-stroke: 8px black;
11+
color: #333;
12+
/* -webkit-text-stroke: 8px black;
1313
paint-order: stroke fill;
14-
text-shadow: 2px 2px 0px black;
14+
text-shadow: 2px 2px 0px black; */
1515
}
1616

1717
.sectionSubtitle {

components/navbar/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
font-weight: 700;
3434

3535
color: #fff;
36-
-webkit-text-stroke: 5px black;
36+
/* -webkit-text-stroke: 5px black;
3737
paint-order: stroke fill;
38-
text-shadow: 2px 2px 0px black;
38+
text-shadow: 2px 2px 0px black; */
3939
}
4040

4141
.navLink:hover {

0 commit comments

Comments
 (0)