Added black background on header
This commit is contained in:
parent
8ec9333f88
commit
240165723f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user