Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Roger Binns <rogerb <at> rogerbinns.com>
Subject: Re: Indicating level by font size in the table of contents
Newsgroups: gmane.comp.python.sphinx.devel
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.

blah blah
You can actually make this even shorter by doing:
blah blah
Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkX5UwACgkQmOOfHg372QSt/gCdEZmK3QC7CMXvMDaOpueIUBTg dzUAoNFl3ZZcV292D5Wo+DtjbE3VD9UW =ZNg9 -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
 
CD: 44ms