=================================================================== RCS file: /cvs/mandoc/Attic/example.style.css,v retrieving revision 1.25 retrieving revision 1.34 diff -u -p -r1.25 -r1.34 --- mandoc/Attic/example.style.css 2010/12/15 16:22:22 1.25 +++ mandoc/Attic/example.style.css 2010/12/17 13:03:32 1.34 @@ -1,19 +1,33 @@ -/* $Id: example.style.css,v 1.25 2010/12/15 16:22:22 kristaps Exp $ */ +/* $Id: example.style.css,v 1.34 2010/12/17 13:03:32 kristaps Exp $ */ html { min-width: 580px; width: 580px; } - body { font-family: monospace; } +/* Preamble structure. */ + +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/source. */ +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. */ + /* Sections. */ -div.sec-head { font-style: normal; font-weight: bold; } /* Sections (Sh). */ -div.sec-body { } -div.sec-block { } +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. */ +table.synopsis td { vertical-align: top; } /* SYNOPSIS section table. */ -div.ssec-head { font-style: normal; font-weight: bold; } /* Sub-sections (Ss). */ -div.ssec-body { } -div.ssec-block { } +/* Vertical spacing. */ +p { } /* Paragraph: Pp, Lp. */ +blockquote { margin-top: 0px; margin-bottom: 0px; } +table { margin-top: 0px; margin-bottom: 0px; } + /* General font modes. */ .lit { font-style: normal; font-weight: normal; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */ @@ -22,7 +36,13 @@ div.ssec-block { } .bold { font-style: normal; font-weight: bold; } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */ .symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */ .roman { font-style: normal; font-weight: normal; } /* Roman: (implicit). */ +.small { font-style: normal; font-weight: normal; font-size: smaller; } /* Small: SB, SM. */ +/* Block modes. */ + +.display { } /* Top of all Bd, D1, Dl. */ +.list { } /* Top of all Bl. */ + /* Context-specific modes. */ span.addr { font-style: italic; font-weight: normal; } /* Address (Ad). */ @@ -59,7 +79,6 @@ span.ref-corp { } /* Reference corporate/foreign autho span.ref-rep { } /* Reference report (%R). */ span.ref-title { text-decoration: underline; } /* Reference title (%T). */ span.ref-vol { } /* Reference volume (%V). */ -span.small { font-size: smaller; } /* Generically small (SB, SM). */ span.type { font-style: italic; font-weight: normal; } /* Variable types (Vt). */ span.unix { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */ span.utility { font-style: normal; font-weight: bold; } /* Name of utility (Ex). */ @@ -72,9 +91,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 { } @@ -91,7 +107,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 { } @@ -101,17 +117,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 { }