From 3f0cbf20d0d811482fa48dd601c9d0ce90082e63 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 9 Sep 2020 20:24:55 +0000 Subject: contrib/css: limit coloring to links, only We don't want tags without href= attributes to be colored, since the `' tag in the HTML footer is intended as an anchor destination for `' link at the top. --- lib/PublicInbox/UserContent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/UserContent.pm') diff --git a/lib/PublicInbox/UserContent.pm b/lib/PublicInbox/UserContent.pm index b6b43900..789da2f1 100644 --- a/lib/PublicInbox/UserContent.pm +++ b/lib/PublicInbox/UserContent.pm @@ -23,7 +23,7 @@ sub CSS () { * Underlined links add visual noise which make them hard-to-read. * Use colors to make them stand out, instead. */ - a { color:#69f !important; text-decoration:none !important } + a:link { color:#69f !important; text-decoration:none !important } a:visited { color:#96f !important } /* quoted text in emails gets a different color */ -- cgit v1.2.3-24-ge0c7