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