popov.link/_scss/_navbar.scss

41 lines
533 B
SCSS
Raw Normal View History

2024-02-14 01:18:06 +03:00
header {
background-color: $color-bg;
border-bottom: 1px solid $color-header;
box-shadow: 0 5px 5px $color-bg;
left: 0;
line-height: 3.5em;
opacity: .975;
position: fixed;
right: 0;
top: 0;
}
nav {
margin: auto;
max-width: 60em;
padding: 0 4em;
text-align: right;
a {
color: $color-text;
padding: 0 1em;
&:visited {
color: $color-text;
}
}
}
2024-02-14 22:08:29 +03:00
@media (width <=684px) {
2024-02-14 01:18:06 +03:00
header {
box-shadow: none;
}
nav {
padding: 0 2em;
span {
display: none;
}
}
}