=================================================================== RCS file: /cvs/mandoc/Attic/example.style.css,v retrieving revision 1.26 retrieving revision 1.30 diff -u -p -r1.26 -r1.30 --- mandoc/Attic/example.style.css 2010/12/15 17:21:24 1.26 +++ mandoc/Attic/example.style.css 2010/12/17 08:17:40 1.30 @@ -1,22 +1,32 @@ -/* $Id: example.style.css,v 1.26 2010/12/15 17:21:24 kristaps Exp $ */ +/* $Id: example.style.css,v 1.30 2010/12/17 08:17:40 kristaps Exp $ */ html { min-width: 580px; width: 580px; } - body { font-family: monospace; } -/* Sections. */ +/* Preamble structure. */ -div.sec-head { font-style: normal; font-weight: bold; } /* Sections (Sh). */ -div.sec-body { } -div.sec-block { } +table.foot { width: 100%; } /* Document footer. */ +td.foot-date { width: 50%; } /* Document footer: date. */ +td.foot-os { width: 50%; text-align: right; } /* Document footer: OS. */ +table.head { width: 100%; } /* 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. */ -div.ssec-head { font-style: normal; font-weight: bold; } /* Sub-sections (Ss). */ -div.ssec-body { } -div.ssec-block { } +/* Sections. */ +h1 { font-size: medium; margin-left: -4ex; } /* Section header (Sh, SH). */ +h2 { font-size: medium; margin-left: -2ex; } /* Sub-section header (Ss, SS). */ +div.section { margin-bottom: 3ex; margin-left: 4ex; } /* Sections (Sh, SH). */ +div.subsection { } /* Sub-sections (Ss, SS). */ +table.synopsis { } /* SYNOPSIS section table. */ +table.synopsis td { vertical-align: top; } /* SYNOPSIS section table. */ + /* Vertical spacing. */ p { } /* Paragraph: Pp, Lp. */ +blockquote { margin-top: 0px; margin-bottom: 0px; } +table { margin-top: 0px; margin-bottom: 0px; } /* General font modes. */ @@ -76,9 +86,6 @@ a.link-man { } /* Manual links (Xr). */ a.link-ref { } /* Reference section links (%Q). */ a.link-sec { } /* Section links (Sx). */ -table.footer { } /* Document footer. */ -table.header { } /* Document header. */ - /* Formatting for lists. */ dl.list-diag { } @@ -95,7 +102,7 @@ dd.list-inset { } dl.list-ohang { } dt.list-ohang { } -dd.list-ohang { } +dd.list-ohang { margin-left: 0em; } dl.list-tag { } dt.list-tag { } @@ -105,17 +112,17 @@ table.list-col { } tr.list-col { } td.list-col { } -ul.list-bul { } +ul.list-bul { list-style-type: disc; padding-left: 1em; } li.list-bul { } -ul.list-dash { } -li.list-dash { } +ul.list-dash { list-style-type: none; padding-left: 0em; } +li.list-dash:before { content: "\2014 "; } -ul.list-hyph { } -li.list-hyph { } +ul.list-hyph { list-style-type: none; padding-left: 0em; } +li.list-hyph:before { content: "\2013 "; } -ul.list-item { } +ul.list-item { list-style-type: none; padding-left: 0em; } li.list-item { } -ol.list-enum { } +ol.list-enum { padding-left: 2em; } li.list-enum { }