Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Limit content width - Take 2 #13

Merged
merged 4 commits into from
Jan 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions pypa_theme/static/pypa.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down