git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: Update logo and favicon

From
Tony Finch <dot@dotat.at>
Date
Apr 13, 2015, 09:52 UTC
Message-ID
<alpine.LSU.2.00.1504131033420.23307@hermes-1.csi.cam.ac.uk>
In-Reply-To
<1428882040-13938-1-git-send-email-thosch97@gmail.com>
Thomas Schneider <thosch97@gmail.com> wrote:
Show 6 quoted lines
> The new images were downloaded from https://git-scm.herokuapp.com/downloads/logos
> and converted with ImageMagick:
>   convert -resize 72x30 Git-Logo-2Color.eps git-logo.png
>   convert -resize 16x16 Git-Icon-1788C.eps git-favicon.png
> The old logo was only 27 pixels in height, the 3 additional pixels are necessary
> for the slightly different aspect ratio of the new one.

This is a good improvement :-) I did something similar for the logos on my installation of gitweb, including exactly the same command to create the favicon.

https://git.csx.cam.ac.uk/x/ucs/git/gitcam.git/blob/HEAD:/bin/make-icons.sh

I think it is a bad idea to change the height of the logo: gitweb generates an <img src> element with a fixed 72x27 size, and the gitweb.conf documentation suggests that site admins can replace the logo with a custom one of the same size. My version of the new logo includes a bit of horizontal padding so that it matches this specification.

(The higher-resolution icons are used by my server's documentation pages but not by gitweb.)

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Humber, Thames: Northwest backing south or southwest later, 4 or 5,
occasionally 6 later. Slight or moderate. Fair. Moderate or good.
Previous: Thomas Schneider
Message 2 of 2 in “gitweb: Update logo and favicon”
  1. gitweb: Update logo and faviconThomas Schneider, Apr 12, 2015
  2. Tony FinchApr 13, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.