From 6d93f89e03922c29fb33fa7ebe9ba1b7421e9add Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 1 Jun 2022 17:29:57 +0200 Subject: [PATCH] docs theme: Make inline code stand out more --- doc_src/python_docs_theme/static/pydoctheme.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index 0b5bb37bd..1fe8ad68e 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -234,6 +234,8 @@ code { background-color: rgba(20,20,80, .1); padding-left: 5px; padding-right: 5px; + margin-left: 3px; + margin-right: 3px; } tt, code, pre, dl > dt span ~ em, #synopsis p, #synopsis code, .command { @@ -527,7 +529,7 @@ div.body .internal.reference:link { } code { - background-color: rgba(200, 200, 255, .1); + background-color: rgba(200, 200, 255, .2); } .warning code {