=================================================================== RCS file: /cvs/mandoc/Attic/example.style.css,v retrieving revision 1.26 retrieving revision 1.29 diff -u -p -r1.26 -r1.29 --- mandoc/Attic/example.style.css 2010/12/15 17:21:24 1.26 +++ mandoc/Attic/example.style.css 2010/12/17 01:02:00 1.29 @@ -1,19 +1,22 @@ -/* $Id: example.style.css,v 1.26 2010/12/15 17:21:24 kristaps Exp $ */ +/* $Id: example.style.css,v 1.29 2010/12/17 01:02:00 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.footer { } /* Document footer. */ +table.header { } /* Document header. */ -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. */ @@ -76,9 +79,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 +95,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 +105,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 { }