Skip to content

Commit 286e3fc

Browse files
committed
docs/_static/custom.css: sync with amaranth upstream.
1 parent af7bda2 commit 286e3fc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/_static/custom.css

+14
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,17 @@ a { text-decoration: underline; }
2020

2121
/* Many of our diagnostics are even longer */
2222
.rst-content pre.literal-block, .rst-content div[class^="highlight"] pre, .rst-content .linenodiv pre { white-space: pre-wrap; }
23+
24+
/* Work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 */
25+
.py.property { display: block !important; }
26+
27+
/* Avoid excessively tiny font in the sidebar */
28+
.wy-menu-vertical li.toctree-l2, .wy-menu-vertical li.toctree-l3, .wy-menu-vertical li.toctree-l4 { font-size: 0.97em; }
29+
/* For some cursed reason the RTD theme was decreasing the font size twice! */
30+
.wy-menu-vertical a { font-size: 100%; }
31+
32+
/* Work around images in docstrings being glued to the paragraph underneath */
33+
.rst-content section dd>img { margin-bottom: 24px; }
34+
35+
/* No switchable color schemes */
36+
img { color-scheme: light; }

0 commit comments

Comments
 (0)