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

Skip to content

Commit 2f38e86

Browse files
committed
Only apply underline offset to code formatting for underline visibility
1 parent 6a9d7a2 commit 2f38e86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python_docs_theme/static/pydoctheme.css

+3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ pre {
3131

3232
a[href] {
3333
text-decoration: underline 1px;
34+
35+
a[href]:has(> code) {
3436
text-underline-offset: 0.25em;
37+
color: red;
3538
}
3639

3740
body {

0 commit comments

Comments
 (0)