You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Portfolio/styles/sass/nav.scss

47 lines
621 B

.navigation {
z-index: 1;
4 years ago
background-color: var(--secondary);
border-bottom: 0.1rem solid var(--borders);
position: fixed;
top: 0;
font-family: "Raleway";
padding: 1.5rem 0;
width: 100%;
.header {
font-size: 1.75rem;
}
.items {
float: right;
4 years ago
display: flex;
justify-content: center;
.moon {
display: none;
}
.dark-switch {
font-size: 2rem;
margin-left: 1rem;
margin-top: 0.25rem;
}
a {
margin-left: 1rem;
}
}
}
4 years ago
[data-theme="dark"] {
.sun {
display: none;
}
.moon {
display: inline-block !important;
}
}