website/_includes/styles/components/navbar.scss

39 lines
594 B
SCSS

.navbar {
display: grid;
grid-template-columns: 1fr auto;
margin: 0 auto;
max-width: 48rem;
padding: 1rem;
}
.navbar-list {
display: flex;
align-items: center;
gap: 1rem;
list-style: none;
padding-left: 0;
padding-right: 1rem;
}
.navbar-list-item {
margin: 0;
font-size: 2rem;
&.home {
margin-right: auto;
}
a {
color: var(--color-green);
text-decoration: none;
}
}
.navbar-actions {
display: flex;
align-items: center;
border-left: 1px solid var(--color-black);
padding-left: 1rem;
}
button.navbar-theme-switcher {
padding: 0.3em;
}