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