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

Commit ee28ae1

Browse files
pradyunsgJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
all: limit body width (#11)
The width is 1000px and the content now has a right border for visual clarity
1 parent 08db635 commit ee28ae1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pypa_theme/static/pypa.css

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
@import url("pydoctheme.css");
22

3+
/* Limit the body width */
4+
body {
5+
max-width: 1000px;
6+
margin: 0;
7+
padding-left: 1em;
8+
}
9+
10+
/* Add a border on right of content */
11+
div.bodywrapper {
12+
padding-right: 1em;
13+
border-right: 1px solid #cccccc;
14+
}
15+
316
/* Undo the margin override in pydoctheme */
417
div.sphinxsidebarwrapper > ul > li > ul > li {
518
margin-bottom: 0;

0 commit comments

Comments
 (0)