Skip to content

Commit 485c630

Browse files
committed
Update API references
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
1 parent cee2fe0 commit 485c630

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

objects.inv

1 Byte
Binary file not shown.

styles/indent-guides.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
content: "";
24+
position: absolute;
25+
left: -0.25rem;
26+
top: 1.2em;
27+
width: 0.5rem;
28+
height: 1px;
29+
background: var(--md-default-fg-color--lighter);
30+
opacity: 0.5;
31+
}

0 commit comments

Comments
 (0)