Skip to content

Commit fa39ccb

Browse files
committed
fonts: fix local imports, ship Inter typeface
1 parent 8fc7831 commit fa39ccb

22 files changed

+46
-4
lines changed

custom/style.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
/* Import Fira Code font */
2-
@import "/pandocs/fonts/fira_code.css";
3-
/* Import Inter font */
4-
@import url("https://rsms.me/inter/inter.css");
1+
/*
2+
Import Fira Code and Inter main stylesheets
3+
This is broken when locally deploying with "mdbook serve"
4+
because site-url is not used. Remove "/pandocs" to make it work
5+
*/
6+
@import "../fonts/fira_code.css";
7+
@import "../fonts/inter.css";
58

69
html {
710
font-family: "Inter", sans-serif;

src/fonts/Inter-Black.woff2

106 KB
Binary file not shown.

src/fonts/Inter-BlackItalic.woff2

113 KB
Binary file not shown.

src/fonts/Inter-Bold.woff2

108 KB
Binary file not shown.

src/fonts/Inter-BoldItalic.woff2

116 KB
Binary file not shown.

src/fonts/Inter-ExtraBold.woff2

109 KB
Binary file not shown.

src/fonts/Inter-ExtraBoldItalic.woff2

116 KB
Binary file not shown.

src/fonts/Inter-ExtraLight.woff2

108 KB
Binary file not shown.
114 KB
Binary file not shown.

src/fonts/Inter-Italic.woff2

112 KB
Binary file not shown.

0 commit comments

Comments
 (0)