unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] contrib/css: limit <a> coloring to links, only
@ 2020-09-09 20:24 Eric Wong
  2020-09-09 20:56 ` [SQUASH] update UserContent.pm for CSS change Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2020-09-09 20:24 UTC (permalink / raw)
  To: meta

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.
---
 contrib/css/216dark.css  | 2 +-
 contrib/css/216light.css | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/css/216dark.css b/contrib/css/216dark.css
index 6fc6cfe7..02804cbd 100644
--- a/contrib/css/216dark.css
+++ b/contrib/css/216dark.css
@@ -11,7 +11,7 @@
  * Underlined links add visual noise which make them hard-to-read.
  * Use colors to make them stand out, instead.
  */
-a { color:#69f; text-decoration:none }
+a:link { color:#69f; text-decoration:none }
 a:visited { color:#96f }
 
 /* quoted text in emails gets a different color */
diff --git a/contrib/css/216light.css b/contrib/css/216light.css
index 559a6b74..c66cfdfe 100644
--- a/contrib/css/216light.css
+++ b/contrib/css/216light.css
@@ -10,7 +10,7 @@
  * Underlined links add visual noise which make them hard-to-read.
  * Use colors to make them stand out, instead.
  */
-a { color:#00f; text-decoration:none }
+a:link { color:#00f; text-decoration:none }
 a:visited { color:#808 }
 
 /* quoted text gets a different color */

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-09 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-09 20:24 [PATCH] contrib/css: limit <a> coloring to links, only Eric Wong
2020-09-09 20:56 ` [SQUASH] update UserContent.pm for CSS change Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).