Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 05:27:45 GMT
From:      Allan Jude <freebsd@allanjude.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/186857: improve handbook ToC readability
Message-ID:  <201402180527.s1I5RjXK023429@cgiserv.freebsd.org>
Resent-Message-ID: <201402180530.s1I5U0e2089735@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402180527.s1I5RjXK023429>