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