cycat-project-website/_sass/components/_header.scss

28 lines
518 B
SCSS
Raw Normal View History

2018-12-09 08:21:01 +01:00
.header {
color: $primary;
background-color: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
2020-08-23 12:01:06 +02:00
// box-shadow: 0 1px 15px rgba(50, 50, 93, 0.2);
border-bottom: 1px solid $white-offset;
padding: 10px 0px;
2018-12-09 08:21:01 +01:00
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
2020-08-23 12:01:06 +02:00
&.header-absolute {
position: absolute;
z-index: 10;
width: 100%;
}
}
.lock-scroll {
.header {
&.header-absolute {
position: static;
2018-12-09 08:21:01 +01:00
}
}
}