Skip to content

Commit 7114af5

Browse files
committed
Add sidebar styling and logo documentation link
- Introduced custom scrollbar styles for the sidebar content. - Added a logo with a "Docs" label for better navigation clarity.
1 parent 51ce788 commit 7114af5

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

style.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#sidebar-content::-webkit-scrollbar {
2+
width: 8px;
3+
}
4+
5+
#sidebar-content::-webkit-scrollbar-track {
6+
background: rgba(0, 0, 0, 0.05);
7+
}
8+
9+
#sidebar-content::-webkit-scrollbar-thumb {
10+
background: rgba(0, 0, 0, 0.3);
11+
border-radius: 4px;
12+
}
13+
14+
#sidebar-content::-webkit-scrollbar-thumb:hover {
15+
background: rgba(0, 0, 0, 0.5);
16+
}
17+
18+
.nav-logo {
19+
max-width: 160px;
20+
}
21+
22+
a:has(> .nav-logo)::after {
23+
content: "Docs";
24+
position: absolute;
25+
bottom: 4px;
26+
display: block;
27+
font-size: 12px;
28+
color: rgb(var(--gray-600));
29+
left: 36px
30+
}
31+
32+
.dark a:has(> .nav-logo)::after {
33+
color: rgb(var(--gray-400));
34+
}

0 commit comments

Comments
 (0)