docs/186858: improve handbook ToC readability

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


>Number:         186858
>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 decreasing the amount of whitespace between items.

Also increase the font size of the section titles slightly, as they are the same size as the ToC items.

>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)
@@ -120,15 +126,23 @@
 }
 
 dl {
-	margin: .8em 0;
+	margin: .4em 0 0 0;
 	line-height: 1.2;
 }
 
 dt {
 	font-weight: bold;
-	margin-top: 1em;
+	margin: 0.4em 0 0 0;
 }
 
+div.abstract div.abstract-title,
+div.toc div.toc-title,
+div.list-of-figures div.toc-title,
+div.list-of-tables div.toc-title,
+div.list-of-examples div.toc-title {
+	font-size: 115%;
+}
+
 div.calloutlist dt {
 	float: left;
 	width: 1em;


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


More information about the freebsd-doc mailing list