diff options
author | Eric Wong <e@80x24.org> | 2020-09-09 20:24:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-09-09 20:56:37 +0000 |
commit | 3f0cbf20d0d811482fa48dd601c9d0ce90082e63 (patch) | |
tree | 97f4873979d0f446d1e182b0bcd34e41473f318a /lib/PublicInbox | |
parent | 2f61828fcb727e51cb0a10eea4fee65e9e866ba6 (diff) | |
download | public-inbox-3f0cbf20d0d811482fa48dd601c9d0ce90082e63.tar.gz |
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 top.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/UserContent.pm | 2 |
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 */ |