Hello Ruud,
sorry for getting back to you so late,

On Thu, 6 Apr 2023 11:19:24 -0700 (PDT), Ruud van der Ham wrote:

> With the help of Christopher Trudeau (Real Python], I have found that
> when I patch css/themes.css
>     .toctree-l4{font-size:0.9em}
> to
>     .toctree-l4{font-size:1.0em}
> I have much better readable level 4 side bar.
I'm glad you find a solution, but please note that when you will upgrade 
the sphinx_rtd_theme extension, your patch will be lost. I suggest to save 
all your CSS customisations in a file under your source tree and then add 
the file path to your conf.py's variable html_css_files. In this way, your 
customisation will remain even after you update, because CSS in your file 
will always override the theme's CSS.

You can check [1] for directions on how to set this up.

https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html

HTH,
Stefano


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/u15i1h%241c3%241%40ciao.gmane.io.

Reply via email to