Skip to content

Commit d1e6df4

Browse files
authored
Merge pull request #160 from hugovk/underline-links
Underline links for readability and a11y
2 parents 2c4de5a + a5ca1f5 commit d1e6df4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ pre {
2929
color: inherit;
3030
}
3131

32+
a[href] {
33+
text-decoration: underline 1px;
34+
text-underline-offset: 0.3em;
35+
}
36+
3237
body {
3338
margin-left: 1em;
3439
margin-right: 1em;
@@ -177,7 +182,7 @@ div.body {
177182

178183
div.body p, div.body dd, div.body li, div.body blockquote {
179184
text-align: left;
180-
line-height: 1.4;
185+
line-height: 1.6;
181186
}
182187
div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 {
183188
margin: 0;

0 commit comments

Comments
 (0)
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