2020-10-11 22:16:00 +02:00
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
align-content: stretch;
|
|
|
|
|
|
|
|
background-color: $header_bg_color;
|
|
|
|
color: $header_text_color;
|
|
|
|
padding: 0 30px;
|
|
|
|
|
2020-11-22 13:34:01 +01:00
|
|
|
border-bottom: 4px solid $header_border_color;
|
|
|
|
|
2020-10-11 22:16:00 +02:00
|
|
|
h1 {
|
|
|
|
margin: 0;
|
2020-11-22 13:34:01 +01:00
|
|
|
padding: 0 20px;
|
|
|
|
color: $header_text_color;
|
2020-12-13 00:12:06 +01:00
|
|
|
font-size: 1em;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
justify-content: left;
|
|
|
|
margin: 0 20px;
|
|
|
|
flex: 1 1 100px;
|
|
|
|
}
|
|
|
|
|
2020-11-22 13:34:01 +01:00
|
|
|
a {
|
2020-10-11 22:16:00 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px 20px;
|
|
|
|
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
|
|
|
|
|
|
|
.username {
|
2020-12-13 00:12:06 +01:00
|
|
|
font-size: 0.7em;
|
2020-11-22 13:34:01 +01:00
|
|
|
}
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|