Fixed center of header again (better solution)

This commit is contained in:
Toerd@480 2019-10-24 11:04:42 +02:00
parent 716663d850
commit 688d410497

View File

@ -70,6 +70,13 @@ a:hover {
color: var(--c3); color: var(--c3);
} }
nav {
position: absolute;
height: 100%;
width: 100%;
margin-top: -1.5vh;
}
#logo { #logo {
position: relative; position: relative;
height: auto%; height: auto%;
@ -78,8 +85,6 @@ a:hover {
#logo img { #logo img {
filter: grayscale(1); filter: grayscale(1);
width: calc(var(--h-header) + 3vh); width: calc(var(--h-header) + 3vh);
margin-top: -1.5vh;
margin-bottom: -1.5vh;
} }
#logo img:hover { #logo img:hover {