Skip to content

Commit 9d97cd9

Browse files
author
Gyan Ranjan Panda
committed
docs: fix critical UI issues in documentation
- Reduce excessive header sizes (H1: 2.2rem, H2: 1.8rem) - Improve dark mode link visibility with brighter blue - Add better sidebar navigation spacing - Reduce excessive list indentation Fixes #258 Signed-off-by: Gyan Ranjan Panda <gyanranjanpanda@gmail.com>
1 parent 4ba4bc6 commit 9d97cd9

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)