Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69039fb

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python_docs_theme/static/pydoctheme.css

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