[PATCH 3/3] css: force text color to black on decorations

Ferry Huberts mailings at hupie.com
Tue Mar 6 23:26:07 CET 2012


From: Ferry Huberts <ferry.huberts at pelagic.nl>

improves readability when embedding into a page that
has the text color set to a different color

Signed-off-by: Ferry Huberts <ferry.huberts at pelagic.nl>
---
 cgit.css |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/cgit.css b/cgit.css
index 51b04fe..8ecb73f 100644
--- a/cgit.css
+++ b/cgit.css
@@ -582,24 +582,28 @@ div#cgit div.footer {
 	color: #ccc;
 }
 div#cgit a.branch-deco {
+	color: #000;
 	margin: 0px 0.5em;
 	padding: 0px 0.25em;
 	background-color: #88ff88;
 	border: solid 1px #007700;
 }
 div#cgit a.tag-deco {
+	color: #000;
 	margin: 0px 0.5em;
 	padding: 0px 0.25em;
 	background-color: #ffff88;
 	border: solid 1px #777700;
 }
 div#cgit a.remote-deco {
+	color: #000;
 	margin: 0px 0.5em;
 	padding: 0px 0.25em;
 	background-color: #ccccff;
 	border: solid 1px #000077;
 }
 div#cgit a.deco {
+	color: #000;
 	margin: 0px 0.5em;
 	padding: 0px 0.25em;
 	background-color: #ff8888;
-- 
1.7.7.6





More information about the CGit mailing list