Skip to content

Commit 08ae98b

Browse files
committed
pls fonts start to work in github pages try 2
1 parent 70ed71a commit 08ae98b

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.

example/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
@font-face {
22
font-family: 'JetBrains Mono';
3-
src: url('./fonts/JetBrainsMono-Regular.ttf') format('truetype');
3+
src: url('./font/JetBrainsMono-Regular.ttf') format('truetype');
44
font-weight: normal;
55
font-style: normal;
66
font-display: swap;
77
}
88

99
@font-face {
1010
font-family: 'Iosevka';
11-
src: url('./fonts/SGr-Iosevka-Regular.ttc') format('truetype');
11+
src: url('./font/SGr-Iosevka-Regular.ttc') format('truetype');
1212
font-weight: normal;
1313
font-style: normal;
1414
font-display: swap;
File renamed without changes.
File renamed without changes.

styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
@font-face {
22
font-family: 'JetBrains Mono';
3-
src: url('./fonts/JetBrainsMono-Regular.ttf') format('truetype');
3+
src: url('./font/JetBrainsMono-Regular.ttf') format('truetype');
44
font-weight: normal;
55
font-style: normal;
66
font-display: swap;
77
}
88

99
@font-face {
1010
font-family: 'Iosevka';
11-
src: url('./fonts/SGr-Iosevka-Regular.ttc') format('truetype');
11+
src: url('./font/SGr-Iosevka-Regular.ttc') format('truetype');
1212
font-weight: normal;
1313
font-style: normal;
1414
font-display: swap;

0 commit comments

Comments
 (0)