about summary refs log tree commit homepage
path: root/lib/PublicInbox/UserContent.pm
diff options
authorEric Wong <e@80x24.org>2020-09-09 20:24:55 +0000
committerEric Wong <e@80x24.org>2020-09-09 20:56:37 +0000
commit3f0cbf20d0d811482fa48dd601c9d0ce90082e63 (patch)
tree97f4873979d0f446d1e182b0bcd34e41473f318a /lib/PublicInbox/UserContent.pm
parent2f61828fcb727e51cb0a10eea4fee65e9e866ba6 (diff)
contrib/css: limit <a> coloring to links, only
We don't want <a> tags without href= attributes to be colored,
since the `<a id=mirror>' tag in the HTML footer is intended
as an anchor destination for `<a href=#mirror>' link at the
Diffstat (limited to 'lib/PublicInbox/UserContent.pm')
1 files changed, 1 insertions, 1 deletions
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 */