2 * This is an example style-sheet provided for mandoc(1) and the -Thtml
\r
3 * or -Txhtml output mode.
\r
5 * It mimics the appearance of the traditional cvsweb output.
\r
7 * See mdoc(7) and man(7) for macro explanations.
\r
10 /* modified for pdclib: no max width; our wrapper handles that */;
\r
12 html { margin-left: 1em; }
\r
13 body { font-size: smaller; font-family: Helvetica,Arial,sans-serif; }
\r
14 h1 { margin-bottom: 1ex; font-size: 110%; margin-left: -4ex; } /* Section header (Sh, SH). */
\r
15 h2 { margin-bottom: 1ex; font-size: 105%; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
\r
16 table { width: 100%; margin-top: 0ex; margin-bottom: 0ex; } /* All tables. */
\r
17 td { vertical-align: top; } /* All table cells. */
\r
18 p { } /* Paragraph: Pp, Lp. */
\r
19 blockquote { margin-left: 5ex; margin-top: 0ex; margin-bottom: 0ex; } /* D1. */
\r
20 div.section { margin-bottom: 2ex; margin-left: 5ex; } /* Sections (Sh, SH). */
\r
21 div.subsection { } /* Sub-sections (Ss, SS). */
\r
22 table.synopsis { } /* SYNOPSIS section table. */
\r
24 /* Preamble structure. */
\r
26 table.foot { font-size: smaller; margin-top: 1em; border-top: 1px dotted #dddddd; } /* Document footer. */
\r
27 td.foot-date { width: 50%; } /* Document footer: date. */
\r
28 td.foot-os { width: 50%; text-align: right; } /* Document footer: OS/source. */
\r
29 table.head { font-size: smaller; margin-bottom: 1em; border-bottom: 1px dotted #dddddd; } /* Document header. */
\r
30 td.head-ltitle { width: 10%; } /* Document header: left-title. */
\r
31 td.head-vol { width: 80%; text-align: center; } /* Document header: volume. */
\r
32 td.head-rtitle { width: 10%; text-align: right; } /* Document header: right-title. */
\r
34 /* General font modes. */
\r
36 i { } /* Italic: BI, IB, I, (implicit). */
\r
37 .emph { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
\r
38 b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
\r
39 .symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
\r
40 small { } /* Small: SB, SM. */
\r
41 .lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */
\r
45 .display { } /* Top of all Bd, D1, Dl. */
\r
46 .list { } /* Top of all Bl. */
\r
48 /* Context-specific modes. */
\r
50 i.addr { font-weight: normal; } /* Address (Ad). */
\r
51 i.arg { font-weight: normal; } /* Command argument (Ar). */
\r
52 span.author { } /* Author name (An). */
\r
53 b.cmd { font-style: normal; } /* Command (Cm). */
\r
54 b.config { font-style: normal; } /* Config statement (Cd). */
\r
55 span.define { } /* Defines (Dv). */
\r
56 span.desc { } /* Nd. After em-dash. */
\r
57 b.diag { font-style: normal; } /* Diagnostic (Bl -diag). */
\r
58 span.env { } /* Environment variables (Ev). */
\r
59 span.errno { } /* Error string (Er). */
\r
60 i.farg { font-weight: normal; } /* Function argument (Fa, Fn). */
\r
61 i.file { font-weight: normal; } /* File (Pa). */
\r
62 b.flag { font-style: normal; } /* Flag (Fl, Cm). */
\r
63 b.fname { font-style: normal; } /* Function name (Fa, Fn, Rv). */
\r
64 i.ftype { font-weight: normal; } /* Function types (Ft, Fn). */
\r
65 b.includes { font-style: normal; } /* Header includes (In). */
\r
66 span.lib { } /* Library (Lb). */
\r
67 i.link-sec { font-weight: normal; } /* Section links (Sx). */
\r
68 b.macro { font-style: normal; } /* Macro-ish thing (Fd). */
\r
69 b.name { font-style: normal; } /* Name of utility (Nm). */
\r
70 span.opt { } /* Options (Op, Oo/Oc). */
\r
71 span.ref { } /* Citations (Rs). */
\r
72 span.ref-auth { } /* Reference author (%A). */
\r
73 i.ref-book { font-weight: normal; } /* Reference book (%B). */
\r
74 span.ref-city { } /* Reference city (%C). */
\r
75 span.ref-date { } /* Reference date (%D). */
\r
76 i.ref-issue { font-weight: normal; } /* Reference issuer/publisher (%I). */
\r
77 i.ref-jrnl { font-weight: normal; } /* Reference journal (%J). */
\r
78 span.ref-num { } /* Reference number (%N). */
\r
79 span.ref-opt { } /* Reference optionals (%O). */
\r
80 span.ref-page { } /* Reference page (%P). */
\r
81 span.ref-corp { } /* Reference corporate/foreign author (%Q). */
\r
82 span.ref-rep { } /* Reference report (%R). */
\r
83 span.ref-title { text-decoration: underline; } /* Reference title (%T). */
\r
84 span.ref-vol { } /* Reference volume (%V). */
\r
85 span.type { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
\r
86 span.unix { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
\r
87 b.utility { font-style: normal; } /* Name of utility (Ex). */
\r
88 b.var { font-style: normal; } /* Variables (Rv). */
\r
90 a.link-ext { } /* Off-site link (Lk). */
\r
91 a.link-includes { } /* Include-file link (In). */
\r
92 a.link-mail { } /* Mailto links (Mt). */
\r
93 a.link-man { } /* Manual links (Xr). */
\r
94 a.link-ref { } /* Reference section links (%Q). */
\r
95 a.link-sec { } /* Section links (Sx). */
\r
97 /* Formatting for lists. See mdoc(7). */
\r
113 dd.list-ohang { margin-left: 0ex; }
\r
123 ul.list-bul { list-style-type: disc; padding-left: 1em; }
\r
126 ul.list-dash { list-style-type: none; padding-left: 0em; }
\r
127 li.list-dash:before { content: "\2014 "; }
\r
129 ul.list-hyph { list-style-type: none; padding-left: 0em; }
\r
130 li.list-hyph:before { content: "\2013 "; }
\r
132 ul.list-item { list-style-type: none; padding-left: 0em; }
\r
135 ol.list-enum { padding-left: 2em; }
\r
138 /* Equation modes. See eqn(7). */
\r
142 /* Table modes. See tbl(7). */
\r