From c39c985512eac3e4c4b9435da6bc24a2a7aa9521 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 25 Jan 2021 21:46:31 +0100 Subject: [PATCH] docs/theme: Limit fmain width This causes it to be centered when the screen is large --- doc_src/python_docs_theme/static/pydoctheme.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index 30100c639..e8929cab0 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -19,6 +19,8 @@ div#fmain { -webkit-box-shadow: 0 0 1px 1px #333; box-shadow: 0 0 5px 1px #333; width: 85%; + /* This is super-cheesy, but 1270px is the maximum width of the sidebar, the content and the margins */ + max-width: 1270px; } div.related {