Annotation of mandoc/example.style.css, Revision 1.27
1.27 ! kristaps 1: /* $Id: example.style.css,v 1.26 2010/12/15 17:21:24 kristaps Exp $ */
1.19 kristaps 2:
1.23 kristaps 3: html { min-width: 580px; width: 580px; }
4:
5: body { font-family: monospace; }
1.1 kristaps 6:
1.25 kristaps 7: /* Sections. */
8:
9: div.sec-head { font-style: normal; font-weight: bold; } /* Sections (Sh). */
1.1 kristaps 10: div.sec-body { }
11: div.sec-block { }
12:
1.25 kristaps 13: div.ssec-head { font-style: normal; font-weight: bold; } /* Sub-sections (Ss). */
1.1 kristaps 14: div.ssec-body { }
15: div.ssec-block { }
16:
1.26 kristaps 17: /* Vertical spacing. */
18:
19: p { } /* Paragraph: Pp, Lp. */
20:
1.24 kristaps 21: /* General font modes. */
22:
1.25 kristaps 23: .lit { font-style: normal; font-weight: normal; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
24: .italic { font-style: italic; font-weight: normal; } /* Italic: BI, IB, I, (implicit). */
25: .emph { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
26: .bold { font-style: normal; font-weight: bold; } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
27: .symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
28: .roman { font-style: normal; font-weight: normal; } /* Roman: (implicit). */
1.26 kristaps 29: .small { font-style: normal; font-weight: normal; font-size: smaller; } /* Small: SB, SM. */
1.24 kristaps 30:
31: /* Context-specific modes. */
32:
1.21 kristaps 33: span.addr { font-style: italic; font-weight: normal; } /* Address (Ad). */
1.16 kristaps 34: span.arg { font-style: italic; font-weight: normal; } /* Command argument (Ar). */
1.1 kristaps 35: span.author { } /* Author name (An). */
1.25 kristaps 36: span.cmd { font-style: normal; font-weight: bold; } /* Command (Cm). */
37: span.config { font-style: normal; font-weight: bold; } /* Config statement (Cd). */
1.1 kristaps 38: span.define { } /* Defines (Dv). */
39: span.desc { } /* Nd. After em-dash. */
1.25 kristaps 40: span.diag { font-style: normal; font-weight: bold; } /* Diagnostic (Bl -diag). */
1.1 kristaps 41: span.env { } /* Environment variables (Ev). */
42: span.errno { } /* Error string (Er). */
1.16 kristaps 43: span.farg { font-style: italic; font-weight: normal; } /* Function argument (Fa, Fn). */
44: span.file { font-style: italic; font-weight: normal; } /* File (Pa). */
1.25 kristaps 45: span.flag { font-style: normal; font-weight: bold; } /* Flag (Fl, Cm). */
46: span.fname { font-style: normal; font-weight: bold; } /* Function name (Fa, Fn, Rv). */
1.16 kristaps 47: span.ftype { font-style: italic; font-weight: normal; } /* Function types (Ft, Fn). */
1.25 kristaps 48: span.includes { font-style: normal; font-weight: bold; } /* Header includes (In). */
1.7 kristaps 49: span.lib { } /* Library (Lb). */
1.25 kristaps 50: span.macro { font-style: normal; font-weight: bold; } /* Macro-ish thing (Fd). */
51: span.name { font-style: normal; font-weight: bold; } /* Name of utility (Nm). */
1.1 kristaps 52: span.opt { } /* Options (Op, Oo/Oc). */
1.9 kristaps 53: span.ref { } /* Citations (Rs). */
1.10 kristaps 54: span.ref-auth { } /* Reference author (%A). */
1.16 kristaps 55: span.ref-book { font-style: italic; font-weight: normal; } /* Reference book (%B). */
1.10 kristaps 56: span.ref-city { } /* Reference city (%C). */
57: span.ref-date { } /* Reference date (%D). */
1.16 kristaps 58: span.ref-issue { font-style: italic; font-weight: normal; } /* Reference issuer/publisher (%I). */
59: span.ref-jrnl { font-style: italic; font-weight: normal; } /* Reference journal (%J). */
1.10 kristaps 60: span.ref-num { } /* Reference number (%N). */
61: span.ref-opt { } /* Reference optionals (%O). */
62: span.ref-page { } /* Reference page (%P). */
63: span.ref-corp { } /* Reference corporate/foreign author (%Q). */
64: span.ref-rep { } /* Reference report (%R). */
1.20 kristaps 65: span.ref-title { text-decoration: underline; } /* Reference title (%T). */
1.10 kristaps 66: span.ref-vol { } /* Reference volume (%V). */
1.16 kristaps 67: span.type { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
1.1 kristaps 68: span.unix { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
1.25 kristaps 69: span.utility { font-style: normal; font-weight: bold; } /* Name of utility (Ex). */
70: span.var { font-style: normal; font-weight: bold; } /* Variables (Rv). */
1.1 kristaps 71:
1.8 kristaps 72: a.link-ext { } /* Off-site link (Lk). */
1.11 kristaps 73: a.link-includes { } /* Include-file link (In). */
1.8 kristaps 74: a.link-mail { } /* Mailto links (Mt). */
1.1 kristaps 75: a.link-man { } /* Manual links (Xr). */
1.14 kristaps 76: a.link-ref { } /* Reference section links (%Q). */
1.1 kristaps 77: a.link-sec { } /* Section links (Sx). */
78:
1.8 kristaps 79: table.footer { } /* Document footer. */
1.1 kristaps 80: table.header { } /* Document header. */
1.22 kristaps 81:
82: /* Formatting for lists. */
83:
84: dl.list-diag { }
85: dt.list-diag { }
86: dd.list-diag { }
87:
88: dl.list-hang { }
89: dt.list-hang { }
90: dd.list-hang { }
91:
92: dl.list-inset { }
93: dt.list-inset { }
94: dd.list-inset { }
95:
96: dl.list-ohang { }
97: dt.list-ohang { }
1.27 ! kristaps 98: dd.list-ohang { margin-left: 0em; }
1.22 kristaps 99:
100: dl.list-tag { }
101: dt.list-tag { }
102: dd.list-tag { }
103:
104: table.list-col { }
105: tr.list-col { }
106: td.list-col { }
107:
1.27 ! kristaps 108: ul.list-bul { list-style-type: disc; padding-left: 1em; }
1.22 kristaps 109: li.list-bul { }
110:
1.27 ! kristaps 111: ul.list-dash { list-style-type: none; padding-left: 0em; }
! 112: li.list-dash:before { content: "\2014 "; }
1.22 kristaps 113:
1.27 ! kristaps 114: ul.list-hyph { list-style-type: none; padding-left: 0em; }
! 115: li.list-hyph:before { content: "\2013 "; }
1.22 kristaps 116:
1.27 ! kristaps 117: ul.list-item { list-style-type: none; padding-left: 0em; }
1.22 kristaps 118: li.list-item { }
119:
1.27 ! kristaps 120: ol.list-enum { padding-left: 2em; }
1.22 kristaps 121: li.list-enum { }
CVSweb