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