1 /* $Id: mandoc.css,v 1.36 2018/07/23 22:51:26 schwarze Exp $ */
3 * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
8 html { max-width: 65em; }
9 body { font-family: Helvetica,Arial,sans-serif; }
10 table { margin-top: 0em;
12 td { vertical-align: top; }
13 ul, ol, dl { margin-top: 0em;
15 li, dt { margin-top: 1em; }
17 .permalink { border-bottom: thin dotted;
20 text-decoration: inherit; }
23 /* Search form and search results. */
25 fieldset { border: thin solid silver;
31 table.results { margin-top: 1em;
35 /* Header and footer lines. */
37 table.head { width: 100%;
38 border-bottom: 1px dotted #808080;
41 td.head-vol { text-align: center; }
45 table.foot { width: 100%;
46 border-top: 1px dotted #808080;
49 td.foot-os { text-align: right; }
51 /* Sections and paragraphs. */
55 .Nd { display: inline; }
56 .Sh { margin-top: 1.2em;
60 .Ss { margin-top: 1.2em;
64 .Pp { margin: 0.6em 0em; }
68 /* Displays and lists. */
71 .Bd-indent { margin-left: 3.8em; }
73 .Bl-bullet { list-style-type: disc;
76 .Bl-dash { list-style-type: none;
78 .Bl-dash > li:before {
80 .Bl-item { list-style-type: none;
86 .Bl-enum { padding-left: 2em; }
100 margin-left: 5.5em; }
109 .Bl-tag { margin-left: 5.5em; }
114 padding-right: 1.2em;
115 vertical-align: top; }
127 .Bl-column > tbody > tr { }
128 .Bl-column > tbody > tr > td {
130 .Bl-compact > tbody > tr > td {
133 .Rs { font-style: normal;
134 font-weight: normal; }
136 .RsB { font-style: italic;
137 font-weight: normal; }
140 .RsI { font-style: italic;
141 font-weight: normal; }
142 .RsJ { font-style: italic;
143 font-weight: normal; }
149 .RsT { text-decoration: underline; }
156 .HP { margin-left: 3.8em;
157 text-indent: -3.8em; }
159 /* Semantic markup for command line utilities. */
162 code.Nm { font-style: normal;
164 font-family: inherit; }
165 .Fl { font-style: normal;
167 font-family: inherit; }
168 .Cm { font-style: normal;
170 font-family: inherit; }
171 .Ar { font-style: italic;
172 font-weight: normal; }
173 .Op { display: inline; }
174 .Ic { font-style: normal;
176 font-family: inherit; }
177 .Ev { font-style: normal;
179 font-family: monospace; }
180 .Pa { font-style: italic;
181 font-weight: normal; }
183 /* Semantic markup for function libraries. */
186 code.In { font-style: normal;
188 font-family: inherit; }
190 .Fd { font-style: normal;
192 font-family: inherit; }
193 .Ft { font-style: italic;
194 font-weight: normal; }
195 .Fn { font-style: normal;
197 font-family: inherit; }
198 .Fa { font-style: italic;
199 font-weight: normal; }
200 .Vt { font-style: italic;
201 font-weight: normal; }
202 .Va { font-style: italic;
203 font-weight: normal; }
204 .Dv { font-style: normal;
206 font-family: monospace; }
207 .Er { font-style: normal;
209 font-family: monospace; }
211 /* Various semantic markup. */
216 .Cd { font-style: normal;
218 font-family: inherit; }
219 .Ad { font-style: italic;
220 font-weight: normal; }
221 .Ms { font-style: normal;
226 /* Physical markup. */
228 .Bf { display: inline; }
229 .No { font-style: normal;
230 font-weight: normal; }
231 .Em { font-style: italic;
232 font-weight: normal; }
233 .Sy { font-style: normal;
235 .Li { font-style: normal;
237 font-family: monospace; }
239 /* Overrides to avoid excessive margins on small devices. */
241 @media (max-width: 37.5em) {
243 margin-left: 0.5em; }
244 .Sh, .Ss { margin-left: 0em; }
245 .Bd-indent { margin-left: 2em; }
248 .Bl-tag { margin-left: 2em; }
251 .HP { margin-left: 2em;