website/_includes/styles/components/navbar.scss

40 lines
594 B
SCSS
Raw Normal View History

2023-07-26 09:50:04 -04:00
.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;
}