=================================================================== RCS file: /cvs/mandoc/Attic/example.style.css,v retrieving revision 1.25 retrieving revision 1.28 diff -u -p -r1.25 -r1.28 --- mandoc/Attic/example.style.css 2010/12/15 16:22:22 1.25 +++ mandoc/Attic/example.style.css 2010/12/17 00:18:29 1.28 @@ -1,19 +1,19 @@ -/* $Id: example.style.css,v 1.25 2010/12/15 16:22:22 kristaps Exp $ */ +/* $Id: example.style.css,v 1.28 2010/12/17 00:18:29 kristaps Exp $ */ html { min-width: 580px; width: 580px; } - body { font-family: monospace; } /* Sections. */ -div.sec-head { font-style: normal; font-weight: bold; } /* Sections (Sh). */ -div.sec-body { } -div.sec-block { } +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). */ -div.ssec-head { font-style: normal; font-weight: bold; } /* Sub-sections (Ss). */ -div.ssec-body { } -div.ssec-block { } +/* Vertical spacing. */ +p { } /* Paragraph: Pp, Lp. */ + /* General font modes. */ .lit { font-style: normal; font-weight: normal; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */ @@ -22,6 +22,7 @@ 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. */ /* Context-specific modes. */ @@ -59,7 +60,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). */ @@ -91,7 +91,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 +101,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 { }