]> git.cameronkatri.com Git - mandoc.git/blob - mandoc.css
Use <span> for .Ad rather than <i>; also suggested by John Gardner.
[mandoc.git] / mandoc.css
1 /* $Id: mandoc.css,v 1.28 2018/05/21 00:30:23 schwarze Exp $ */
2 /*
3 * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
4 */
5
6 /* Global defaults. */
7
8 html { max-width: 100ex; }
9 body { font-family: Helvetica,Arial,sans-serif; }
10 table { margin-top: 0em;
11 margin-bottom: 0em; }
12 td { vertical-align: top; }
13 ul, ol, dl { margin-top: 0em;
14 margin-bottom: 0em; }
15 li, dt { margin-top: 1em; }
16
17 a.permalink { border-bottom: thin dotted;
18 color: inherit;
19 font: inherit;
20 text-decoration: inherit; }
21 * { clear: both }
22
23 /* Search form and search results. */
24
25 fieldset { border: thin solid silver;
26 border-radius: 1em;
27 text-align: center; }
28 input[name=expr] {
29 width: 25%; }
30
31 table.results { margin-top: 1em;
32 margin-left: 2em;
33 font-size: smaller; }
34
35 /* Header and footer lines. */
36
37 table.head { width: 100%;
38 border-bottom: 1px dotted #808080;
39 margin-bottom: 1em;
40 font-size: smaller; }
41 td.head-vol { text-align: center; }
42 td.head-rtitle {
43 text-align: right; }
44 div.Nd { display: inline; }
45
46 table.foot { width: 100%;
47 border-top: 1px dotted #808080;
48 margin-top: 1em;
49 font-size: smaller; }
50 td.foot-os { text-align: right; }
51
52 /* Sections and paragraphs. */
53
54 div.manual-text {
55 margin-left: 5ex; }
56 h1.Sh { margin-top: 2ex;
57 margin-bottom: 1ex;
58 margin-left: -4ex;
59 font-size: 110%; }
60 h2.Ss { margin-top: 2ex;
61 margin-bottom: 1ex;
62 margin-left: -2ex;
63 font-size: 105%; }
64 div.Pp { margin: 1ex 0ex; }
65 a.Sx { }
66 a.Xr { }
67
68 /* Displays and lists. */
69
70 div.Bd { }
71 div.D1 { margin-left: 5ex; }
72
73 ul.Bl-bullet { list-style-type: disc;
74 padding-left: 1em; }
75 ul.Bl-bullet > li { }
76 ul.Bl-dash { list-style-type: none;
77 padding-left: 0em; }
78 ul.Bl-dash > li:before {
79 content: "\2014 "; }
80 ul.Bl-item { list-style-type: none;
81 padding-left: 0em; }
82 ul.Bl-item > li { }
83 ul.Bl-compact > li {
84 margin-top: 0ex; }
85
86 ol.Bl-enum { padding-left: 2em; }
87 ol.Bl-enum > li { }
88 ol.Bl-compact > li {
89 margin-top: 0ex; }
90
91 dl.Bl-diag { }
92 dl.Bl-diag > dt {
93 font-style: normal;
94 font-weight: bold; }
95 dl.Bl-diag > dd {
96 margin-left: 0ex; }
97 dl.Bl-hang { }
98 dl.Bl-hang > dt { }
99 dl.Bl-hang > dd {
100 margin-left: 10.2ex; }
101 dl.Bl-inset { }
102 dl.Bl-inset > dt { }
103 dl.Bl-inset > dd {
104 margin-left: 0ex; }
105 dl.Bl-ohang { }
106 dl.Bl-ohang > dt { }
107 dl.Bl-ohang > dd {
108 margin-left: 0ex; }
109 dl.Bl-tag { margin-left: 10.2ex; }
110 dl.Bl-tag > dt {
111 float: left;
112 margin-top: 0ex;
113 margin-left: -10.2ex;
114 padding-right: 2ex;
115 vertical-align: top; }
116 dl.Bl-tag > dd {
117 clear: right;
118 width: 100%;
119 margin-top: 0ex;
120 margin-left: 0ex;
121 vertical-align: top;
122 overflow: auto; }
123 dl.Bl-compact > dt {
124 margin-top: 0ex; }
125
126 table.Bl-column { }
127 table.Bl-column > tbody > tr { }
128 table.Bl-column > tbody > tr > td {
129 margin-top: 1em; }
130 table.Bl-compact > tbody > tr > td {
131 margin-top: 0ex; }
132
133 cite.Rs { font-style: normal;
134 font-weight: normal; }
135 span.RsA { }
136 i.RsB { font-weight: normal; }
137 span.RsC { }
138 span.RsD { }
139 i.RsI { font-weight: normal; }
140 i.RsJ { font-weight: normal; }
141 span.RsN { }
142 span.RsO { }
143 span.RsP { }
144 span.RsQ { }
145 span.RsR { }
146 span.RsT { text-decoration: underline; }
147 a.RsU { }
148 span.RsV { }
149
150 span.eqn { }
151 table.tbl { }
152
153 /* Semantic markup for command line utilities. */
154
155 table.Nm { }
156 code.Nm { font-style: normal;
157 font-weight: bold;
158 font-family: inherit; }
159 code.Fl { font-style: normal;
160 font-weight: bold;
161 font-family: inherit; }
162 code.Cm { font-style: normal;
163 font-weight: bold;
164 font-family: inherit; }
165 var.Ar { font-style: italic;
166 font-weight: normal; }
167 div.Op { display: inline; }
168 code.Ic { font-style: normal;
169 font-weight: bold;
170 font-family: inherit; }
171 code.Ev { font-style: normal;
172 font-weight: normal;
173 font-family: monospace; }
174 span.Pa { font-style: italic;
175 font-weight: normal; }
176
177 /* Semantic markup for function libraries. */
178
179 span.Lb { }
180 code.In { font-style: normal;
181 font-weight: bold;
182 font-family: inherit; }
183 a.In { }
184 code.Fd { font-style: normal;
185 font-weight: bold;
186 font-family: inherit; }
187 var.Ft { font-style: italic;
188 font-weight: normal; }
189 code.Fn { font-style: normal;
190 font-weight: bold;
191 font-family: inherit; }
192 var.Fa { font-style: italic;
193 font-weight: normal; }
194 var.Vt { font-style: italic;
195 font-weight: normal; }
196 var.Va { font-style: italic;
197 font-weight: normal; }
198 code.Dv { font-style: normal;
199 font-weight: normal;
200 font-family: monospace; }
201 code.Er { font-style: normal;
202 font-weight: normal;
203 font-family: monospace; }
204
205 /* Various semantic markup. */
206
207 span.An { }
208 a.Lk { }
209 a.Mt { }
210 code.Cd { font-style: normal;
211 font-weight: bold;
212 font-family: inherit; }
213 span.Ad { font-style: italic;
214 font-weight: normal; }
215 b.Ms { font-style: normal; }
216 span.St { }
217 a.Ux { }
218
219 /* Physical markup. */
220
221 .Bf { display: inline; }
222 .No { font-style: normal;
223 font-weight: normal; }
224 .Em { font-style: italic;
225 font-weight: normal; }
226 .Sy { font-style: normal;
227 font-weight: bold; }
228 .Li { font-style: normal;
229 font-weight: normal;
230 font-family: monospace; }