Skip to content

Commit c80acde

Browse files
authored
Merge pull request #259 from gyanranjanpanda/docs/minimal-ui-fixes
docs: fix critical UI issues in documentation
2 parents 6d517a1 + 9d97cd9 commit c80acde

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/source/_static/theme_overrides.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,30 @@ div.rst-content {
2424
margin-left: 0px;
2525
}
2626
}
27+
28+
/* Minimal UI fixes */
29+
30+
/* Fix 1: Reduce excessive header sizes */
31+
.rst-content h1 {
32+
font-size: 2.2rem;
33+
}
34+
35+
.rst-content h2 {
36+
font-size: 1.8rem;
37+
}
38+
39+
/* Fix 2: Improve dark mode link visibility */
40+
[data-theme="dark"] .rst-content a {
41+
color: #5ca8ff;
42+
}
43+
44+
/* Fix 3: Better sidebar navigation spacing */
45+
.wy-menu-vertical li a {
46+
padding: 0.6em 1.2em;
47+
}
48+
49+
/* Fix 4: Reduce list indentation */
50+
.rst-content ul,
51+
.rst-content ol {
52+
margin-left: 1.5rem;
53+
}

0 commit comments

Comments
 (0)