Split out font-definitions.css
This commit is contained in:
parent
75103fe34f
commit
d46e523c30
|
@ -0,0 +1,36 @@
|
||||||
|
---
|
||||||
|
layout:
|
||||||
|
---
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Bebas Neue";
|
||||||
|
src: url("/fonts/BebasNeue-Regular.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Libre Barcode 39 Text";
|
||||||
|
src: url("/fonts/LibreBarcode39Text-Regular.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Major Mono Display Text";
|
||||||
|
src: url("/fonts/MajorMonoDisplay-Regular.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inconsolata Regular";
|
||||||
|
src: url("/fonts/Inconsolata-Regular.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: normal; src: url("/fonts/IBMPlexSans-Light.ttf"); }
|
||||||
|
@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: italic; src: url("/fonts/IBMPlexSans-LightItalic.ttf"); }
|
||||||
|
|
||||||
|
@font-face { font-family: "IBM Plex Mono"; font-weight: 300; font-style: normal; src: url("/fonts/IBMPlexMono-Light.ttf"); }
|
||||||
|
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; src: url("/fonts/IBMPlexMono-Medium.ttf"); }
|
||||||
|
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; src: url("/fonts/IBMPlexMono-SemiBold.ttf"); }
|
||||||
|
@font-face { font-family: "IBM Plex Mono"; font-weight: 300; font-style: italic; src: url("/fonts/IBMPlexMono-LightItalic.ttf"); }
|
||||||
|
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: italic; src: url("/fonts/IBMPlexMono-MediumItalic.ttf"); }
|
||||||
|
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: italic; src: url("/fonts/IBMPlexMono-SemiBoldItalic.ttf"); }
|
||||||
|
|
||||||
|
@font-face { font-family: "IBM Plex Serif"; font-weight: 300; font-style: normal; src: url("/fonts/IBMPlexSerif-Light.ttf"); }
|
||||||
|
@font-face { font-family: "IBM Plex Serif"; font-weight: 300; font-style: italic; src: url("/fonts/IBMPlexSerif-LightItalic.ttf"); }
|
33
style.css
33
style.css
|
@ -13,38 +13,7 @@ body-margin: "2rem"
|
||||||
code-font: '"IBM Plex Mono"'
|
code-font: '"IBM Plex Mono"'
|
||||||
---
|
---
|
||||||
|
|
||||||
@font-face {
|
@import 'font-definitions.css';
|
||||||
font-family: "Bebas Neue";
|
|
||||||
src: url("/fonts/BebasNeue-Regular.ttf");
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Libre Barcode 39 Text";
|
|
||||||
src: url("/fonts/LibreBarcode39Text-Regular.ttf");
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Major Mono Display Text";
|
|
||||||
src: url("/fonts/MajorMonoDisplay-Regular.ttf");
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Inconsolata Regular";
|
|
||||||
src: url("/fonts/Inconsolata-Regular.ttf");
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: normal; src: url("/fonts/IBMPlexSans-Light.ttf"); }
|
|
||||||
@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: italic; src: url("/fonts/IBMPlexSans-LightItalic.ttf"); }
|
|
||||||
|
|
||||||
@font-face { font-family: "IBM Plex Mono"; font-weight: 300; font-style: normal; src: url("/fonts/IBMPlexMono-Light.ttf"); }
|
|
||||||
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; src: url("/fonts/IBMPlexMono-Medium.ttf"); }
|
|
||||||
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; src: url("/fonts/IBMPlexMono-SemiBold.ttf"); }
|
|
||||||
@font-face { font-family: "IBM Plex Mono"; font-weight: 300; font-style: italic; src: url("/fonts/IBMPlexMono-LightItalic.ttf"); }
|
|
||||||
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: italic; src: url("/fonts/IBMPlexMono-MediumItalic.ttf"); }
|
|
||||||
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: italic; src: url("/fonts/IBMPlexMono-SemiBoldItalic.ttf"); }
|
|
||||||
|
|
||||||
@font-face { font-family: "IBM Plex Serif"; font-weight: 300; font-style: normal; src: url("/fonts/IBMPlexSerif-Light.ttf"); }
|
|
||||||
@font-face { font-family: "IBM Plex Serif"; font-weight: 300; font-style: italic; src: url("/fonts/IBMPlexSerif-LightItalic.ttf"); }
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Loading…
Reference in New Issue