Added black background on header

This commit is contained in:
EpicKiwi 2023-06-13 18:21:47 +02:00
parent 8ec9333f88
commit 240165723f
Signed by: epickiwi
GPG Key ID: C4B28FD2729941CE

View File

@ -45,11 +45,25 @@ a:visited {
display: flex;
flex-direction: row;
justify-content: start;
align-items: start;
align-items: stretch;
gap: 15px;
padding: 10px;
position: relative;
margin-bottom: 25px;
}
#main-header::before {
content: "";
z-index: -1;
width: 100vw;
background: black;
height: 100%;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
#main-header > nav {
@ -58,7 +72,7 @@ a:visited {
display: flex;
flex-direction: row;
justify-content: end;
align-items: start;
align-items: center;
}
@media screen and (max-width: 600px) {