Improve mobile navigation

This commit is contained in:
NBTX
2019-08-24 19:35:39 +01:00
parent 35d7e1b32e
commit 67f0600702
3 changed files with 31 additions and 3 deletions

View File

@@ -5,6 +5,8 @@
--err-color: #393939;
}
$responsiveWidth: 720px;
::selection {
background-color: var(--ac-color);
color: var(--bg-color);
@@ -70,6 +72,18 @@ footer {
justify-content: space-between;
}
@media(max-width: $responsiveWidth){
header {
display: block;
text-align: center;
nav {
display: inline-flex;
margin-top: 20px;
}
}
}
nav {
a:not(:last-of-type) {
margin-right: 15px;
@@ -210,7 +224,7 @@ ol li {
flex-grow: 1;
}
@media (max-width: 720px) {
@media (max-width: $responsiveWidth) {
ul,
ol {