Date: Sun, 2 Feb 2014 21:58:21 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: freebsd-doc@FreeBSD.org Subject: Improving callout lists in HTML (CSS) Message-ID: <alpine.BSF.2.00.1402022150320.19166@wonkity.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
The attached patch, created with the help of Allan Jude, tightens up the
spacing in HTML callout lists, making them easier to read.
After applying it, I did not see any problems with the callout lists in
the Handbook.
Unless problems are reported, I'll commit it in a day or two.
[-- Attachment #2 --]
Index: share/misc/docbook.css
===================================================================
--- share/misc/docbook.css (revision 43727)
+++ share/misc/docbook.css (working copy)
@@ -139,6 +139,17 @@
margin-bottom: 1ex;
}
+body .calloutlist td {
+ padding-right: 0.5em;
+ width: auto;
+}
+
+body .calloutlist td p {
+ line-height: 1.2;
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
body form {
margin: .6em 0;
}
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1402022150320.19166>
