ericholscher / sphinx-tutorial

An opinionated tutorial on Sphinx.
56 stars 151 forks source link

Getting grey background in preformatted text sections instead of #eeffcc #5

Closed vichargrave closed 5 years ago

vichargrave commented 5 years ago

I'm going though the Sphinx tutorial and everything is working great, except for the preformatted text section backgrounds. They turn out grey, but when I click on the Live Preview links, the example pages have #eeffcc background color. I'm using the sphinx_rtd_theme as recommended and configured it according to the instructions. How can I get the #eeffcc background color which seems to be standard?

vichargrave commented 5 years ago

Ok I figured it out. The pygments.css that got pulled into the build did not have the highlight background I wanted, so I copied it into my own _static folder and changed the color manually. When the page was built it use my pygments.css.