Skip to content

Commit

Permalink
Merge pull request #160 from hugovk/underline-links
Browse files Browse the repository at this point in the history
Underline links for readability and a11y
  • Loading branch information
pradyunsg authored Dec 20, 2023
2 parents 2c4de5a + a5ca1f5 commit d1e6df4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ pre {
color: inherit;
}

a[href] {
text-decoration: underline 1px;
text-underline-offset: 0.3em;
}

body {
margin-left: 1em;
margin-right: 1em;
Expand Down Expand Up @@ -177,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;
Expand Down

0 comments on commit d1e6df4

Please sign in to comment.