From 4e83100c599c933f49188cc82621bc9c3cbc9867 Mon Sep 17 00:00:00 2001 From: Chris Broadfoot Date: Thu, 5 Jan 2017 19:19:54 -0800 Subject: [PATCH] static: add underlines back to links in blog body Specifically restricted to the "article" class, which is only used on the blog. Fixes golang/go#18302. Change-Id: I5988c3df70f0de93d77544edf091640b0c5df30c Reviewed-on: https://go-review.googlesource.com/34828 Reviewed-by: Brad Fitzpatrick --- godoc/static/static.go | 6 ++++++ godoc/static/style.css | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/godoc/static/static.go b/godoc/static/static.go index 0ee57620..05916bf7 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -2878,6 +2878,12 @@ a:hover, .exampleHeading .text:hover { text-decoration: underline; } +.article a { + text-decoration: underline; +} +.article .title a { + text-decoration: none; +} .permalink { display: none; diff --git a/godoc/static/style.css b/godoc/static/style.css index 958f0146..ba457a1a 100644 --- a/godoc/static/style.css +++ b/godoc/static/style.css @@ -48,6 +48,12 @@ a:hover, .exampleHeading .text:hover { text-decoration: underline; } +.article a { + text-decoration: underline; +} +.article .title a { + text-decoration: none; +} .permalink { display: none;