Annotation of mandoc/mandoc.css, Revision 1.5
1.5 ! schwarze 1: /* $Id: mandoc.css,v 1.4 2017/01/19 14:29:53 schwarze Exp $ */
1.1 schwarze 2: /*
1.3 schwarze 3: * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
1.1 schwarze 4: */
5:
1.3 schwarze 6: /* Global defaults. */
7:
8: html { max-width: 100ex; }
9: body { font-family: Helvetica,Arial,sans-serif; }
1.4 schwarze 10: table { width: 100%;
11: margin-top: 0ex;
12: margin-bottom: 0ex; }
13: td { vertical-align: top; }
1.3 schwarze 14:
15: /* Search form and search results. */
16:
17: fieldset { border: thin solid silver;
18: border-radius: 1em;
19: text-align: center; }
20: input[name=expr] {
21: width: 25%; }
22:
23: div.results { margin-top: 1em;
24: margin-left: 2em;
25: font-size: smaller; }
26:
1.4 schwarze 27: /* Header and footer lines. */
28:
29: table.head { border-bottom: 1px dotted #808080;
30: margin-bottom: 1em;
31: font-size: smaller; }
32: td.head-vol { text-align: center; }
33: td.head-rtitle {
34: text-align: right; }
35:
36: table.foot { border-top: 1px dotted #808080;
37: margin-top: 1em;
38: font-size: smaller; }
39: td.foot-date { width: 50%; }
40: td.foot-os { width: 50%;
41: text-align: right; }
42:
1.5 ! schwarze 43: /* Sections and paragraphs. */
! 44:
! 45: div.manual-text {
! 46: margin-left: 5ex; }
! 47: h1.Sh { margin-top: 2ex;
! 48: margin-bottom: 1ex;
! 49: margin-left: -4ex;
! 50: font-size: 110%; }
! 51: h2.Ss { margin-top: 2ex;
! 52: margin-bottom: 1ex;
! 53: margin-left: -2ex;
! 54: font-size: 105%; }
! 55: div.Pp { margin: 1ex 0ex; }
1.3 schwarze 56:
1.4 schwarze 57:
1.1 schwarze 58: blockquote { margin-left: 5ex; margin-top: 0ex; margin-bottom: 0ex; } /* D1. */
59: table.synopsis { } /* SYNOPSIS section table. */
60:
61: /* General font modes. */
62:
63: i { } /* Italic: BI, IB, I, (implicit). */
64: .emph { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
65: b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
66: .symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
67: small { } /* Small: SB, SM. */
68: .lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */
69:
70: /* Block modes. */
71:
72: .display { } /* Top of all Bd, D1, Dl. */
73: .list { } /* Top of all Bl. */
74:
75: /* Context-specific modes. */
76:
77: i.addr { font-weight: normal; } /* Address (Ad). */
78: i.arg { font-weight: normal; } /* Command argument (Ar). */
79: span.author { } /* Author name (An). */
80: b.cmd { font-style: normal; } /* Command (Cm). */
81: b.config { font-style: normal; } /* Config statement (Cd). */
82: span.define { } /* Defines (Dv). */
83: span.desc { } /* Nd. After em-dash. */
84: b.diag { font-style: normal; } /* Diagnostic (Bl -diag). */
85: span.env { } /* Environment variables (Ev). */
86: span.errno { } /* Error string (Er). */
87: i.farg { font-weight: normal; } /* Function argument (Fa, Fn). */
88: i.file { font-weight: normal; } /* File (Pa). */
89: b.flag { font-style: normal; } /* Flag (Fl, Cm). */
90: b.fname { font-style: normal; } /* Function name (Fa, Fn, Rv). */
91: i.ftype { font-weight: normal; } /* Function types (Ft, Fn). */
92: b.includes { font-style: normal; } /* Header includes (In). */
93: span.lib { } /* Library (Lb). */
94: i.link-sec { font-weight: normal; } /* Section links (Sx). */
95: b.macro { font-style: normal; } /* Macro-ish thing (Fd). */
96: b.name { font-style: normal; } /* Name of utility (Nm). */
97: span.opt { } /* Options (Op, Oo/Oc). */
98: span.ref { } /* Citations (Rs). */
99: span.ref-auth { } /* Reference author (%A). */
100: i.ref-book { font-weight: normal; } /* Reference book (%B). */
101: span.ref-city { } /* Reference city (%C). */
102: span.ref-date { } /* Reference date (%D). */
103: i.ref-issue { font-weight: normal; } /* Reference issuer/publisher (%I). */
104: i.ref-jrnl { font-weight: normal; } /* Reference journal (%J). */
105: span.ref-num { } /* Reference number (%N). */
106: span.ref-opt { } /* Reference optionals (%O). */
107: span.ref-page { } /* Reference page (%P). */
108: span.ref-corp { } /* Reference corporate/foreign author (%Q). */
109: span.ref-rep { } /* Reference report (%R). */
110: span.ref-title { text-decoration: underline; } /* Reference title (%T). */
111: span.ref-vol { } /* Reference volume (%V). */
112: span.type { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
113: span.unix { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
114: b.utility { font-style: normal; } /* Name of utility (Ex). */
115: b.var { font-style: normal; } /* Variables (Rv). */
116:
117: a.link-ext { } /* Off-site link (Lk). */
118: a.link-includes { } /* Include-file link (In). */
119: a.link-mail { } /* Mailto links (Mt). */
120: a.link-man { } /* Manual links (Xr). */
121: a.link-ref { } /* Reference section links (%Q). */
122: a.link-sec { } /* Section links (Sx). */
123:
124: /* Formatting for lists. See mdoc(7). */
125:
126: dl.list-diag { }
127: dt.list-diag { }
128: dd.list-diag { }
129:
130: dl.list-hang { }
131: dt.list-hang { }
132: dd.list-hang { }
133:
134: dl.list-inset { }
135: dt.list-inset { }
136: dd.list-inset { }
137:
138: dl.list-ohang { }
139: dt.list-ohang { }
140: dd.list-ohang { margin-left: 0ex; }
141:
142: dl.list-tag { }
143: dt.list-tag { }
144: dd.list-tag { }
145:
146: table.list-col { }
147: tr.list-col { }
148: td.list-col { }
149:
150: ul.list-bul { list-style-type: disc; padding-left: 1em; }
151: li.list-bul { }
152:
153: ul.list-dash { list-style-type: none; padding-left: 0em; }
154: li.list-dash:before { content: "\2014 "; }
155:
156: ul.list-hyph { list-style-type: none; padding-left: 0em; }
157: li.list-hyph:before { content: "\2013 "; }
158:
159: ul.list-item { list-style-type: none; padding-left: 0em; }
160: li.list-item { }
161:
162: ol.list-enum { padding-left: 2em; }
163: li.list-enum { }
164:
165: /* Equation modes. See eqn(7). */
166:
167: span.eqn { }
168:
169: /* Table modes. See tbl(7). */
170:
171: table.tbl { }
CVSweb