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

John Keeping john at keeping.me.uk
Tue Feb 23 11:07:07 CET 2016


On Tue, Feb 23, 2016 at 10:47:25AM +0100, Christian Hesse wrote:
> 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.

What's the licensing status of individual glyphs from Font Awesome?
IANAL but my reading of the OFL is that it's not compatible with the
GPL.

The nice thing about the icon from Wikipedia is that it's already
licensed under the GPLv2 so we don't have to worry about whether it's
compatible (although it might be a good idea to credit the source in a
comment).

> 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;
>  }
>  


More information about the CGit mailing list