[PATCH 1/1] css: use less blurry icon for external link

Christian Hesse list at eworm.de
Tue Feb 23 10:47:25 CET 2016


From: Christian Hesse <mail at eworm.de>

Your mileage may vary, but for me the old icon looks blurry. The new
one is character 0xf08e from OTF font awsome in size 10.
The icon color is black, gray level is adjusted via opacity.

Signed-off-by: Christian Hesse <mail at eworm.de>
---
 cgit.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cgit.css b/cgit.css
index 50f6587..f6f6e7c 100644
--- a/cgit.css
+++ b/cgit.css
@@ -86,7 +86,8 @@ div#cgit table.tabs td a.active {
 }
 
 div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after {
-	content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAAnNCSVQICFXsRgQAAAAJcEhZcwAAABQAAAAUAVyMgXwAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAeklEQVQI12NoYCu3q3ABwXL98vTy/0D4jaF8XXldRRoYejAwlu8BCTOU72SAg4q08j/le0GC22BC5anlfyrSGBiBGCZYllz+pywLJg8WLOMtf1GeCjRgI5IgSBhMboUIHq40r1CCQrfyDRAV6uXdZTMhsKKlVIIBFwAAVeg4KFYK95cAAAAASUVORK5CYII=);
+	content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIXCQ0GPoJtkwAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAg0lEQVQY05XPsQkCQRSE4e9OY61Ae7AGAxMT7cKKrgIrUMFMA8HUAuzAxAKUNdmFx7EX+KJhZvh50xi+JTZZvxusscMolG7Y44p5MU8YV4gzPJGQ2iw+ldIFLyzwgOMA6Y5JMdteaRpIK2xjGIlNHlZI5xL0RyR0IfvG4qHyZ6F3/r0fA3QYU9MQfpcAAAAASUVORK5CYII=);
+	opacity: 0.5;
 	margin: 0 0 0 5px;
 }
 
-- 
2.7.1



More information about the CGit mailing list