131 span.oldmarker { font-size: 1.2em; font-weight: bold; }
132 a.print {display: none}
133 hr { border: none 0; border-top: 1px solid #aaa; height: 1px; }
134 </style>
135 '
136
137 #
138 # UDiffs need a slightly different CSS rule for 'new' items (we don't
139 # want them to be bolded as we do in cdiffs or sdiffs).
140 #
141 UDIFFCSS='
142 <style type="text/css" media="screen">
143 span.new {
144 color: blue;
145 font-weight: normal;
146 }
147 </style>
148 '
149
150 # CSS for the HTML version of the man pages.
151 # Current version is from mandoc 1.14.2.
152 MANCSS='
153 html { max-width: 100ex; }
154 body { font-family: Helvetica,Arial,sans-serif; }
155 table { margin-top: 0em; margin-bottom: 0em; }
156 td { vertical-align: top; }
157 ul, ol, dl { margin-top: 0em; margin-bottom: 0em; }
158 li, dt { margin-top: 1em; }
159 a.selflink { border-bottom: thin dotted; color: inherit; font: inherit;
160 text-decoration: inherit; }
161 fieldset { border: thin solid silver; border-radius: 1em; text-align: center; }
162 input[name=expr] { width: 25%; }
163 table.results { margin-top: 1em; margin-left: 2em; font-size: smaller; }
164 table.head { width: 100%; border-bottom: 1px dotted #808080; margin-bottom: 1em;
165 font-size: smaller; }
166 td.head-vol { text-align: center; }
167 td.head-rtitle { text-align: right; }
168 span.Nd { }
169 table.foot { width: 100%; border-top: 1px dotted #808080; margin-top: 1em;
170 font-size: smaller; }
171 td.foot-os { text-align: right; }
172 div.manual-text { margin-left: 5ex; }
173 h1.Sh { margin-top: 2ex; margin-bottom: 1ex; margin-left: -4ex;
174 font-size: 110%; }
175 h2.Ss { margin-top: 2ex; margin-bottom: 1ex; margin-left: -2ex;
176 font-size: 105%; }
177 div.Pp { margin: 1ex 0ex; }
178 a.Sx { }
179 a.Xr { }
180 div.Bd { }
181 div.D1 { margin-left: 5ex; }
182 ul.Bl-bullet { list-style-type: disc; padding-left: 1em; }
183 li.It-bullet { }
184 ul.Bl-dash { list-style-type: none; padding-left: 0em; }
185 li.It-dash:before { content: "\2014 "; }
186 ul.Bl-item { list-style-type: none; padding-left: 0em; }
187 li.It-item { }
188 ul.Bl-compact > li { margin-top: 0ex; }
189 ol.Bl-enum { padding-left: 2em; }
190 li.It-enum { }
191 ol.Bl-compact > li { margin-top: 0ex; }
192 dl.Bl-diag { }
193 dt.It-diag { }
194 dd.It-diag { margin-left: 0ex; }
195 b.It-diag { font-style: normal; }
196 dl.Bl-hang { }
197 dt.It-hang { }
198 dd.It-hang { margin-left: 10.2ex; }
199 dl.Bl-inset { }
200 dt.It-inset { }
201 dd.It-inset { margin-left: 0ex; }
202 dl.Bl-ohang { }
203 dt.It-ohang { }
204 dd.It-ohang { margin-left: 0ex; }
205 dl.Bl-tag { margin-left: 10.2ex; }
206 dt.It-tag { float: left; margin-top: 0ex; margin-left: -10.2ex;
207 padding-right: 2ex; vertical-align: top; }
208 dd.It-tag { clear: right; width: 100%; margin-top: 0ex; margin-left: 0ex;
209 vertical-align: top; overflow: auto; }
210 dl.Bl-compact > dt { margin-top: 0ex; }
211 table.Bl-column { }
212 tr.It-column { }
213 td.It-column { margin-top: 1em; }
214 table.Bl-compact > tbody > tr > td { margin-top: 0ex; }
215 cite.Rs { font-style: normal; font-weight: normal; }
216 span.RsA { }
217 i.RsB { font-weight: normal; }
218 span.RsC { }
219 span.RsD { }
220 i.RsI { font-weight: normal; }
221 i.RsJ { font-weight: normal; }
222 span.RsN { }
223 span.RsO { }
224 span.RsP { }
225 span.RsQ { }
226 span.RsR { }
227 span.RsT { text-decoration: underline; }
228 a.RsU { }
229 span.RsV { }
230 span.eqn { }
231 table.tbl { }
232 table.Nm { }
233 b.Nm { font-style: normal; }
234 b.Fl { font-style: normal; }
235 b.Cm { font-style: normal; }
236 var.Ar { font-style: italic; font-weight: normal; }
237 span.Op { }
238 b.Ic { font-style: normal; }
239 code.Ev { font-style: normal; font-weight: normal; font-family: monospace; }
240 i.Pa { font-weight: normal; }
241 span.Lb { }
242 b.In { font-style: normal; }
243 a.In { }
244 b.Fd { font-style: normal; }
245 var.Ft { font-style: italic; font-weight: normal; }
246 b.Fn { font-style: normal; }
247 var.Fa { font-style: italic; font-weight: normal; }
248 var.Vt { font-style: italic; font-weight: normal; }
249 var.Va { font-style: italic; font-weight: normal; }
250 code.Dv { font-style: normal; font-weight: normal; font-family: monospace; }
251 code.Er { font-style: normal; font-weight: normal; font-family: monospace; }
252 span.An { }
253 a.Lk { }
254 a.Mt { }
255 b.Cd { font-style: normal; }
256 i.Ad { font-weight: normal; }
257 b.Ms { font-style: normal; }
258 span.St { }
259 a.Ux { }
260 .No { font-style: normal; font-weight: normal; }
261 .Em { font-style: italic; font-weight: normal; }
262 .Sy { font-style: normal; font-weight: bold; }
263 .Li { font-style: normal; font-weight: normal; font-family: monospace; }
264 '
265
266 #
267 # Display remote target with prefix and trailing slash.
268 #
269 function print_upload_header
270 {
271 typeset -r prefix=$1
272 typeset display_target
273
274 if [[ -z $tflag ]]; then
275 display_target=${prefix}${remote_target}
276 else
277 display_target=${remote_target}
278 fi
279
280 if [[ ${display_target} != */ ]]; then
281 display_target=${display_target}/
282 fi
283
|
131 span.oldmarker { font-size: 1.2em; font-weight: bold; }
132 a.print {display: none}
133 hr { border: none 0; border-top: 1px solid #aaa; height: 1px; }
134 </style>
135 '
136
137 #
138 # UDiffs need a slightly different CSS rule for 'new' items (we don't
139 # want them to be bolded as we do in cdiffs or sdiffs).
140 #
141 UDIFFCSS='
142 <style type="text/css" media="screen">
143 span.new {
144 color: blue;
145 font-weight: normal;
146 }
147 </style>
148 '
149
150 # CSS for the HTML version of the man pages.
151 # Current version is from mandoc 1.14.4.
152 MANCSS='
153 /* $Id: mandoc.css,v 1.36 2018/07/23 22:51:26 schwarze Exp $ */
154 /*
155 * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
156 */
157
158 /* Global defaults. */
159
160 html { max-width: 65em; }
161 body { font-family: Helvetica,Arial,sans-serif; }
162 table { margin-top: 0em;
163 margin-bottom: 0em; }
164 td { vertical-align: top; }
165 ul, ol, dl { margin-top: 0em;
166 margin-bottom: 0em; }
167 li, dt { margin-top: 1em; }
168
169 .permalink { border-bottom: thin dotted;
170 color: inherit;
171 font: inherit;
172 text-decoration: inherit; }
173 * { clear: both }
174
175 /* Search form and search results. */
176
177 fieldset { border: thin solid silver;
178 border-radius: 1em;
179 text-align: center; }
180 input[name=expr] {
181 width: 25%; }
182
183 table.results { margin-top: 1em;
184 margin-left: 2em;
185 font-size: smaller; }
186
187 /* Header and footer lines. */
188
189 table.head { width: 100%;
190 border-bottom: 1px dotted #808080;
191 margin-bottom: 1em;
192 font-size: smaller; }
193 td.head-vol { text-align: center; }
194 td.head-rtitle {
195 text-align: right; }
196
197 table.foot { width: 100%;
198 border-top: 1px dotted #808080;
199 margin-top: 1em;
200 font-size: smaller; }
201 td.foot-os { text-align: right; }
202
203 /* Sections and paragraphs. */
204
205 .manual-text {
206 margin-left: 3.8em; }
207 .Nd { display: inline; }
208 .Sh { margin-top: 1.2em;
209 margin-bottom: 0.6em;
210 margin-left: -3.2em;
211 font-size: 110%; }
212 .Ss { margin-top: 1.2em;
213 margin-bottom: 0.6em;
214 margin-left: -1.2em;
215 font-size: 105%; }
216 .Pp { margin: 0.6em 0em; }
217 .Sx { }
218 .Xr { }
219
220 /* Displays and lists. */
221
222 .Bd { }
223 .Bd-indent { margin-left: 3.8em; }
224
225 .Bl-bullet { list-style-type: disc;
226 padding-left: 1em; }
227 .Bl-bullet > li { }
228 .Bl-dash { list-style-type: none;
229 padding-left: 0em; }
230 .Bl-dash > li:before {
231 content: "\2014 "; }
232 .Bl-item { list-style-type: none;
233 padding-left: 0em; }
234 .Bl-item > li { }
235 .Bl-compact > li {
236 margin-top: 0em; }
237
238 .Bl-enum { padding-left: 2em; }
239 .Bl-enum > li { }
240 .Bl-compact > li {
241 margin-top: 0em; }
242
243 .Bl-diag { }
244 .Bl-diag > dt {
245 font-style: normal;
246 font-weight: bold; }
247 .Bl-diag > dd {
248 margin-left: 0em; }
249 .Bl-hang { }
250 .Bl-hang > dt { }
251 .Bl-hang > dd {
252 margin-left: 5.5em; }
253 .Bl-inset { }
254 .Bl-inset > dt { }
255 .Bl-inset > dd {
256 margin-left: 0em; }
257 .Bl-ohang { }
258 .Bl-ohang > dt { }
259 .Bl-ohang > dd {
260 margin-left: 0em; }
261 .Bl-tag { margin-left: 5.5em; }
262 .Bl-tag > dt {
263 float: left;
264 margin-top: 0em;
265 margin-left: -5.5em;
266 padding-right: 1.2em;
267 vertical-align: top; }
268 .Bl-tag > dd {
269 clear: right;
270 width: 100%;
271 margin-top: 0em;
272 margin-left: 0em;
273 vertical-align: top;
274 overflow: auto; }
275 .Bl-compact > dt {
276 margin-top: 0em; }
277
278 .Bl-column { }
279 .Bl-column > tbody > tr { }
280 .Bl-column > tbody > tr > td {
281 margin-top: 1em; }
282 .Bl-compact > tbody > tr > td {
283 margin-top: 0em; }
284
285 .Rs { font-style: normal;
286 font-weight: normal; }
287 .RsA { }
288 .RsB { font-style: italic;
289 font-weight: normal; }
290 .RsC { }
291 .RsD { }
292 .RsI { font-style: italic;
293 font-weight: normal; }
294 .RsJ { font-style: italic;
295 font-weight: normal; }
296 .RsN { }
297 .RsO { }
298 .RsP { }
299 .RsQ { }
300 .RsR { }
301 .RsT { text-decoration: underline; }
302 .RsU { }
303 .RsV { }
304
305 .eqn { }
306 .tbl { }
307
308 .HP { margin-left: 3.8em;
309 text-indent: -3.8em; }
310
311 /* Semantic markup for command line utilities. */
312
313 table.Nm { }
314 code.Nm { font-style: normal;
315 font-weight: bold;
316 font-family: inherit; }
317 .Fl { font-style: normal;
318 font-weight: bold;
319 font-family: inherit; }
320 .Cm { font-style: normal;
321 font-weight: bold;
322 font-family: inherit; }
323 .Ar { font-style: italic;
324 font-weight: normal; }
325 .Op { display: inline; }
326 .Ic { font-style: normal;
327 font-weight: bold;
328 font-family: inherit; }
329 .Ev { font-style: normal;
330 font-weight: normal;
331 font-family: monospace; }
332 .Pa { font-style: italic;
333 font-weight: normal; }
334
335 /* Semantic markup for function libraries. */
336
337 .Lb { }
338 code.In { font-style: normal;
339 font-weight: bold;
340 font-family: inherit; }
341 a.In { }
342 .Fd { font-style: normal;
343 font-weight: bold;
344 font-family: inherit; }
345 .Ft { font-style: italic;
346 font-weight: normal; }
347 .Fn { font-style: normal;
348 font-weight: bold;
349 font-family: inherit; }
350 .Fa { font-style: italic;
351 font-weight: normal; }
352 .Vt { font-style: italic;
353 font-weight: normal; }
354 .Va { font-style: italic;
355 font-weight: normal; }
356 .Dv { font-style: normal;
357 font-weight: normal;
358 font-family: monospace; }
359 .Er { font-style: normal;
360 font-weight: normal;
361 font-family: monospace; }
362
363 /* Various semantic markup. */
364
365 .An { }
366 .Lk { }
367 .Mt { }
368 .Cd { font-style: normal;
369 font-weight: bold;
370 font-family: inherit; }
371 .Ad { font-style: italic;
372 font-weight: normal; }
373 .Ms { font-style: normal;
374 font-weight: bold; }
375 .St { }
376 .Ux { }
377
378 /* Physical markup. */
379
380 .Bf { display: inline; }
381 .No { font-style: normal;
382 font-weight: normal; }
383 .Em { font-style: italic;
384 font-weight: normal; }
385 .Sy { font-style: normal;
386 font-weight: bold; }
387 .Li { font-style: normal;
388 font-weight: normal;
389 font-family: monospace; }
390
391 /* Overrides to avoid excessive margins on small devices. */
392
393 @media (max-width: 37.5em) {
394 .manual-text {
395 margin-left: 0.5em; }
396 .Sh, .Ss { margin-left: 0em; }
397 .Bd-indent { margin-left: 2em; }
398 .Bl-hang > dd {
399 margin-left: 2em; }
400 .Bl-tag { margin-left: 2em; }
401 .Bl-tag > dt {
402 margin-left: -2em; }
403 .HP { margin-left: 2em;
404 text-indent: -2em; }
405 }
406 '
407
408 #
409 # Display remote target with prefix and trailing slash.
410 #
411 function print_upload_header
412 {
413 typeset -r prefix=$1
414 typeset display_target
415
416 if [[ -z $tflag ]]; then
417 display_target=${prefix}${remote_target}
418 else
419 display_target=${remote_target}
420 fi
421
422 if [[ ${display_target} != */ ]]; then
423 display_target=${display_target}/
424 fi
425
|