docs: avoid excessive font smallness in the sidebar.
This commit is contained in:
parent
3103841eee
commit
d557afdcd9
5
docs/_static/custom.css
vendored
5
docs/_static/custom.css
vendored
|
@ -24,6 +24,11 @@ a { text-decoration: underline; }
|
||||||
/* Work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 */
|
/* Work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 */
|
||||||
.py.property { display: block !important; }
|
.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 */
|
/* Work around images in docstrings being glued to the paragraph underneath */
|
||||||
.rst-content section dd>img { margin-bottom: 24px; }
|
.rst-content section dd>img { margin-bottom: 24px; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue