lostplaces-frontend/components/03_Organisms/header/_header.scss
2020-08-04 23:47:39 +02:00

60 lines
1.0 KiB
SCSS

$-logo-height: 45px;
.LP-Header {
display: flex;
align-items: center;
justify-content: space-between;
height: 60px;
box-shadow: 0 0 2px $-light-brown;
&__Navigation{
flex-grow: 2;
}
&__Logo {
height: $-logo-height;
margin: 25px;
object-fit:cover;
max-height: 100%;
width: 225px;
overflow: hidden;
flex-shrink: 0;
.LP-Image{
height: 100%;
}
}
}
.LP-Header__UserInformation{
margin-right: 3%;
.LP-Paragraph{
font-family: $-primary-sans-serif-font;
white-space: nowrap;
}
.LP-Link{
margin: 0 3px;
padding: 4px 4px;
}
}
@media(max-width: $-viewport-medium){
.LP-Header__Logo{
width: $-logo-height;
.LP-Image{
object-position: 0 0;
object-fit: cover;
}
}
}
@media(max-width: $-viewport-extra-small){
.LP-Header__Logo{
display: none;
}
.LP-Header__Navigation{
width: 100%;
}
}