From 4a10792516803a819d1cb27d02fc00adca517209c380b24747be8b3283ae74b2 Mon Sep 17 00:00:00 2001 From: nyx Date: Tue, 11 Feb 2025 22:21:50 -0600 Subject: [PATCH] fonts work now sadly, this hotlinks google fonts but eh Signed-off-by: nyx --- site/index.css | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/site/index.css b/site/index.css index 27de22d..eeb0280 100644 --- a/site/index.css +++ b/site/index.css @@ -1,12 +1,4 @@ -@AtkinsonHyperlegibleNext { - font-family: 'AtkinsonHyperlegible-Next'; - src: url('https://AtkinsonHyperlegibleNext-Regular.woff2') -} - -@AtkinsonHyperlegibleMono { - font-family: 'AtkinsonHyperlegible-Mono'; - src: url('https://everypizza.im/AtkinsonHyperlegibleNext-Regular.woff2') -} +@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&family=Atkinson+Hyperlegible+Next:ital,wght@0,200..800;1,200..800&display=swap'); .center { text-align: center; @@ -134,11 +126,17 @@ } h1, h2, h3 { - font-family: AtkinsonHyperlegible-Mono !important; + font-family: "Atkinson Hyperlegible Mono", monospace; + font-weight: 600 +} + +small { + font-weight: 200 } * { - font-family: AtkinsonHyperlegible-Next; + font-family: "Atkinson Hyperlegible Next", sans-serif; + font-weight: 400 } @keyframes fadeIn {