Skip to content

Commit 5d4d37c

Browse files
committed
Should fix the font display issue on deployement
1 parent 1072acd commit 5d4d37c

File tree

6 files changed

+25020
-2
lines changed

6 files changed

+25020
-2
lines changed

CSS/mainstyle.css

+8-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@
77
}
88

99
@font-face {
10-
font-family: "Inter";
11-
src: url("/misc/Inter.ttf");
10+
font-family: 'Inter';
11+
src: url('/fonts/Inter.eot');
12+
src: url('/fonts/Inter.eot') format('embedded-opentype'),
13+
url('/fonts/Inter.woff2') format('woff2'),
14+
url('/fonts/Inter.woff') format('woff'),
15+
url('/fonts/Inter.ttf') format('truetype'),
16+
url('/fonts/Inter.svg#Inter') format('svg');
1217
}
1318

19+
1420
.container{
1521
height: 100vh;
1622
width: 100%;

fonts/Inter.eot

385 KB
Binary file not shown.

fonts/Inter.svg

+25,012
Loading

fonts/Inter.ttf

384 KB
Binary file not shown.

fonts/Inter.woff

149 KB
Binary file not shown.

fonts/Inter.woff2

99.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)