* Move nav elements to a new Navbar component * Update CSS variables to oklch format * Add standard button utility classes * Remove nested nav styles from App.css
50 lines
1.1 KiB
CSS
50 lines
1.1 KiB
CSS
nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
padding-bottom: var(--size-lg);
|
|
width: 100%;
|
|
|
|
a {
|
|
padding: 0.6rem var(--size-md) 0.5rem;
|
|
border-radius: var(--radius);
|
|
line-height: 1;
|
|
display: block;
|
|
}
|
|
|
|
.settings-button {
|
|
margin-top: auto;
|
|
align-self: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.settings-button.active {
|
|
margin-top: auto;
|
|
align-self: center;
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
h2 {
|
|
margin-top: var(--size-lg);
|
|
font-size: 1rem;
|
|
opacity: 0.5;
|
|
}
|
|
li {
|
|
width: 100%;
|
|
}
|
|
.guide-list a {
|
|
transition:
|
|
background-color 0.125s,
|
|
border-left 0.125s;
|
|
background-color: #fff;
|
|
border-left: 4px solid var(--color-border);
|
|
}
|
|
.guide-list a.active {
|
|
background-color: #fff;
|
|
border-left: 4px solid var(--color-accent);
|
|
}
|
|
.guide-list a:hover:not(.active) {
|
|
border-left: 4px solid var(--color-accent-hover);
|
|
opacity: 0.8;
|
|
}
|
|
}
|