hugo-whisper-theme/assets/scss/components/_header.scss

27 lines
481 B
SCSS

.header {
color: $primary;
background-color: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0 10px 0;
// box-shadow: 0 1px 15px rgba(50, 50, 93, 0.2);
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
&.header-absolute {
position: absolute;
z-index: 10;
width: 100%;
}
}
.lock-scroll {
.header {
&.header-absolute {
position: static;
}
}
}