feat(nav): complete Tier 1 hierarchical navigation
Add config option [nav] nested (defaults false), update base.html template with nested nav rendering, and add .nav-children CSS styling for indented section children. - Add NavConfig struct with nested: bool - Template renders item.children in .nav-children div - CSS: left border + indent for nested items
This commit is contained in:
13
docs/static/style.css
vendored
13
docs/static/style.css
vendored
@@ -94,6 +94,19 @@ body {
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
.sidebar .nav-children {
|
||||
margin-left: 1rem;
|
||||
padding-left: 0.5rem;
|
||||
border-left: 1px solid var(--border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.sidebar .nav-children a {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.sidebar-footer {
|
||||
margin-top: auto;
|
||||
padding-top: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user