www/151438: query-cgi use monospace font

Marcin Wisnicki mwisnicki+freebsd at gmail.com
Wed Oct 13 22:50:06 UTC 2010


>Number:         151438
>Category:       www
>Synopsis:       query-cgi use monospace font
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 13 22:50:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Wisnicki
>Release:        
>Organization:
>Environment:
>Description:
Given technical nature of most problem reports, using proportional font is a really bad choice. It makes most messages hard to read and some of them (logs, code snippets) a complete mess.
>How-To-Repeat:

>Fix:
Add to www/en/layout/css/query-pr.css:

.mfield {
  font-family: Consolas,"Courier New",Courier,monospace;
}

Or to keep headers in proportional:

.replyblock, .patchblock, .auditblock {
  font-family: verdana, sans-serif;
}
.mfield, .replyblock tr:last-child {
  font-family: Consolas,"Courier New",Courier,monospace;
}

Also, preppend Consolas before 'Courier New' because it's so much nicer (on Win7):

pre, .patchblock .content {
  font-family: Consolas,"Courier New",Courier,monospace;
}

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-www mailing list