Skip to content

Commit 8cc93f9

Browse files
committed
refactor(website): improve font styles
1 parent d4c9ca5 commit 8cc93f9

File tree

6 files changed

+9
-19
lines changed

6 files changed

+9
-19
lines changed

website/styles/base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"Noto Color Emoji";
3737

3838
--font-family-mono:
39-
"IosevkaCurly Extended",
39+
IosevkaCurly,
4040
Menlo,
4141
Monaco,
4242
Consolas,
Binary file not shown.
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
@font-face {
22
font-family: 'IosevkaEtoile';
3-
src: url("./IosevkaEtoile-Regular.woff2") format("woff2"),
3+
src: url("./IosevkaEtoile-Regular.woff2") format("woff2");
4+
font-display: block;
45
}
56

67
@font-face {
78
font-family: 'IosevkaAile';
8-
src: url("./IosevkaAile-Regular.woff2") format("woff2"),
9+
src: url("./IosevkaAile-Regular.woff2") format("woff2");
10+
font-display: block;
911
}
1012

1113
@font-face {
1214
font-family: 'IosevkaCurly';
13-
src: url("./IosevkaCurly-Regular.woff2") format("woff2"),
14-
}
15-
16-
17-
@font-face {
18-
font-family: 'IosevkaCurly Extended';
19-
src: url("./IosevkaCurly-Extended.woff2") format("woff2"),
15+
src: url("./IosevkaCurly-Regular.woff2") format("woff2");
16+
font-display: block;
2017
}
Binary file not shown.

website/styles/fonts/monaspace/fonts.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

website/styles/overrides.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
ul.nextra-menu-desktop {
1515
li {
1616
div {
17-
font-family: IosevkaCurly, var(--font-family-mono);
17+
font-family: var(--font-family-mono);
1818
}
1919
}
2020
}
@@ -59,7 +59,7 @@
5959
table {
6060
tbody {
6161
tr td code {
62-
font-family: "IosevkaCurly", var(--font-family-mono);
62+
font-family: var(--font-family-mono);
6363
white-space: nowrap;
6464
}
6565
}

0 commit comments

Comments
 (0)