From c526ff0d478f7d24c77542b532144afc27222112 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Jul 2022 20:40:50 +0100 Subject: [PATCH] Define font family in CSS not HTML --- static/src/scss/_navbar.scss | 2 ++ website/common/templates/common/navbar.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/src/scss/_navbar.scss b/static/src/scss/_navbar.scss index a8b0d45..77a6c7b 100644 --- a/static/src/scss/_navbar.scss +++ b/static/src/scss/_navbar.scss @@ -1,4 +1,6 @@ .navbar-item { + font-family: $family-code; + &:hover { background-color: black !important; color: $grey-light !important; diff --git a/website/common/templates/common/navbar.html b/website/common/templates/common/navbar.html index 4de57af..e4be452 100644 --- a/website/common/templates/common/navbar.html +++ b/website/common/templates/common/navbar.html @@ -2,7 +2,7 @@