Subject: Re: Indicating level by font size in the table of contents
Date: Monday 10th November 2008 07:40:02 UTC (over 8 years ago)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roger Binns wrote: > If you are in the process of fixing styles, it would be nice to apply > them to code-blocks too. For example if I have: > > .. code-block:: python > > Then have the CSS classes be "highlight" (currently done) and > "highlight-python". (I want to mess with "highlight-text" to format > output.) Thanks for implementing this. Is there an easy way to specify an additional HTML/CSS stylesheet. I can use "html_style" in the config or put a different default.css in static to change the main style sheet, but in this case I want to add one line (to set background colour of highlight-text) so I'd rather specify an additional stylesheet. Also I'd suggest creating the highlights the other way around. Currently it does this but it would be better if the outside div was highlight and the inside one was highlight-language.