docs/186857: improve handbook ToC readability

Allan Jude freebsd at allanjude.com
Tue Feb 18 05:30:01 UTC 2014


>Number:         186857
>Category:       docs
>Synopsis:       improve handbook ToC readability
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 18 05:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Allan Jude
>Release:        9.2-RELEASE
>Organization:
ScaleEngine Inc.
>Environment:
FreeBSD Trooper.HML3.ScaleEngine.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Improve the readability of the Table of Contents of the FreeBSD Handbook by applying colours to links.

Until now the handbook has had no style on links, resulting in the default bright blue / purple link colours.

Apply style to make the colours a little less jaring and easier to read, also makes the page not look like it is from 1994.


Borrowed the colour codes from http://en.wikipedia.org/wiki/Help:Link_color since these seem to be what people will expect
>How-To-Repeat:

>Fix:
Patch Attached

Patch attached with submission follows:

Index: share/misc/docbook.css
===================================================================
--- share/misc/docbook.css	(revision 43975)
+++ share/misc/docbook.css	(working copy)
@@ -34,6 +34,12 @@
   font-weight: bold;
 }
 
+/* Copied from http://en.wikipedia.org/wiki/Help:Link_color */
+a:link                          { color:#0645AD; text-decoration: underline; }
+a:visited                       { color:#663366; text-decoration: underline; }
+a:hover                         { color:#663366; text-decoration: underline; }
+a:active                        { color:#663366; text-decoration: underline; }
+
 div.blockquote-title {
   font-weight: bold;
   margin-top: 1em;


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


More information about the freebsd-doc mailing list