Merge pull request 'Make the menu look more okay on small screens' (#74) from benjaoming/website:menu-small-displays into new

Reviewed-on: data.coop/website#74
This commit is contained in:
benjaoming 2023-04-02 21:50:56 +00:00
commit 68f4f97271

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 {