diff options
Diffstat (limited to 'fonts.css')
| -rw-r--r-- | fonts.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/fonts.css b/fonts.css new file mode 100644 index 0000000..e5447bc --- /dev/null +++ b/fonts.css @@ -0,0 +1,41 @@ +/* + * My favorite fonts packaged for the web + */ + +@font-face { + font-family: "Gelasio"; + font-style: normal; + font-weight: 400 700; + font-display: swap; + src: url("fonts/gelasio-latin.woff2") format("woff2"); +} + +@font-face { + font-family: "Gelasio"; + font-style: italic; + font-weight: 400 700; + font-display: swap; + src: url("fonts/gelasio-latin-italic.woff2") format("woff2"); +} + +@font-face { + font-family: "Fira Math"; + src: url("fonts/FiraMath-Regular.woff2") format("woff2"); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Fira Code"; + src: url("fonts/FiraCode-VF.woff2") format("woff2"); + font-style: normal; + font-weight: 300 700; + font-display: swap; +} + +:root { + --fontSerif: 'Gelasio', serif; + --fontMono: 'Fira Code', monospace; + --fontMath: 'Fira Math', serif; +} |
