docs: avoid excessive font smallness in the sidebar.

This commit is contained in:
Catherine 2024-04-10 00:42:56 +00:00
parent 3103841eee
commit d557afdcd9

View file

@ -24,6 +24,11 @@ a { text-decoration: underline; }
/* Work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 */
.py.property { display: block !important; }
/* Avoid excessively tiny font in the sidebar */
.wy-menu-vertical li.toctree-l2, .wy-menu-vertical li.toctree-l3, .wy-menu-vertical li.toctree-l4 { font-size: 0.97em; }
/* For some cursed reason the RTD theme was decreasing the font size twice! */
.wy-menu-vertical a { font-size: 100%; }
/* Work around images in docstrings being glued to the paragraph underneath */
.rst-content section dd>img { margin-bottom: 24px; }