Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 14:42:14 +0000 (UTC)
From:      Warren Block <wblock@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r42347 - head/share/misc
Message-ID:  <201307211442.r6LEgEl2053770@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wblock
Date: Sun Jul 21 14:42:14 2013
New Revision: 42347
URL: http://svnweb.freebsd.org/changeset/doc/42347

Log:
  Enhancements of the CSS.  Reduce indents, add spacing between table
  columns, make admonishments a bit wider.  Thanks to Allan Jude and db@
  for help with this.
  
  Reviewed by:	gabor

Modified:
  head/share/misc/docbook.css

Modified: head/share/misc/docbook.css
==============================================================================
--- head/share/misc/docbook.css	Sun Jul 21 14:36:42 2013	(r42346)
+++ head/share/misc/docbook.css	Sun Jul 21 14:42:14 2013	(r42347)
@@ -187,7 +187,7 @@ body img.navheader {
 }
 
 ol {
-	margin: 0 0 0 5%;
+	margin: 0 0 0 1em;
 	line-height: 1.2;
 }
 
@@ -199,10 +199,11 @@ body pre {
 
 body td, body th {
 	line-height: 1.2;
+	padding-right: 1.5em;
 }
 
 ul, body dir, body menu {
-	margin: 0 0 0 5%;
+	margin: 0 0 0 1em;
 	line-height: 1.2;
 }
 
@@ -263,7 +264,7 @@ div.programlisting {
 .note, .tip, .important, .warning, .caution, .example, div.procedure {
 	border-radius: 6px;
 	padding: 2ex 2ex;
-	margin: .75em 3em .75em 3em;
+	margin: .75em 3em .75em 1em;
         line-height: 1.3;
 }
 
@@ -271,14 +272,14 @@ div.programlisting {
 	color: #222;
 	background: #eee;
 	border: 1px solid #ccc;
-	width: 85%;
+	width: 90%;
 }
 
 .tip {
 	color: #004F00;
 	background: #d8ecd6;
 	border: 1px solid green;
-	width: 85%;
+	width: 90%;
 }
 
 .important {
@@ -291,14 +292,14 @@ div.programlisting {
 	color: #9F1313;
 	background: #f8e8e8;
 	border: 1px solid #e59595;
-	width: 85%;
+	width: 90%;
 }
 
 .caution {
 	color: #3E3535;
 	background: #FFC;
 	border: 1px solid #e59595;
-	width: 85%;
+	width: 90%;
 }
 
 .example {
@@ -345,3 +346,8 @@ div.programlisting {
 pre.screen strong {
 	font-weight: normal;
 }
+
+.procedure ol {
+	line-height: 1.2;
+	margin: 0 0 0 -1em;
+}



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