FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #171 from hugovk/text-underline-offset · python/python-docs-theme@69039fb · GitHub

Repository navigation

Commit 69039fb

Browse files
authored
Merge pull request #171 from hugovk/text-underline-offset
2 parents 8eeda41 + fbf2bf8 commit 69039fb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎python_docs_theme/static/pydoctheme.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,16 @@ pre {
2929
color: inherit;
3030
}
3131

32+
/* Add underlines to links */
3233
a[href] {
3334
text-decoration: underline 1px;
35+
}
36+
37+
/* Increase the underline offset for code to avoid obscuring underscores */
38+
a[href]:has(> code) {
3439
text-underline-offset: 0.25em;
3540
}
41+
3642
/* No underline for navigation */
3743
a.headerlink,
3844
div.genindex-jumpbox a,

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL