Prevent navbar from obfuscating post banner on mobile (fixes #61)

This commit is contained in:
daudix
2024-08-25 01:37:00 +03:00
parent 7808d906f1
commit 813f0cdf68
2 changed files with 14 additions and 4 deletions

View File

@ -18,8 +18,18 @@
transition: none;
margin: 0;
}
}
.banner-margin {
margin-top: 35vw;
& + h1 {
margin-block-start: 35vw;
}
@media only screen and (max-width: 480px) {
body:has(&) #site-nav {
margin-block-start: 50vw;
}
& + h1 {
margin-block-start: 2rem;
}
}
}