From 884768ddedd1660d7a21a420a925a57deef49ebb Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 2 Jun 2021 16:10:29 +0200 Subject: [PATCH] docs: Make some background-colors dependent This is so we can more easily change the background. --- doc_src/python_docs_theme/static/pydoctheme.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index d317bcaf5..9c21388fa 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -61,7 +61,6 @@ form.inline-search input[type="submit"] { } div.sphinxsidebar { - background-color: #eeeefa; border-right: 1px solid #ccc; border-radius: 0px; line-height: 130%; @@ -180,8 +179,8 @@ div.body a:hover { tt, code, pre { font-family: monospace, sans-serif; font-size: 96.5%; - /* Older sphinx versions set a color here, we need to unset it so we inherit from the outer div.highlight */ - background-color: unset; + /* Older sphinx versions set a color here, we need to inherit it from the outer div.highlight */ + background-color: inherit; } div.body tt, div.body code {