Replace Nerd Fonts

We now use the Ubuntu and CascadiaCode fonts from the official sources.
These are smaller in size and are much better for web usage.
This commit is contained in:
Foster Hangdaan 2023-07-29 17:24:43 -04:00
parent e0413a9da2
commit 9c5329e04f
Signed by: foster
GPG key ID: E48D7F49A852F112
10 changed files with 22 additions and 22 deletions

View file

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

View file

@ -25,6 +25,6 @@ :root {
--page--max-width: 48rem;
/* Fonts */
--font--sans-serif: Ubuntu Nerd Font, Ubuntu, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
--font--mono: CaskaydiaCove Nerd Font Mono, monospace;
--font--sans-serif: Ubuntu, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
--font--mono: CascadiaCode, monospace;
}

BIN
static/fonts/CascadiaMono-Regular.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
static/fonts/Ubuntu-Bold.ttf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
static/fonts/Ubuntu-Regular.ttf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
static/fonts/Ubuntu-RegularItalic.ttf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
static/fonts/UbuntuNerdFont-Bold.ttf (Stored with Git LFS)

Binary file not shown.

BIN
static/fonts/UbuntuNerdFont-Italic.ttf (Stored with Git LFS)

Binary file not shown.

BIN
static/fonts/UbuntuNerdFont-Regular.ttf (Stored with Git LFS)

Binary file not shown.