From f45397a458180310b031a5982206e8bc66a320e5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 3 May 2020 16:04:04 +0100 Subject: [PATCH] Fix nav background, and fix it to top of screen --- static/src/scss/index.scss | 11 ++--------- templates/base.html | 4 ++-- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/static/src/scss/index.scss b/static/src/scss/index.scss index 78d72de..eb579a7 100644 --- a/static/src/scss/index.scss +++ b/static/src/scss/index.scss @@ -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; diff --git a/templates/base.html b/templates/base.html index 37e606d..9e9ff4b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -21,7 +21,7 @@ -
+ -