Skip to content

Commit bacd143

Browse files
authored
Merge pull request #1 from PlexPt/patch-1
修复字体在win不可用
2 parents 284504b + 002bdf8 commit bacd143

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

custome-resume.css

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
2+
@include-when-export url(https://fonts.loli.net/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);
3+
4+
@font-face {
5+
font-family: 'Open Sans';
6+
font-style: normal;
7+
font-weight: normal;
8+
src: local('Open Sans Regular'),url('./github/400.woff') format('woff');
9+
}
10+
11+
@font-face {
12+
font-family: 'Open Sans';
13+
font-style: italic;
14+
font-weight: normal;
15+
src: local('Open Sans Italic'),url('./github/400i.woff') format('woff');
16+
}
17+
18+
@font-face {
19+
font-family: 'Open Sans';
20+
font-style: normal;
21+
font-weight: bold;
22+
src: local('Open Sans Bold'),url('./github/700.woff') format('woff');
23+
}
24+
25+
@font-face {
26+
font-family: 'Open Sans';
27+
font-style: italic;
28+
font-weight: bold;
29+
src: local('Open Sans Bold Italic'),url('./github/700i.woff') format('woff');
30+
}
31+
32+
133
h1,
234
.h1,
335
.f1 {
@@ -44,8 +76,7 @@ h4 {
4476
}
4577

4678
body {
47-
font-family: "Merriweather", "PT Serif", Georgia, "Times New Roman", "STSong",
48-
Serif;
79+
font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
4980
line-height: 1.5rem;
5081
font-weight: 400;
5182
}

0 commit comments

Comments
 (0)