ldc-doux/resources/sass/_header.scss
Sebastien Hattry a7be310a34 integration
2021-11-18 14:36:06 +01:00

77 lines
No EOL
1.3 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, .15);
z-index:99;
.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;
}
}
.traduction{
display:flex;
li{
margin-right:15px;
a{
color:$color-blue;
text-transform:uppercase;
text-decoration:none;
}
&.current a{
color:$color-second;
}
&:last-of-type{
margin-right:0;
}
}
}
}
@media screen and (min-width: 800px){
.site-header{
.wrapper{
justify-content: space-between;
height:100px;
}
}
}
@media screen and (max-width: 799px){
.site-header{
.wrapper{
justify-content: flex-end;
height:50px;
}
}
}