user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH] contrib/css: limit <a> coloring to links, only
Date: Wed,  9 Sep 2020 20:24:55 +0000	[thread overview]
Message-ID: <20200909202455.9326-1-e@80x24.org> (raw)

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 */

             reply	other threads:[~2020-09-09 20:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-09 20:24 Eric Wong [this message]
2020-09-09 20:56 ` [SQUASH] update UserContent.pm for CSS change Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200909202455.9326-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

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).