Compare commits

..

3 Commits

4 changed files with 17 additions and 4 deletions

View File

@ -93,6 +93,8 @@
justify-content: center;
align-items: center;
flex-wrap: wrap;
font-size: 1rem;
}
.social-link-icon {
@ -291,9 +293,6 @@ div.content .meta-tag {
&:focus {
color: $link-color;
}
@media only screen and (max-width: 768px) {
font-size: 1.4rem;
}
}
}
}

View File

@ -1,6 +1,13 @@
.navigation {
height: 6rem;
width: 100%;
> .container {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
a,
span {
display: inline;
@ -85,6 +92,7 @@
display: none;
@media only screen and (max-width: 768px) {
display: block;
display: flex;
font-size: 2.4rem;
font-weight: 400;
line-height: 6rem;
@ -94,6 +102,9 @@
&:focus {
color: $link-color;
}
.svg-menu {
height: 1em;
}
}
}
}

View File

@ -5,7 +5,7 @@
</a>
{{ if or .Site.Menus.main .Site.IsMultiLingual }}
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle"><i class="fas fa-bars"></i></label>
<label class="menu-button float-right" for="menu-toggle">{{ partial "svg/hamburger.svg" }}</label>
<ul class="navigation-list">
{{ with .Site.Menus.main}}
{{ range sort . }}

View File

@ -0,0 +1,3 @@
<svg class="svg-menu" viewBox="0 0 24 24">
<path fill="currentColor" d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" />
</svg>

After

Width:  |  Height:  |  Size: 134 B