Date: Sun, 3 Jun 2007 13:13:38 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: www@freebsd.org Subject: query-pr.css enhancements Message-ID: <20070603130752.O38838@maildrop.int.zabbadoz.net>
next in thread | raw e-mail | index | archive | help
Hi, I wondered why the patches inside PRs are not printed with a monospace font and checked the style sheet. The following wasn't tested but: a) W3 suggestes to quote Font name with spaces like "Times New Roman" b) Who thought that a browser running on FreeBSD would know "Courier New"? At least my firefox only lists Courier. c) Add the predefined generic font family 'monospace' so that a browser would know what to possibly fall back to. I hope that this will give more people <pre>-style patches even with the other formating by <span>-tags. If you are ok with that (you will possibly do more testing than I did) you may also want to check other style sheets for similar changes. Greetings bz@ --- query-pr.css.orig Sun Jun 3 13:05:17 2007 +++ query-pr.css Sun Jun 3 13:06:20 2007 @@ -29,7 +29,7 @@ */ pre { - font-family: Courier New; + font-family: "Courier New", Courier, monospace; font-size: 100%; white-space: pre; margin-top: 0px; @@ -79,7 +79,7 @@ td { } .patchblock .info { background-color: #ACACAA; } .patchblock .content { - font-family: Courier New; + font-family: "Courier New", Courier, monospace; white-space: pre; } -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070603130752.O38838>