feat: work on displaying doc structure in sidebar

This commit is contained in:
Stevan Freeborn
2023-04-09 00:24:42 -05:00
parent 52416307ee
commit 34e1c68a2f
12 changed files with 220 additions and 5 deletions
+38
View File
@@ -9,6 +9,7 @@
.title {
font-size: 1rem;
white-space: nowrap;
margin-bottom: 1rem;
}
.onspring {
@@ -19,4 +20,41 @@
.api {
font-weight: bold;
color: #ee7203;
}
.list {
display: flex;
flex-direction: column;
gap: 0.25rem;
white-space: nowrap;
}
.listItem {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
cursor: pointer;
padding: 0 0.5rem;
}
.link {
text-decoration: none;
color: #a3acb9;
}
.link:hover {
color: white;
}
.expandable {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.chevron {
margin-left: 0.5rem;
}