Define font family in CSS not HTML
This commit is contained in:
parent
4de9ed541b
commit
c526ff0d47
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
.navbar-item {
|
||||
font-family: $family-code;
|
||||
|
||||
&:hover {
|
||||
background-color: black !important;
|
||||
color: $grey-light !important;
|
||||
|
|
|
@ -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 %}">
|
||||
|
|
Loading…
Reference in a new issue