=================================================================== RCS file: /cvs/mandoc/Attic/example.style.css,v retrieving revision 1.22 retrieving revision 1.24 diff -u -p -r1.22 -r1.24 --- mandoc/Attic/example.style.css 2010/12/15 15:32:01 1.22 +++ mandoc/Attic/example.style.css 2010/12/15 16:08:18 1.24 @@ -1,8 +1,9 @@ -/* $Id: example.style.css,v 1.22 2010/12/15 15:32:01 kristaps Exp $ */ +/* $Id: example.style.css,v 1.24 2010/12/15 16:08:18 kristaps Exp $ */ -div.body { font-family: monospace; - min-width: 580px; width: 580px; } /* Top-most div tag. */ +html { min-width: 580px; width: 580px; } +body { font-family: monospace; } + div.sec-head { font-weight: bold; font-style: normal; } /* Sections (Sh). */ div.sec-body { } div.sec-block { } @@ -11,6 +12,12 @@ div.ssec-head { font-weight: bold; font-style: normal; div.ssec-body { } div.ssec-block { } +/* General font modes. */ + +.lit { } /* "Literal" text: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */ + +/* Context-specific modes. */ + span.addr { font-style: italic; font-weight: normal; } /* Address (Ad). */ span.arg { font-style: italic; font-weight: normal; } /* Command argument (Ar). */ span.author { } /* Author name (An). */ @@ -31,7 +38,6 @@ span.ftype { font-style: italic; font-weight: normal; span.includes { font-weight: bold; font-style: normal; } /* Header includes (In). */ span.italic { font-style: italic; font-weight: normal; } /* Generically italic (BI, IB, I). */ span.lib { } /* Library (Lb). */ -span.lit { } /* Literals (Bf -literal). */ span.macro { font-weight: bold; font-style: normal; } /* Macro-ish thing (Fd). */ span.name { font-weight: bold; font-style: normal; } /* Name of utility (Nm). */ span.opt { } /* Options (Op, Oo/Oc). */ @@ -65,7 +71,6 @@ a.link-ref { } /* Reference section links (%Q). */ a.link-sec { } /* Section links (Sx). */ div.emph { font-style: italic; font-weight: normal; } /* Emphasis (Bl -emphasis). */ -div.lit { } /* Literal (D1, Bd -literal, Dl, Bd -literal). */ div.symb { font-weight: bold; font-style: normal; } /* Symbols (Bl -symbolic). */ table.footer { } /* Document footer. */