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 {
|
.navbar-item {
|
||||||
|
font-family: $family-code;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: black !important;
|
background-color: black !important;
|
||||||
color: $grey-light !important;
|
color: $grey-light !important;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<nav class="navbar has-background-black has-text-white" role="navigation" aria-label="main navigation">
|
<nav class="navbar has-background-black has-text-white" role="navigation" aria-label="main navigation">
|
||||||
<div class="navbar-brand">
|
<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
|
/home/theorangeone
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</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">
|
<div class="navbar-start">
|
||||||
{% for nav_page in nav_pages %}
|
{% for nav_page in nav_pages %}
|
||||||
<a class="navbar-item has-text-grey" href="{% pageurl nav_page %}">
|
<a class="navbar-item has-text-grey" href="{% pageurl nav_page %}">
|
||||||
|
|
Loading…
Reference in a new issue