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

Skip to content

Commit f5d2364

Browse files
obulatJulienPalard
andauthored
Improve readability (#79)
* Improve readability Replace `text-align: justify` from the classic.css with `text-align: left` Set line-height to 1.4 instead of 130% for some elements * Try fingerprinting the css with the current version. Co-authored-by: Julien Palard <[email protected]>
1 parent 4dcc3b4 commit f5d2364

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ div.body {
9090
padding: 0 0 0 1.2em;
9191
}
9292

93-
div.body p {
94-
line-height: 140%;
93+
div.body p, div.body dd, div.body li, div.body blockquote {
94+
text-align: left;
95+
line-height: 1.4;
9596
}
96-
9797
div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 {
9898
margin: 0;
9999
border: 0;

python_docs_theme/theme.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[theme]
22
inherit = default
3-
stylesheet = pydoctheme.css
3+
stylesheet = pydoctheme.css?2021.5.dev
44
pygments_style = default
55

66
[options]

0 commit comments

Comments
 (0)