From d28cca98aad7bc57d8f9a5e9be62834bc4065323 Mon Sep 17 00:00:00 2001 From: Hydroxycarbamide Date: Fri, 22 Dec 2023 10:05:15 +0100 Subject: [PATCH] Fix font import --- style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 4a714c3..fea2d48 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,10 @@ +@font-face { + font-family: "Ubuntu"; + src: url('fonts/Ubuntu-Regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + :root { --color-bg: #24273a; --color-fg: #D9E0EE; @@ -10,7 +17,6 @@ html, body { background: var(--color-bg); color: var(--color-fg); font-family: "Ubuntu"; - src: url('fonts/Ubuntu-Regular.ttf') format('truetype'); height: 100%; width: 100%; margin: 0;