120 lines
2.2 KiB
SCSS
Vendored
120 lines
2.2 KiB
SCSS
Vendored
.site-header {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
font-family: $fontbarlow-bold;
|
|
background-color: $color-main;
|
|
box-shadow: 0 2px 8px rgba($color-dark, 0.15);
|
|
z-index: 99;
|
|
|
|
svg {
|
|
.cls-1 {
|
|
fill: #000;
|
|
}
|
|
.cls-2 {
|
|
fill: transparent;
|
|
}
|
|
}
|
|
|
|
&.blue-bg {
|
|
background-color: $color-blue;
|
|
|
|
svg {
|
|
.cls-1 {
|
|
fill: #fff;
|
|
}
|
|
}
|
|
}
|
|
.wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logotype {
|
|
top: 0;
|
|
left: 1em;
|
|
width: 25%;
|
|
z-index: 1;
|
|
img {
|
|
width: 200px;
|
|
}
|
|
}
|
|
|
|
> span {
|
|
width: 25%;
|
|
text-align: right;
|
|
}
|
|
|
|
nav li {
|
|
display: inline-block;
|
|
}
|
|
|
|
nav a {
|
|
color: $color-blue;
|
|
text-decoration: none;
|
|
&:hover {
|
|
color: $color-second;
|
|
}
|
|
&.menu__item--current {
|
|
color: $color-second;
|
|
}
|
|
}
|
|
|
|
.traduction {
|
|
display: flex;
|
|
li {
|
|
margin-right: 15px;
|
|
a {
|
|
font-size: 14px;
|
|
color: $color-blue;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
}
|
|
&.current a {
|
|
color: $color-second;
|
|
}
|
|
&:last-of-type {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
&.blue-bg .traduction li a {
|
|
color: white;
|
|
}
|
|
&.blue-bg .traduction li.current a {
|
|
color: $color-second;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 800px) {
|
|
.site-header {
|
|
.traduction li a {
|
|
font-size: 18px;
|
|
}
|
|
.wrapper {
|
|
justify-content: space-between;
|
|
height: 100px;
|
|
}
|
|
&.blue-bg {
|
|
nav a:not(.featured-link),
|
|
.traduction li a {
|
|
color: white;
|
|
&:hover {
|
|
color: $color-second;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 799px) {
|
|
.site-header {
|
|
.wrapper {
|
|
justify-content: flex-end;
|
|
height: 50px;
|
|
}
|
|
.logotype img {
|
|
width: 100px;
|
|
}
|
|
}
|
|
}
|