friendenstein/sass/_header.scss

51 lines
597 B
SCSS
Raw Normal View History

2023-12-25 02:39:41 +01:00
.navBar {
padding: 1rem 0 0 0;
gap: .4rem;
flex-wrap: wrap;
.navBarRight {
float: right;
a {
padding: 0;
}
}
div.themeButton {
float: right;
padding: 0 0 0 1em;
button {
cursor: pointer;
border: none;
background: transparent;
}
}
}
.dark .themeButton.dark,
.themeButton.light {
display: none
}
.dark .themeButton.light {
display: block
}
@media (max-width: 650px) {
.navBar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
.navBarRight {
float: center;
}
.themeButton {
float: center;
}
}
}