Fix nav background, and fix it to top of screen
This commit is contained in:
parent
7ee5538bd7
commit
f45397a458
2 changed files with 4 additions and 11 deletions
|
@ -41,18 +41,16 @@ footer.page-footer {
|
|||
}
|
||||
|
||||
.sidenav {
|
||||
background-color: #17181C;
|
||||
|
||||
li > a {
|
||||
@extend .grey-text, .text-lighten-3;
|
||||
}
|
||||
}
|
||||
|
||||
.header-image {
|
||||
height: 40vh;
|
||||
height: calc(45vh - #{$navbar-height});
|
||||
|
||||
@media #{$medium-and-down} {
|
||||
height: 60vh;
|
||||
height: calc(65vh - #{$navbar-height});
|
||||
}
|
||||
|
||||
// Fix darkreader weirdness
|
||||
|
@ -64,17 +62,12 @@ footer.page-footer {
|
|||
}
|
||||
|
||||
nav {
|
||||
height: initial;
|
||||
line-height: initial;
|
||||
|
||||
a.sidenav-trigger {
|
||||
padding: 0 5px;
|
||||
}
|
||||
}
|
||||
|
||||
nav ul, ul.sidenav {
|
||||
padding: 7.5px 5px;
|
||||
|
||||
.nav-link {
|
||||
@extend .grey-text;
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
</head>
|
||||
<body class="{{ view_name }}">
|
||||
<header id="top">
|
||||
<header id="top" class="navbar-fixed">
|
||||
<nav>
|
||||
<div class="nav-wrapper black">
|
||||
<a href="#" data-target="mobile-nav" class="sidenav-trigger"><i class="fas fa-bars"></i></a>
|
||||
|
@ -32,7 +32,7 @@
|
|||
</nav>
|
||||
</header>
|
||||
|
||||
<ul class="sidenav" id="mobile-nav">
|
||||
<ul class="sidenav black" id="mobile-nav">
|
||||
{% include "navigation/index.html" %}
|
||||
</ul>
|
||||
|
||||
|
|
Reference in a new issue