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

+6-1
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)