Improve mobile navigation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user