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
parent 6fe5448b47
commit 21cd20625e
1 changed files with 4 additions and 4 deletions

View File

@ -2,26 +2,26 @@
@font-face { @font-face {
font-family: Mononoki; 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.woff2") format("woff2"),
url("https://tebibyte.media/blog/assets/mononoki.woff") format("woff"); url("https://tebibyte.media/blog/assets/mononoki.woff") format("woff");
} }
@font-face { @font-face {
font-family: Ubuntu; 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.woff2") format("woff2"),
url("https://tebibyte.media/assets/fonts/ubuntu.woff") format("woff"); url("https://tebibyte.media/assets/fonts/ubuntu.woff") format("woff");
} }
@font-face { @font-face {
font-family: Ubuntu Mono Ligaturized; 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 { :root {
--fonts-override: Ubuntu !important; --fonts-override: Ubuntu !important;
--fonts-monospace: monospace !important; --fonts-monospace: Ubuntu Mono Ligaturized !important;
--is-dark-theme: true; --is-dark-theme: true;
--textured-background: url("https://tebibyte.media/blog/assets/tib_bg.jpg"); --textured-background: url("https://tebibyte.media/blog/assets/tib_bg.jpg");