friendenstein/sass/_header.scss

51 lines
585 B
SCSS
Raw Normal View History

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