From 21cd20625e3cfdfe371cf87352581e42cbe19901 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 11 Aug 2022 23:29:20 -0500 Subject: [PATCH] Fix Ubuntu Mmono Ligaturized font not loading The font format was set to "ttf" instead of "truetype" which prevented the font from loading. --- css/theme-martian.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/theme-martian.css b/css/theme-martian.css index 84b0411..589690b 100644 --- a/css/theme-martian.css +++ b/css/theme-martian.css @@ -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");