From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 2E5C51F453 for ; Mon, 29 Apr 2019 01:26:09 +0000 (UTC) From: Eric Wong To: Subject: [PATCH] dark216: disable text decoration on tags Date: Mon, 29 Apr 2019 01:26:09 +0000 Message-Id: <20190429012609.21242-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Color-capable displays do not need text-decoration (the common default being underlines) to distinguish hyperlinks. Furthermore, underlines add visual noise which makes it tough to distinguish certain characters (e.g. 'i' vs 'j', 'L' vs '|'). This also saves a small amount of energy on OLEDs and CRTs since there's fewer pixels lit ;> --- lib/dark216.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dark216.rb b/lib/dark216.rb index a01584c..2a20fe1 100644 --- a/lib/dark216.rb +++ b/lib/dark216.rb @@ -23,7 +23,7 @@ class Dark216 < Oldweb STYLE = <<''.gsub(/^\s*/m, '').delete!("\n") # :nodoc: @media screen { *{background:#000;color:#ccc} - a{color:#69f} + a{color:#69f;text-decoration:none} a:visited{color:#96f} } @media screen AND (prefers-color-scheme:light) { -- EW