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.
On Monday, 3 April 2023 at 17:29:12 UTC+2 Ruud van der Ham wrote:
> @Stefano David
> Thanks for the link to the configuration items.
> Unfortunately, I can't work out from there how to change the font of the
> fourth level in the sidebar. Maybe it's just my lack of understanding.
> Could you (or someone else) provide instructions on how to make the fourth
> level in the sode bar bigger?
> That would be most helpful.
>
> On Monday, 3 April 2023 at 14:54:23 UTC+2 Stefano David wrote:
>
>> On Mon, 3 Apr 2023 01:51:46 -0700 (PDT), Ruud van der Ham wrote:
>>
>> > I have a sphinx HTML (www.salabim.org/manual) that has a 4-level deep
>> > reference section.
>> > Unfortunately, the font of the text in the sidebar is very small. Is it
>> > possible to customise the font size? How?
>> You can use the Web developers tools integrated in the browser to check
>> which is the CSS selector associated with the fourth level, then override
>> it with one saved in a custom file. You should add this file to the
>> html_css_files [1] variable in conf.py.
>>
>> HTH,
>> Stefano
>>
>> [1]
>> https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-
>> html_css_files
>>
>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/fe37cf5f-17af-4637-bfc4-7abb10ea89d4n%40googlegroups.com.