From cc74a749c068441edb13ad2d4443570e4f5e5386 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 18 Oct 2023 21:58:41 +0300 Subject: [PATCH 1/3] Underline links for readability and a11y --- python_docs_theme/static/pydoctheme.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index ce032f1..664445e 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -29,6 +29,10 @@ pre { color: inherit; } +a { + text-decoration: underline; +} + body { margin-left: 1em; margin-right: 1em; From 071911ed9a375d993a780951d8c6957abf56f96e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 4 Nov 2023 20:35:12 +0200 Subject: [PATCH 2/3] Redunce underline thickness, move underline down, increase line height --- python_docs_theme/static/pydoctheme.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 664445e..cb8d2d9 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -30,7 +30,8 @@ pre { } a { - text-decoration: underline; + text-decoration: underline 1px; + text-underline-offset: 0.3em; } body { @@ -181,7 +182,7 @@ div.body { div.body p, div.body dd, div.body li, div.body blockquote { text-align: left; - line-height: 1.4; + line-height: 1.6; } div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 { margin: 0; From a5ca1f52f5b9ae6d18a80b91dac7e74d288171f6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 5 Nov 2023 23:03:52 +0200 Subject: [PATCH 3/3] Only underline actual links rather than placeholder links Co-authored-by: Pradyun Gedam --- python_docs_theme/static/pydoctheme.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index cb8d2d9..a69cd17 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -29,7 +29,7 @@ pre { color: inherit; } -a { +a[href] { text-decoration: underline 1px; text-underline-offset: 0.3em; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy