forked from aboutcode-org/aboutcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme_overrides.css
More file actions
55 lines (46 loc) · 986 Bytes
/
theme_overrides.css
File metadata and controls
55 lines (46 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* this is the container for the pages */
.wy-nav-content {
max-width: 100%;
padding: 0px 40px 0px 0px;
margin-top: 20px;
}
.wy-nav-content-wrap {
border-right: solid 1px;
}
div.rst-content {
max-width: 1300px;
border: 0;
padding: 30px 80px 10px 80px;
margin-left: 50px;
line-height: 1.6;
}
@media (max-width: 768px) {
div.rst-content {
max-width: 1300px;
border: 0;
padding: 20px 10px 10px 10px;
margin-left: 0px;
line-height: 1.5;
}
}
/* Minimal UI fixes */
/* Fix 1: Reduce excessive header sizes */
.rst-content h1 {
font-size: 2.2rem;
}
.rst-content h2 {
font-size: 1.8rem;
}
/* Fix 2: Improve dark mode link visibility */
[data-theme="dark"] .rst-content a {
color: #5ca8ff;
}
/* Fix 3: Better sidebar navigation spacing */
.wy-menu-vertical li a {
padding: 0.6em 1.2em;
}
/* Fix 4: Reduce list indentation */
.rst-content ul,
.rst-content ol {
margin-left: 1.5rem;
}