Use node collapse markers with better font compatibility.

These are temporal. This way of working moves the titles around when they get
     collapsed/expanded, so I should probably change it at some point.
This commit is contained in:
Sergio Martínez Portela 2022-11-04 00:30:21 +01:00
parent 0ebda876f7
commit 38e5f57eab

View File

@ -139,11 +139,14 @@ body nav input {
} }
.node .node.collapsed > .title::before { .node .node.collapsed > .title::before {
content: "🮥"; content: "";
vertical-align: text-bottom;
} }
.node .node.expanded > .title::before { .node .node.expanded > .title::before {
content: "🮦"; content: "";
transform: rotate(90deg);
display: inline-block;
} }
.node .title { .node .title {