website/_includes/styles/fonts.scss
Foster Hangdaan 6b5fa15f2c
Refactored fonts
- Added fonts as static assets. We no longer depend the client's system
  to have the fonts installed.
- Moved site wide monospace and sans-serif font families to a global variable.
2023-07-27 22:51:48 -04:00

24 lines
606 B
SCSS

@font-face {
font-family: "Ubuntu Nerd Font";
font-weight: normal;
src: url("/fonts/UbuntuNerdFont-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Ubuntu Nerd Font";
font-style: italic;
font-weight: normal;
src: url("/fonts/UbuntuNerdFont-Italic.ttf") format("truetype");
}
@font-face {
font-family: "Ubuntu Nerd Font";
font-weight: bold;
src: url("/fonts/UbuntuNerdFont-Bold.ttf") format("truetype");
}
@font-face {
font-family: "CaskaydiaCove Nerd Font Mono";
font-weight: normal;
src: url("/fonts/CaskaydiaCoveNerdFontMono-Regular.ttf") format("truetype");
}