2018-08-21 19:26:15 +00:00
|
|
|
.navigation {
|
2020-02-02 17:13:35 +00:00
|
|
|
height: 6rem;
|
2018-08-21 19:26:15 +00:00
|
|
|
width: 100%;
|
2020-02-21 14:42:31 +00:00
|
|
|
|
|
|
|
> .container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-02-02 17:13:35 +00:00
|
|
|
a,
|
|
|
|
span {
|
2018-08-21 19:26:15 +00:00
|
|
|
display: inline;
|
|
|
|
font-size: 1.6rem;
|
2018-09-14 12:02:58 +00:00
|
|
|
font-family: $heading-font-family;
|
2020-02-02 17:13:35 +00:00
|
|
|
font-weight: $heading-font-weight--bold;
|
|
|
|
line-height: 6rem;
|
2018-09-14 12:02:58 +00:00
|
|
|
color: $fg-color;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2020-02-02 17:13:35 +00:00
|
|
|
color: $link-color;
|
2018-08-21 19:26:15 +00:00
|
|
|
}
|
|
|
|
}
|
2018-09-14 12:02:58 +00:00
|
|
|
.navigation-title {
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
2018-09-05 20:42:59 +00:00
|
|
|
.navigation-list {
|
|
|
|
float: right;
|
|
|
|
list-style: none;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 0;
|
2020-02-02 17:13:35 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2018-09-05 20:42:59 +00:00
|
|
|
position: absolute;
|
2020-02-02 17:13:35 +00:00
|
|
|
top: 6rem;
|
2018-09-05 20:42:59 +00:00
|
|
|
right: 0;
|
|
|
|
z-index: 5;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
padding: 0;
|
|
|
|
max-height: 0;
|
|
|
|
width: 100%;
|
|
|
|
background-color: $bg-color;
|
|
|
|
border-top: solid 2px $alt-bg-color;
|
|
|
|
border-bottom: solid 2px $alt-bg-color;
|
|
|
|
transition: opacity 0.25s, max-height 0.15s linear;
|
2018-08-21 19:26:15 +00:00
|
|
|
}
|
2018-09-05 20:42:59 +00:00
|
|
|
.navigation-item {
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
2020-02-02 17:13:35 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2018-09-05 20:42:59 +00:00
|
|
|
float: none !important;
|
|
|
|
text-align: center;
|
2020-02-02 17:13:35 +00:00
|
|
|
a,
|
|
|
|
span {
|
|
|
|
line-height: 5rem;
|
2018-09-05 20:42:59 +00:00
|
|
|
}
|
|
|
|
}
|
2020-02-02 17:13:35 +00:00
|
|
|
a,
|
|
|
|
span {
|
|
|
|
margin-left: 1rem;
|
|
|
|
margin-right: 1rem;
|
2018-09-05 20:42:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.menu-separator {
|
2020-02-02 17:13:35 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2018-09-05 20:42:59 +00:00
|
|
|
border-top: 2px solid $fg-color;
|
2020-02-02 17:13:35 +00:00
|
|
|
margin: 0 8rem;
|
2018-09-05 20:42:59 +00:00
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-08-21 19:26:15 +00:00
|
|
|
}
|
|
|
|
}
|
2018-09-05 20:42:59 +00:00
|
|
|
#menu-toggle {
|
|
|
|
display: none;
|
2020-02-02 17:13:35 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2018-09-05 20:42:59 +00:00
|
|
|
&:checked + label {
|
|
|
|
color: $alt-bg-color;
|
|
|
|
}
|
|
|
|
&:checked + label + ul {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
max-height: 100rem;
|
|
|
|
}
|
2018-08-21 19:26:15 +00:00
|
|
|
}
|
2018-09-05 20:42:59 +00:00
|
|
|
}
|
|
|
|
.menu-button {
|
|
|
|
display: none;
|
2020-02-02 17:13:35 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2018-09-05 20:42:59 +00:00
|
|
|
display: block;
|
2020-02-21 14:42:31 +00:00
|
|
|
display: flex;
|
2018-09-05 20:42:59 +00:00
|
|
|
font-size: 2.4rem;
|
|
|
|
font-weight: 400;
|
2020-02-02 17:13:35 +00:00
|
|
|
line-height: 6rem;
|
2020-02-21 15:10:31 +00:00
|
|
|
padding: 0.5em 0 0.5em 0.5em;
|
2018-09-05 20:42:59 +00:00
|
|
|
color: $fg-color;
|
|
|
|
cursor: pointer;
|
2018-09-14 12:02:58 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2020-02-02 17:13:35 +00:00
|
|
|
color: $link-color;
|
2018-09-14 12:02:58 +00:00
|
|
|
}
|
2020-02-21 14:42:31 +00:00
|
|
|
.svg-menu {
|
|
|
|
height: 1em;
|
|
|
|
}
|
2018-08-21 19:26:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|