Define font family in CSS not HTML

This commit is contained in:
Jake Howard 2022-07-04 20:40:50 +01:00
parent 4de9ed541b
commit c526ff0d47
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
.navbar-item {
font-family: $family-code;
&:hover {
background-color: black !important;
color: $grey-light !important;

View file

@ -2,7 +2,7 @@
<nav class="navbar has-background-black has-text-white" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item has-text-white is-family-code" href="{% pageurl homepage %}">
<a class="navbar-item has-text-white" href="{% pageurl homepage %}">
/home/theorangeone
</a>
@ -13,7 +13,7 @@
</a>
</div>
<div id="navbar" class="navbar-menu has-background-black is-family-code">
<div id="navbar" class="navbar-menu has-background-black">
<div class="navbar-start">
{% for nav_page in nav_pages %}
<a class="navbar-item has-text-grey" href="{% pageurl nav_page %}">