From 35ab40179d6fb3d3e7fe5e419d63f26e3ad5e5d7 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 8 Sep 2015 18:50:17 -0700 Subject: [PATCH] gitweb.css: fine tune link colors for pod people That silly pod doc producer likes to create link anchors using tags with name attributes but no href attributes. These are not clickable! Avoid coloring them like clickable links. Only color links with an href attribute like they are clickable because only they are. Signed-off-by: Kyle J. McKay --- gitweb/static/gitweb.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index 24e08723ae..e489927cd7 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -8,11 +8,15 @@ body { color: #000000; } -a { +a, a:hover, a:visited, a:active { + color: #000000; +} + +a[href] { color: #0000cc; } -a:hover, a:visited, a:active { +a[href]:hover, a[href]:visited, a[href]:active { color: #880000; } -- 2.11.4.GIT