From 11dba74626a409e39d9ff52f9923dda6c700c383 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Wed, 12 May 2021 09:25:35 +0300 Subject: [PATCH 1/2] 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 --- python_docs_theme/static/pydoctheme.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index d3cd2da..239d2cb 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -90,10 +90,10 @@ div.body { padding: 0 0 0 1.2em; } -div.body p { - line-height: 140%; +div.body p, div.body dd, div.body li, div.body blockquote { + text-align: left; + line-height: 1.4; } - div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 { margin: 0; border: 0; From c6f7c6a4d7d20751f53d176d981452eadca0ba39 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 12 May 2021 10:00:36 +0200 Subject: [PATCH 2/2] Try fingerprinting the css with the current version. --- python_docs_theme/theme.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_docs_theme/theme.conf b/python_docs_theme/theme.conf index 74cc9e9..316c3fa 100644 --- a/python_docs_theme/theme.conf +++ b/python_docs_theme/theme.conf @@ -1,6 +1,6 @@ [theme] inherit = default -stylesheet = pydoctheme.css +stylesheet = pydoctheme.css?2021.5.dev pygments_style = default [options]