conventionalcommits.org/themes/conventional-commits/static/css/scss/layout/_header.scss
2022-10-27 21:17:37 +02:00

65 lines
1019 B
SCSS

@import "./../abstracts/index";
.header {
position: absolute;
z-index: 10;
top: 12px;
left: 0;
width: 100%;
.container {
display: flex;
align-items: center;
justify-content: space-between;
height: $header-height;
font-size: .8em;
font-weight: bold;
text-transform: uppercase;
}
.logo {
width: 30px;
height: 30px;
background-color: transparent;
border: 2px solid #FFF;
border-radius: 50%;
}
&__menu {
display: flex;
color: $color-neutral-light;
list-style: none;
margin-left: $gap-sm * 2;
}
&__menu-item {
margin-right: $gap-sm;
&:last-child {
margin-right: 0;
}
}
}
@include up-to-mobile {
.header {
.container {
align-items: flex-start;
height: auto;
margin-top: $gap-sm;
}
&__menu {
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
margin-top: $gap-sm * -1;
}
&__menu-item {
margin-right: 0;
}
}
}