more mitigations for smol screens

This commit is contained in:
Lynne Megido 2020-03-25 21:21:04 +10:00
parent bcdcd2ee11
commit 22e43da5d1
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -145,9 +145,6 @@ header a {
padding: 5px 15px; padding: 5px 15px;
transition: 0.2s all; transition: 0.2s all;
} }
header span:not(#theme-control), header a {
height: 100%;
}
html.night header a { html.night header a {
color: white; color: white;
} }
@ -270,6 +267,9 @@ html.night #theme-control::before {
header a { header a {
padding: 5px 8px; padding: 5px 8px;
} }
header {
justify-content: space-around;
}
} }
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
@ -321,6 +321,7 @@ html.night #theme-control::before {
} }
header span { header span {
width: 100%; width: 100%;
text-align: center;
} }
header span:not(#theme-control), header a { header span:not(#theme-control), header a {
height: unset; height: unset;