Merge pull request 'Make the menu look more okay on small screens' (#74) from benjaoming/website:menu-small-displays into new
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #74
This commit is contained in:
commit
68f4f97271
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue