Better mobile nav
This commit is contained in:
parent
85f0e72676
commit
6b245f540d
@ -215,18 +215,21 @@ a {
|
|||||||
|
|
||||||
.grid { grid-template-columns: auto }
|
.grid { grid-template-columns: auto }
|
||||||
|
|
||||||
|
header { margin-bottom: 0 }
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
position: initial;
|
position: initial;
|
||||||
|
margin-bottom: 1rem;
|
||||||
ul { display: none }
|
ul { display: none }
|
||||||
ul.main {
|
ul.main {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
border: 1px solid #43494c;
|
||||||
|
padding: .25rem 0;
|
||||||
}
|
}
|
||||||
span.title { display: none }
|
span.title { display: none }
|
||||||
}
|
}
|
||||||
|
|
||||||
header, nav { margin-bottom: 3rem }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user