I did exactly this (but orange, not blue), so I can share a step-by-step
example.
I made a css file called theme_overrides.css.
It contains this text:
/* make table heads orange instead of pink */
th {
background-color: #ffbf9c;
}
You only need to include formatting for the elements you want to change
from the template's format.
It is stored it in the source/_static directory of my project.
I use the html_context method to define it in conf.py:
html_context = {
'css_files': [
'_static/theme_overrides.css',
],
}
This method is one of the methods described in the StackOverflow link. I'm
not sure if it's always the best, but it works in my case.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.