[PATCH 1/1] css: replace icon for external link with one from wikipedia

Christian Hesse list at eworm.de
Tue Feb 23 11:38:11 CET 2016


From: Christian Hesse <mail at eworm.de>

This file is licensed with GPLv2 or later, so we should be fine
using it.

https://commons.wikimedia.org/wiki/File:Icon_External_Link.png
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..2826c8f 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=);
+	/* https://upload.wikimedia.org/wikipedia/commons/6/64/Icon_External_Link.png */
+	content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAV0lEQVR4Xq2QwQ2AAAwC3cmd2Kk7sRP64CEJ9qOX8OPatMc/QKppnEPhTmJh23CLiwAqIw21CybKQ28qQi37WGFYBJcwfJQpP8LlEHKyZMF0IdmF13zlAjZ/6H4wb+mUAAAAAElFTkSuQmCC);
 	margin: 0 0 0 5px;
 }
 
-- 
2.7.1



More information about the CGit mailing list