[THEME] Make hamburger button size relative

This commit is contained in:
Gregory Trolliet 2021-03-13 11:40:24 +01:00
parent d35fec4c78
commit d9949cb954
2 changed files with 9 additions and 6 deletions

View file

@ -115,7 +115,7 @@ a:focus {
}
@media only screen and (min-width: 1000px) {
#navigation .navigation-container {
max-width: 900px;
max-width: var(--content-width);
}
}
#navigation-title {
@ -131,7 +131,7 @@ a:focus {
}
#navigation .menu-button {
float: right;
position:relative;
position: relative;
display: none;
width: 4em;
height: 4em;
@ -147,11 +147,12 @@ a:focus {
#navigation .menu-button .menu-button-image {
display: inline-block;
position: relative;
height: 20px;
width: 24px;
top: 14px;
height: 1.5em;
width: 1.5em;
top: 0.75em;
background-image: url(../svg/bars.svg);
background-size: contain;
background-repeat: no-repeat;
margin: auto;
vertical-align: top;
}