diff --git a/pypa_theme/static/pypa.css b/pypa_theme/static/pypa.css index 353fdd0..f90a2dc 100644 --- a/pypa_theme/static/pypa.css +++ b/pypa_theme/static/pypa.css @@ -4,13 +4,32 @@ body { max-width: 1000px; margin: 0; - padding-left: 1em; } -/* Add a border on right of content */ -div.bodywrapper { - padding-right: 1em; - border-right: 1px solid #cccccc; +/* Pad the document for clarity. */ +div.document { + padding: 1em; +} + +/* Add colour distinction between content and background */ +body { + background-color: #f7f7f7; +} + +body div.footer, body div.document { + background-color: white; +} + +/* Remove redundant margins */ +div.footer { + margin-right: 0; + padding-right: 10px; +} + +div.related { + padding: 1em 0; + margin-top: 0; + margin-bottom: 0; } /* Undo the margin override in pydoctheme */