Skip to content

Commit 6ab2b25

Browse files
committed
left hand sidebar (much) more compact
1 parent 94ef9ce commit 6ab2b25

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

_static/style.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,4 +315,17 @@ as the code cell is then part of the list item, in markdown, and is no longer de
315315
*:has(+div.group\/block>div.myst-code) {
316316
margin-bottom: 0.3em;
317317
}
318-
/* no longer need a local style */
318+
/* left-hand sidebar is crowdy */
319+
320+
nav[aria-label="Table of Contents"] {
321+
322+
div[data-state="open"] {
323+
a {
324+
margin: 0px;
325+
font-size: small;
326+
}
327+
}
328+
div[data-state="closed"] {
329+
}
330+
331+
}

_static/style_local.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
/* no longer need a local style */
1+
/* left-hand sidebar is crowdy */
2+
3+
nav[aria-label="Table of Contents"] {
4+
5+
div[data-state="open"] {
6+
a {
7+
margin: 0px;
8+
font-size: small;
9+
}
10+
}
11+
div[data-state="closed"] {
12+
}
13+
14+
}

0 commit comments

Comments
 (0)