Make the menu look more okay on small screens

This commit is contained in:
Benjamin Bach 2023-04-02 23:47:08 +02:00
parent a9de76d2e8
commit b3affc1643
Signed by: benjaoming
GPG key ID: 7D49441634585664

View file

@ -160,6 +160,10 @@ aside nav ol li a {
font-size : 2rem;
margin : 1.2rem 0;
text-decoration : none;
@media (max-height: 700px) {
font-size : 1.5rem;
margin : 0.5rem 0;
}
}
aside nav ol li a:hover {
@ -181,11 +185,18 @@ aside #menu-toggle {
aside nav footer {
margin : var(--base-grid) 0 0 0;
@media (max-height: 700px) {
margin : (var(--base-grid) / 1.5) 0 0 0;
}
}
aside nav footer ol li a {
font-size : 1.65rem;
margin : 1.2rem 0;
@media (max-height: 700px) {
font-size : 1.2rem;
margin : 0.1rem 0;
}
}
aside header a img {