Closed sbonaretti closed 4 years ago
For anyone still looking for an answer, one solution is to add a CSS file to Sphinx's static files that overrides Guzzle's styling for math elements.
I added a file _static/css/guzzle_override.css
containing
/**
* These class styles override the Guzzle defaults, which use #009999 (a light
* teal) for math elements.
*/
.m { color: #333333 } /* Literal.Number */
.mf { color: #333333 } /* Literal.Number.Float */
.mh { color: #333333 } /* Literal.Number.Hex */
.mi { color: #333333 } /* Literal.Number.Integer */
.mo { color: #333333 } /* Literal.Number.Oct */
.mn { color: #333333 } /* Literal.Number.Number */
.mrow { color: #333333 } /* Literal.Number.Row */
You need to add this file to your CSS sources by adding the following to your conf.py
html_css_files = ['css/guzzle_override.css']
It works! Thanks! :)
Hi, When using :math:, chars get green. What should I overwrite in css to have black chars? Thanks a lot!