2020-10-11 22:16:00 +02:00
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
align-content: stretch;
|
|
|
|
|
|
|
|
background-color: $header_bg_color;
|
|
|
|
color: $header_text_color;
|
|
|
|
padding: 0 30px;
|
2020-12-27 00:07:09 +01:00
|
|
|
gap: 20px;
|
2020-10-11 22:16:00 +02:00
|
|
|
|
2020-11-22 13:34:01 +01:00
|
|
|
border-bottom: 4px solid $header_border_color;
|
|
|
|
|
2020-12-27 00:07:09 +01:00
|
|
|
@media (max-width: 800px) {
|
|
|
|
padding: 0 10px;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-10-11 22:16:00 +02:00
|
|
|
h1 {
|
2020-12-27 00:07:09 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-10-11 22:16:00 +02:00
|
|
|
margin: 0;
|
2020-12-27 00:07:09 +01:00
|
|
|
padding: 5px 20px;
|
2020-11-22 13:34:01 +01:00
|
|
|
color: $header_text_color;
|
2020-12-13 00:12:06 +01:00
|
|
|
font-size: 1em;
|
2020-12-27 00:07:09 +01:00
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#mobile_nav_trigger {
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
border-top: 4px solid $header_border_color;
|
|
|
|
padding: 5px 10px;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: flex;
|
2020-12-27 00:07:09 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.links {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0 auto;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
|
2020-11-22 13:34:01 +01:00
|
|
|
a {
|
2020-12-27 00:07:09 +01:00
|
|
|
display: flex;
|
2020-10-11 22:16:00 +02:00
|
|
|
padding: 10px 20px;
|
2020-12-27 00:07:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a, #mobile_nav_trigger {
|
|
|
|
align-items: center;
|
|
|
|
margin: 0;
|
2020-10-11 22:16:00 +02:00
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
color: $header_text_color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($header_bg_color, 10%);
|
2020-12-13 00:12:06 +01:00
|
|
|
color: $page_link_color;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
&.current {
|
|
|
|
background-color: $header_border_color;
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
background-color: darken($header_bg_color, 10%);
|
|
|
|
box-shadow: none;
|
2020-12-13 00:12:06 +01:00
|
|
|
color: $page_link_color;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
}
|
2020-11-22 13:34:01 +01:00
|
|
|
|
2020-12-27 00:07:09 +01:00
|
|
|
#account {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: end;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.username {
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
2020-11-22 13:34:01 +01:00
|
|
|
}
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|