=================================================================== RCS file: /cvs/mandoc/Attic/example.style.css,v retrieving revision 1.42 retrieving revision 1.43 diff -u -p -r1.42 -r1.43 --- mandoc/Attic/example.style.css 2011/02/09 09:52:47 1.42 +++ mandoc/Attic/example.style.css 2011/04/11 22:58:28 1.43 @@ -1,4 +1,4 @@ -/* $Id: example.style.css,v 1.42 2011/02/09 09:52:47 kristaps Exp $ */ +/* $Id: example.style.css,v 1.43 2011/04/11 22:58:28 kristaps Exp $ */ /* * This is an example style-sheet provided for mandoc(1) and the -Thtml @@ -11,32 +11,26 @@ html { min-width: 580px; width: 580px; } body { font-family: monospace; } +h1 { margin-bottom: 0ex; font-size: inherit; margin-left: -4ex; } /* Section header (Sh, SH). */ +h2 { margin-bottom: 0ex; font-size: inherit; margin-left: -2ex; } /* Sub-section header (Ss, SS). */ +table { width: 100%; margin-top: 0ex; margin-bottom: 0ex; } /* All tables. */ +td { vertical-align: top; } /* All table cells. */ +p { } /* Paragraph: Pp, Lp. */ +blockquote { margin-top: 0ex; margin-bottom: 0ex; } /* D1. */ +div.section { margin-bottom: 2ex; margin-left: 5ex; } /* Sections (Sh, SH). */ +div.subsection { } /* Sub-sections (Ss, SS). */ +table.synopsis { } /* SYNOPSIS section table. */ /* Preamble structure. */ -table.foot { width: 100%; } /* Document footer. */ +table.foot { } /* Document footer. */ td.foot-date { width: 50%; } /* Document footer: date. */ td.foot-os { width: 50%; text-align: right; } /* Document footer: OS/source. */ -table.head { width: 100%; } /* Document header. */ +table.head { } /* Document header. */ td.head-ltitle { width: 10%; } /* Document header: left-title. */ td.head-vol { width: 80%; text-align: center; } /* Document header: volume. */ td.head-rtitle { width: 10%; text-align: right; } /* Document header: right-title. */ -/* Sections. */ - -h1 { margin-bottom: 0px; font-size: medium; margin-left: -4ex; } /* Section header (Sh, SH). */ -h2 { margin-bottom: 0px; font-size: medium; margin-left: -2ex; } /* Sub-section header (Ss, SS). */ -div.section { margin-bottom: 2ex; margin-left: 4ex; } /* Sections (Sh, SH). */ -div.subsection { } /* Sub-sections (Ss, SS). */ -table.synopsis { } /* SYNOPSIS section table. */ - -/* Vertical spacing. */ - -p { } /* Paragraph: Pp, Lp. */ -blockquote { margin-top: 0px; margin-bottom: 0px; } -table { margin-top: 0px; margin-bottom: 0px; } -td { vertical-align: top; } - /* General font modes. */ i { } /* Italic: BI, IB, I, (implicit). */ @@ -116,7 +110,7 @@ dd.list-inset { } dl.list-ohang { } dt.list-ohang { } -dd.list-ohang { margin-left: 0em; } +dd.list-ohang { margin-left: 0ex; } dl.list-tag { } dt.list-tag { }