From owner-freebsd-www@FreeBSD.ORG Sun Jun 3 13:47:09 2007 Return-Path: X-Original-To: www@freebsd.org Delivered-To: freebsd-www@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D790A16A41F for ; Sun, 3 Jun 2007 13:47:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC2313C43E for ; Sun, 3 Jun 2007 13:47:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 262DB1FFF02 for ; Sun, 3 Jun 2007 15:15:10 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id BD98F1FFED4; Sun, 3 Jun 2007 15:15:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id C26E5444885 for ; Sun, 3 Jun 2007 13:13:38 +0000 (UTC) Date: Sun, 3 Jun 2007 13:13:38 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: www@freebsd.org Message-ID: <20070603130752.O38838@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: Subject: query-pr.css enhancements X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 13:47:09 -0000 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
-style patches even with
the other formating by -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