From 935fcc9ca5a814298402a71b5827c82ebc3c5734 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 29 Apr 2019 01:20:43 +0000 Subject: dark216: disable text decoration on tags 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) { -- cgit v1.2.3-24-ge0c7