]> Lady’s Gitweb - Gitweb/commit
gitweb: Do not use absolute font sizes
authorPetr Baudis <redacted>
Wed, 9 May 2007 01:41:50 +0000 (03:41 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit9a440da9df4548adb90d120e8857eebf4faa11ac793a19e00a42eb616a666b1c
treead8577cc45b755af82934421e08c8304b2ed112782140ea1ee336286a5f12f26
parent34ad37e62846aad75906720a7c8c2aec8cf4f105ed784fea75bc5a0a6845b798
gitweb: Do not use absolute font sizes

Avoid specifying font sizes in pixels, since that is just pure evil.
Pointed out by Chris Riddoch.

Note that this is pretty much just a proposal; I didn't test if everything
fits perfectly right, but things seem to be pretty much okay. repo.or.cz
uses it now as a test drive - if you find any visual quirks, please point
them out, with a patch if possible since I'm total CSS noob and debugging
CSS is an extremely painful experience for me.

Note that this patch actually does change visual look of gitweb in Firefox
with my resolution and default settings - everything is bigger and I can't
explain the joy of actually seeing gitweb text that is in _readable_ size;
also, my horizontal screen real estate feels better used now. But judging
from the look of most modern webpages on the 'net, most people prefer
reading the web with strained eyes and/or a magnifying glass (I wonder what
species of scientists should look into this mystifying phenomenon) - so,
please tell us what you think.

Maybe we might want to get rid of absolute sizes other than font sizes in
the CSS file too in the long term.

Signed-off-by: Petr Baudis <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.css
This page took 0.287253 seconds and 4 git commands to generate.