freebsd.org web site fonts

Václav Zeman vhaisman at gmail.com
Tue Dec 17 22:55:45 UTC 2013


Hi.

I have always found the fonts on the FreeBSD web site to be too small.
Today, after some experimentation, I have come up with the attached
patch to the global.css that makes the site reasonably readable for me.
I have added some fonts selection changes as well.

-- 
VZ

-------------- next part --------------
Index: global.css
===================================================================
--- global.css	(revision 43344)
+++ global.css	(working copy)
@@ -7,8 +7,8 @@
 body {
   margin: 0;
   padding: 0;
-  font-family: verdana, sans-serif;
-  font-size: 69%;
+  font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Geneva, sans-serif;
+  font-size: 100%;
   color: #000;
   background: #fff url("../images/hdr_fill.png") repeat-x;
 }
@@ -71,13 +71,13 @@
 }
 
 pre {
-  font-family: monospace;
-  font-size: 1.4em;
+  font-family: "DejaVu Sans Mono", "Lucida Console", "Liberation Mono", Monaco, monospace;
+  font-size: 1.2em;
 }
 
 tt {
-  font-family: monospace;
-  font-size: 1.4em;
+  font-family:  "DejaVu Sans Mono", "Lucida Console", "Liberation Mono", Monaco, monospace;
+  font-size: 1.0em;
 }
 
 strong, b {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20131217/e1c507f3/attachment.sig>


More information about the freebsd-doc mailing list