diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 8c0ddfc..aa83dee 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -426,6 +426,10 @@ div.footer a:hover { color: #0095c4; } +dl.field-list > dt { + align-self: center; +} + /* C API return value annotations */ :root { --refcount: var(--good-color); diff --git a/python_docs_theme/static/pydoctheme_dark.css b/python_docs_theme/static/pydoctheme_dark.css index 909a296..10c2b98 100644 --- a/python_docs_theme/static/pydoctheme_dark.css +++ b/python_docs_theme/static/pydoctheme_dark.css @@ -77,6 +77,7 @@ span.highlighted { /* Below for most things in text */ dl.field-list > dt { + align-self: center; background-color: #434; }