Skip to content

Commit f5d2364

Browse files
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 <julien@palard.fr>
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:0001.2em;
9191
}
9292

93-
div.bodyp{
94-
line-height:140%;
93+
div.bodyp,div.bodydd,div.bodyli,div.bodyblockquote{
94+
text-align: left;
95+
line-height:1.4;
9596
}
96-
9797
div.bodyh1,div.bodyh2,div.bodyh3,div.bodyh4,div.bodyh5,div.bodyh6{
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)