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.

Commit ab09045

Browse files
pradyunsgJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Limit content width (#13)
1 parent ee28ae1 commit ab09045

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

pypa_theme/static/pypa.css

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,32 @@
44
body {
55
max-width: 1000px;
66
margin: 0;
7-
padding-left: 1em;
87
}
98

10-
/* Add a border on right of content */
11-
div.bodywrapper {
12-
padding-right: 1em;
13-
border-right: 1px solid #cccccc;
9+
/* Pad the document for clarity. */
10+
div.document {
11+
padding: 1em;
12+
}
13+
14+
/* Add colour distinction between content and background */
15+
body {
16+
background-color: #f7f7f7;
17+
}
18+
19+
body div.footer, body div.document {
20+
background-color: white;
21+
}
22+
23+
/* Remove redundant margins */
24+
div.footer {
25+
margin-right: 0;
26+
padding-right: 10px;
27+
}
28+
29+
div.related {
30+
padding: 1em 0;
31+
margin-top: 0;
32+
margin-bottom: 0;
1433
}
1534

1635
/* Undo the margin override in pydoctheme */

0 commit comments

Comments
 (0)