We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee2fe0 commit 485c630Copy full SHA for 485c630
2 files changed
objects.inv
1 Byte
styles/indent-guides.css
@@ -0,0 +1,31 @@
1
+/* Target nested nav items */
2
+.md-nav__list ul {
3
+ position: relative;
4
+ padding-left: 1rem; /* creates indentation */
5
+ margin: 0;
6
+ list-style: none;
7
+}
8
+
9
+/* Add a vertical guide line */
10
+.md-nav__list ul::before {
11
+ content: "";
12
+ position: absolute;
13
+ top: 0;
14
+ left: 0.25rem; /* adjust to align with text */
15
+ bottom: 0;
16
+ width: 1px;
17
+ background: var(--md-default-fg-color--lighter);
18
+ opacity: 0.4;
19
20
21
+/* Optional: guide bullets for each nested item */
22
+.md-nav__list ul li::before {
23
24
25
+ left: -0.25rem;
26
+ top: 1.2em;
27
+ width: 0.5rem;
28
+ height: 1px;
29
30
+ opacity: 0.5;
31
0 commit comments