diff --git a/godoc/static/static.go b/godoc/static/static.go index bfbb9d76..e3c8d7fc 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -2925,16 +2925,15 @@ body { a, .exampleHeading .text { color: #375EAB; - text-decoration: none; } -a:hover, +a, .exampleHeading .text:hover { text-decoration: underline; + -webkit-text-decoration: skip; + text-decoration-skip: ink; } -.article a { - text-decoration: underline; -} -.article .title a { +a:hover, +.exampleHeading .text { text-decoration: none; } diff --git a/godoc/static/style.css b/godoc/static/style.css index f65a09c7..752d03bb 100644 --- a/godoc/static/style.css +++ b/godoc/static/style.css @@ -48,16 +48,15 @@ body { a, .exampleHeading .text { color: #375EAB; - text-decoration: none; } -a:hover, +a, .exampleHeading .text:hover { text-decoration: underline; + -webkit-text-decoration: skip; + text-decoration-skip: ink; } -.article a { - text-decoration: underline; -} -.article .title a { +a:hover, +.exampleHeading .text { text-decoration: none; }