New coal theme for hgweb

Jens Alfke jens at mooseyard.com
Wed Apr 2 05:58:01 UTC 2008


On 1 Apr '08, at 7:17 AM, Matt Mackall wrote:

> You mean the entire page isn't sans-serif?

Nope. In Safari 3.1 on Mac OS X 10.5, pretty much the whole page is in  
Baskerville (my default browser font).

[downloads stylesheet]

OK, this is because in your CSS style for the body you have:
	font-family: sans;
There's no such thing as "sans" ... it should be "sans-serif". You're  
probably seeing it in sans-serif because you have a sans-serif font  
set as the default in your browser. I see it in serif because that's  
my default.

But on the other hand, I don't think you should fix this to force a  
font. I like the fact that you're actually respecting the user's font  
preference — hardly any sites do anymore. For really design-intensive  
sites it makes sense for the designer to choose a font, but the layout  
here is really clean and basic, so I don't think that's necessary.  
(Plus, I think it looks really good in serif.)

—Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1875 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080401/c205ab39/attachment-0001.p7s>


More information about the Mercurial mailing list