hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/sphinx-static/theme_overrides.css
....@@ -4,6 +4,44 @@
44 *
55 */
66
7
+/* Improve contrast and increase size for easier reading. */
8
+
9
+body {
10
+ font-family: serif;
11
+ color: black;
12
+ font-size: 100%;
13
+}
14
+
15
+h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
16
+ font-family: sans-serif;
17
+}
18
+
19
+.wy-menu-vertical li.current a {
20
+ color: #505050;
21
+}
22
+
23
+.wy-menu-vertical li.on a, .wy-menu-vertical li.current > a {
24
+ color: #303030;
25
+}
26
+
27
+div[class^="highlight"] pre {
28
+ font-family: monospace;
29
+ color: black;
30
+ font-size: 100%;
31
+}
32
+
33
+.wy-menu-vertical {
34
+ font-family: sans-serif;
35
+}
36
+
37
+.c {
38
+ font-style: normal;
39
+}
40
+
41
+p {
42
+ font-size: 100%;
43
+}
44
+
745 /* Interim: Code-blocks with line nos - lines and line numbers don't line up.
846 * see: https://github.com/rtfd/sphinx_rtd_theme/issues/419
947 */
....@@ -15,6 +53,16 @@
1553 line-height: normal;
1654 }
1755
56
+/* Keep fields from being strangely far apart due to inheirited table CSS. */
57
+.rst-content table.field-list th.field-name {
58
+ padding-top: 1px;
59
+ padding-bottom: 1px;
60
+}
61
+.rst-content table.field-list td.field-body {
62
+ padding-top: 1px;
63
+ padding-bottom: 1px;
64
+}
65
+
1866 @media screen {
1967
2068 /* content column