From 9b61fcc4c548d69663d915801fc4b42a43b6cd9c Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Tue, 24 Oct 2017 20:47:09 +0000 Subject: [PATCH] Revert "godoc: better distinguish links and link state" This reverts commit 9bd2f442688b66c5289262d70f537c2ecf81d7de. Reason for revert: https://github.com/golang/go/issues/22171#issuecomment-339125376 Update golang/go#22171 Change-Id: I41da526912b3484721782e0dad02d97ab2845a12 Reviewed-on: https://go-review.googlesource.com/73151 Reviewed-by: Andrew Bonventre --- godoc/static/static.go | 15 ++++++++------- godoc/static/style.css | 15 ++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/godoc/static/static.go b/godoc/static/static.go index c16cc4fd..b41e9110 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -2925,15 +2925,16 @@ body { a, .exampleHeading .text { color: #375EAB; -} -a, -.exampleHeading .text:hover { - text-decoration: underline; - -webkit-text-decoration: skip; - text-decoration-skip: ink; + text-decoration: none; } a:hover, -.exampleHeading .text { +.exampleHeading .text:hover { + text-decoration: underline; +} +.article a { + text-decoration: underline; +} +.article .title a { text-decoration: none; } diff --git a/godoc/static/style.css b/godoc/static/style.css index 6367b61e..036e4177 100644 --- a/godoc/static/style.css +++ b/godoc/static/style.css @@ -48,15 +48,16 @@ body { a, .exampleHeading .text { color: #375EAB; -} -a, -.exampleHeading .text:hover { - text-decoration: underline; - -webkit-text-decoration: skip; - text-decoration-skip: ink; + text-decoration: none; } a:hover, -.exampleHeading .text { +.exampleHeading .text:hover { + text-decoration: underline; +} +.article a { + text-decoration: underline; +} +.article .title a { text-decoration: none; }