37 lines
540 B
SCSS
37 lines
540 B
SCSS
@import "../variables";
|
|
|
|
.navigation {
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
width: 100%;
|
|
z-index: 100;
|
|
overflow-x: scroll;
|
|
position: fixed;
|
|
top: 0;
|
|
white-space: nowrap;
|
|
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.navigation__right {
|
|
color: $dark-color;
|
|
margin-right: 1em;
|
|
|
|
z-index: 1000;
|
|
}
|
|
|
|
@media (max-width: $mobile-width) {
|
|
.navigation {
|
|
background-color: white;
|
|
}
|
|
|
|
.navigation__right {
|
|
padding: 0 $single-margin;
|
|
}
|
|
}
|
|
|