Skip to content

Commit 6e50491

Browse files
committed
update fonts woff2
1 parent a5ac531 commit 6e50491

File tree

7 files changed

+29
-6
lines changed

7 files changed

+29
-6
lines changed
-615 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-10.1 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

frontend/src/assets/main.css

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,40 @@
1+
/* Font declarations */
12
@font-face {
23
font-family: 'Noto Sans';
3-
src: url('./fonts/NotoSans-Regular.woff2') format('woff2');
4-
src: url('./fonts/NotoSans-Regular.ttf') format('truetype');
5-
font-weight: normal;
4+
src: local('Noto Sans Regular'),
5+
url('./fonts/NotoSans-Regular.woff2') format('woff2'),
6+
url('./fonts/NotoSans-Regular.ttf') format('truetype');
7+
font-weight: 400;
8+
font-style: normal;
9+
font-display: swap;
10+
}
11+
12+
@font-face {
13+
font-family: 'Noto Sans';
14+
src: local('Noto Sans Medium'),
15+
url('./fonts/NotoSans-Medium.woff2') format('woff2'),
16+
url('./fonts/NotoSans-Medium.ttf') format('truetype');
17+
font-weight: 500;
618
font-style: normal;
719
font-display: swap;
820
}
921

1022
@font-face {
1123
font-family: 'Noto Sans SC';
12-
src: url('./fonts/NotoSansSC-Regular.woff2') formatttf('woff2');
13-
src: url('./fonts/NotoSansSC-Regular.ttf') format('truetype');
14-
font-weight: normal;
24+
src: local('Noto Sans SC Regular'),
25+
url('./fonts/NotoSansSC-Regular.woff2') format('woff2'),
26+
url('./fonts/NotoSansSC-Regular.ttf') format('truetype');
27+
font-weight: 400;
28+
font-style: normal;
29+
font-display: swap;
30+
}
31+
32+
@font-face {
33+
font-family: 'Noto Sans SC';
34+
src: local('Noto Sans SC Medium'),
35+
url('./fonts/NotoSansSC-Medium.woff2') format('woff2'),
36+
url('./fonts/NotoSansSC-Regular.ttf') format('truetype');
37+
font-weight: 500;
1538
font-style: normal;
1639
font-display: swap;
1740
}

0 commit comments

Comments
 (0)