Niels wrote: > I make use of a built in theme. I want to add some small css elements to > the html. > I want to introduce a new stylesheet. I don't want to change the exciting > css file that is part of the theme. > > Are there some suggestions how I can accomplish this?
I've done this by putting a custom.css among the static files overriding the layout template to add a link to the css to the extrahead block: {% extends "!layout.html" %} {% block extrahead %} <link rel="stylesheet" type="text/css" href="{{ pathto('_static/custom.css', 1) }}" /> {% endblock %} While this seems to be what the extrahead block's is actually there for, I admit that I find this procedure a little tedious for adding "just a little css", something I imagine is quite a common thing to do. I wish Sphinx had a configuration option for specifying additional stylesheets. -- Thomas -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.