Bug 186858

Summary: improve handbook ToC readability
Product: Documentation Reporter: Allan Jude <freebsd>
Component: Books & ArticlesAssignee: Warren Block <wblock>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Allan Jude 2014-02-18 05:30:00 UTC
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.

Fix: Patch Attached

Patch attached with submission follows:
Comment 1 Warren Block freebsd_committer freebsd_triage 2014-02-18 20:50:49 UTC
Responsible Changed
From-To: freebsd-doc->wblock

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-24 20:06:21 UTC
Author: wblock
Date: Mon Feb 24 20:06:13 2014
New Revision: 44049
URL: http://svnweb.freebsd.org/changeset/doc/44049

Log:
  Improve XHTML table of contents readability by reducing vertical spacing
  and using slightly larger fonts for headings.
  
  PR:		docs/186858
  Submitted by:	Allan Jude <freebsd@allanjude.com>

Modified:
  head/share/misc/docbook.css

Modified: head/share/misc/docbook.css
==============================================================================
--- head/share/misc/docbook.css	Mon Feb 24 18:27:01 2014	(r44048)
+++ head/share/misc/docbook.css	Mon Feb 24 20:06:13 2014	(r44049)
@@ -120,19 +120,26 @@ body div {
 }
 
 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;
-}
+	width: 1em;}
 
 div.calloutlist dd {
 	clear: right;
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
Comment 3 Warren Block freebsd_committer freebsd_triage 2014-02-24 20:06:27 UTC
State Changed
From-To: open->closed

Committed, thanks!