Fix Ubuntu Mmono Ligaturized font not loading

The font format was set to "ttf" instead of "truetype" which
prevented the font from loading.
This commit is contained in:
Sasha Koshka 2022-08-11 23:29:20 -05:00 committed by emma
parent a581b9f4a8
commit 500aa5149e
1 changed files with 4 additions and 4 deletions

View File

@ -2,26 +2,26 @@
@font-face {
font-family: Mononoki;
src: url("https://tebibyte.media/blog/assets/mononoki.ttf") format("ttf"),
src: url("https://tebibyte.media/blog/assets/mononoki.ttf") format("truetype"),
url("https://tebibyte.media/blog/assets/mononoki.woff2") format("woff2"),
url("https://tebibyte.media/blog/assets/mononoki.woff") format("woff");
}
@font-face {
font-family: Ubuntu;
src: url("https://tebibyte.media/assets/fonts/ubuntu.ttf") format("ttf"),
src: url("https://tebibyte.media/assets/fonts/ubuntu.ttf") format("truetype"),
url("https://tebibyte.media/assets/fonts/ubuntu.woff2") format("woff2"),
url("https://tebibyte.media/assets/fonts/ubuntu.woff") format("woff");
}
@font-face {
font-family: Ubuntu Mono Ligaturized;
src: url("https://tebibyte.media/assets/fonts/UbuntuMonoLigaturized-Regular.ttf") format("ttf");
src: url("https://tebibyte.media/assets/fonts/UbuntuMonoLigaturized-Regular.ttf") format("truetype");
}
:root {
--fonts-override: Ubuntu !important;
--fonts-monospace: monospace !important;
--fonts-monospace: Ubuntu Mono Ligaturized !important;
--is-dark-theme: true;
--textured-background: url("https://tebibyte.media/blog/assets/tib_bg.jpg");