From 688d410497c9276c3c0e1effd594583bee15390a Mon Sep 17 00:00:00 2001 From: "Toerd@480" Date: Thu, 24 Oct 2019 11:04:42 +0200 Subject: [PATCH] Fixed center of header again (better solution) --- inc/css/main.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/inc/css/main.css b/inc/css/main.css index 1ff90a7..1b27b31 100644 --- a/inc/css/main.css +++ b/inc/css/main.css @@ -70,6 +70,13 @@ a:hover { color: var(--c3); } +nav { + position: absolute; + height: 100%; + width: 100%; + margin-top: -1.5vh; +} + #logo { position: relative; height: auto%; @@ -78,8 +85,6 @@ a:hover { #logo img { filter: grayscale(1); width: calc(var(--h-header) + 3vh); - margin-top: -1.5vh; - margin-bottom: -1.5vh; } #logo img:hover {