💄 style: improve header's responsiveness
Both title and navs take up 100% of the width on small displays. Closes #48
This commit is contained in:
parent
0f14171b6a
commit
5df62f546c
@ -8,7 +8,6 @@ header {
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
/* Otherwise header and menu is too close on small screens*/
|
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,12 +107,15 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
.nav-title {
|
.nav-navs {
|
||||||
margin: 0;
|
margin-top: 0.8rem;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
max-width: var(--medium-layout-width);
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user