Skip to content

Commit 627abc4

Browse files
committed
fix:修复字体
1 parent 3787e6b commit 627abc4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

frontend-boblog/assets/css/common.css

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
/* src: url("https://cdn.boblog.com/NotoSansTC-Regular.otf");*/
1111
/*}*/
1212

13-
/*@font-face {*/
14-
/* font-family: "SourceCodePro";*/
15-
/* src: url("https://cdn.boblog.com/SourceCodePro-Regular.ttf");*/
16-
/* font-weight: normal;*/
17-
/*}*/
13+
@font-face {
14+
font-family: "SourceCodePro-Regular";
15+
src: url("https://cdn.boblog.com/SourceCodePro-Regular.ttf");
16+
font-weight: normal;
17+
}
1818
/*@font-face {*/
1919
/* font-family: "SourceCodePro";*/
2020
/* src: url("https://cdn.boblog.com/SourceCodePro-Bold.ttf");*/
@@ -76,6 +76,7 @@
7676
html, body {
7777
margin: 0;
7878
padding: 0;
79+
font-family: SourceCodePro-Regular;
7980
}
8081
img {
8182
width: 100%;

0 commit comments

Comments
 (0)