1241675Suqs/* $Id: example.style.css,v 1.49 2011/12/15 12:18:57 kristaps Exp $ */
2241675Suqs/*
3241675Suqs * This is an example style-sheet provided for mandoc(1) and the -Thtml
4241675Suqs * or -Txhtml output mode.
5241675Suqs * It mimics the appearance of the legacy man.cgi output.
6241675Suqs * See mdoc(7) and man(7) for macro explanations.
7241675Suqs */
8241675Suqs
9241675Suqsdiv.mandoc			{ min-width: 102ex; 
10241675Suqs				  width: 102ex; 
11241675Suqs				  font-family: monospace; } /* This is the outer node of all mandoc -T[x]html documents. */
12241675Suqsdiv.mandoc h1			{ margin-bottom: 0ex; font-size: inherit; margin-left: -4ex; } /* Section header (Sh, SH). */
13241675Suqsdiv.mandoc h2			{ margin-bottom: 0ex; font-size: inherit; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
14241675Suqsdiv.mandoc table		{ width: 100%; margin-top: 0ex; margin-bottom: 0ex; } /* All tables. */
15241675Suqsdiv.mandoc td			{ vertical-align: top; } /* All table cells. */
16241675Suqsdiv.mandoc p			{ } /* Paragraph: Pp, Lp. */
17241675Suqsdiv.mandoc blockquote		{ margin-left: 5ex; margin-top: 0ex; margin-bottom: 0ex; } /* D1, Dl. */
18241675Suqsdiv.mandoc div.section		{ margin-bottom: 2ex; margin-left: 5ex; } /* Sections (Sh, SH). */
19241675Suqsdiv.mandoc div.subsection	{ } /* Sub-sections (Ss, SS). */
20241675Suqsdiv.mandoc table.synopsis	{ } /* SYNOPSIS section table. */
21241675Suqsdiv.mandoc table.foot		{ } /* Document footer. */
22241675Suqsdiv.mandoc td.foot-date		{ width: 50%; } /* Document footer: date. */
23241675Suqsdiv.mandoc td.foot-os		{ width: 50%; text-align: right; } /* Document footer: OS/source. */
24241675Suqsdiv.mandoc table.head		{ } /* Document header. */
25241675Suqsdiv.mandoc td.head-ltitle	{ width: 10%; } /* Document header: left-title. */
26241675Suqsdiv.mandoc td.head-vol		{ width: 80%; text-align: center; } /* Document header: volume. */
27241675Suqsdiv.mandoc td.head-rtitle	{ width: 10%; text-align: right; } /* Document header: right-title. */
28241675Suqsdiv.mandoc .display		{ } /* All Bd, D1, Dl. */
29241675Suqsdiv.mandoc .list		{ } /* All Bl. */
30241675Suqsdiv.mandoc i			{ } /* Italic: BI, IB, I, (implicit). */
31241675Suqsdiv.mandoc b			{ } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
32241675Suqsdiv.mandoc small		{ } /* Small: SB, SM. */
33241675Suqsdiv.mandoc .emph		{ font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
34241675Suqsdiv.mandoc .symb		{ font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
35241675Suqsdiv.mandoc .lit			{ font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */
36241675Suqsdiv.mandoc i.addr		{ font-weight: normal; } /* Address (Ad). */
37241675Suqsdiv.mandoc i.arg		{ font-weight: normal; } /* Command argument (Ar). */
38241675Suqsdiv.mandoc span.author		{ } /* Author name (An). */
39241675Suqsdiv.mandoc b.cmd		{ font-style: normal; } /* Command (Cm). */ 
40241675Suqsdiv.mandoc b.config		{ font-style: normal; } /* Config statement (Cd). */
41241675Suqsdiv.mandoc span.define		{ } /* Defines (Dv). */
42241675Suqsdiv.mandoc span.desc		{ } /* Nd.  After em-dash. */
43241675Suqsdiv.mandoc b.diag		{ font-style: normal; } /* Diagnostic (Bl -diag). */
44241675Suqsdiv.mandoc span.env		{ } /* Environment variables (Ev). */
45241675Suqsdiv.mandoc span.errno		{ } /* Error string (Er). */
46241675Suqsdiv.mandoc i.farg		{ font-weight: normal; } /* Function argument (Fa, Fn). */
47241675Suqsdiv.mandoc i.file		{ font-weight: normal; } /* File (Pa). */
48241675Suqsdiv.mandoc b.flag		{ font-style: normal; } /* Flag (Fl, Cm). */
49241675Suqsdiv.mandoc b.fname		{ font-style: normal; } /* Function name (Fa, Fn, Rv). */
50241675Suqsdiv.mandoc i.ftype		{ font-weight: normal; } /* Function types (Ft, Fn). */
51241675Suqsdiv.mandoc b.includes		{ font-style: normal; } /* Header includes (In). */
52241675Suqsdiv.mandoc span.lib		{ } /* Library (Lb). */
53241675Suqsdiv.mandoc i.link-sec		{ font-weight: normal; } /* Section links (Sx). */
54241675Suqsdiv.mandoc b.macro		{ font-style: normal; } /* Macro-ish thing (Fd). */
55241675Suqsdiv.mandoc b.name		{ font-style: normal; } /* Name of utility (Nm). */
56241675Suqsdiv.mandoc span.opt		{ } /* Options (Op, Oo/Oc). */
57241675Suqsdiv.mandoc span.ref		{ } /* Citations (Rs). */
58241675Suqsdiv.mandoc span.ref-auth	{ } /* Reference author (%A). */
59241675Suqsdiv.mandoc i.ref-book		{ font-weight: normal; } /* Reference book (%B). */
60241675Suqsdiv.mandoc span.ref-city	{ } /* Reference city (%C). */
61241675Suqsdiv.mandoc span.ref-date	{ } /* Reference date (%D). */
62241675Suqsdiv.mandoc i.ref-issue		{ font-weight: normal; } /* Reference issuer/publisher (%I). */
63241675Suqsdiv.mandoc i.ref-jrnl		{ font-weight: normal; } /* Reference journal (%J). */
64241675Suqsdiv.mandoc span.ref-num		{ } /* Reference number (%N). */
65241675Suqsdiv.mandoc span.ref-opt		{ } /* Reference optionals (%O). */
66241675Suqsdiv.mandoc span.ref-page	{ } /* Reference page (%P). */
67241675Suqsdiv.mandoc span.ref-corp	{ } /* Reference corporate/foreign author (%Q). */
68241675Suqsdiv.mandoc span.ref-rep		{ } /* Reference report (%R). */
69241675Suqsdiv.mandoc span.ref-title	{ text-decoration: underline; } /* Reference title (%T). */
70241675Suqsdiv.mandoc span.ref-vol		{ } /* Reference volume (%V). */
71241675Suqsdiv.mandoc span.type		{ font-style: italic; font-weight: normal; } /* Variable types (Vt). */
72241675Suqsdiv.mandoc span.unix		{ } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
73241675Suqsdiv.mandoc b.utility		{ font-style: normal; } /* Name of utility (Ex). */
74241675Suqsdiv.mandoc b.var		{ font-style: normal; } /* Variables (Rv). */
75241675Suqsdiv.mandoc a.link-ext		{ } /* Off-site link (Lk). */
76241675Suqsdiv.mandoc a.link-includes	{ } /* Include-file link (In). */
77241675Suqsdiv.mandoc a.link-mail		{ } /* Mailto links (Mt). */
78241675Suqsdiv.mandoc a.link-man		{ } /* Manual links (Xr). */
79241675Suqsdiv.mandoc a.link-ref		{ } /* Reference section links (%Q). */
80241675Suqsdiv.mandoc a.link-sec		{ } /* Section links (Sx). */
81241675Suqsdiv.mandoc dl.list-diag		{ } /* Formatting for lists.  See mdoc(7). */
82241675Suqsdiv.mandoc dt.list-diag		{ }
83241675Suqsdiv.mandoc dd.list-diag		{ }
84241675Suqsdiv.mandoc dl.list-hang		{ }
85241675Suqsdiv.mandoc dt.list-hang		{ }
86241675Suqsdiv.mandoc dd.list-hang		{ }
87241675Suqsdiv.mandoc dl.list-inset	{ }
88241675Suqsdiv.mandoc dt.list-inset	{ }
89241675Suqsdiv.mandoc dd.list-inset	{ }
90241675Suqsdiv.mandoc dl.list-ohang	{ }
91241675Suqsdiv.mandoc dt.list-ohang	{ }
92241675Suqsdiv.mandoc dd.list-ohang	{ margin-left: 0ex; }
93241675Suqsdiv.mandoc dl.list-tag		{ }
94241675Suqsdiv.mandoc dt.list-tag		{ }
95241675Suqsdiv.mandoc dd.list-tag		{ }
96241675Suqsdiv.mandoc table.list-col	{ }
97241675Suqsdiv.mandoc tr.list-col		{ }
98241675Suqsdiv.mandoc td.list-col		{ }
99241675Suqsdiv.mandoc ul.list-bul		{ list-style-type: disc; padding-left: 1em; }
100241675Suqsdiv.mandoc li.list-bul		{ }
101241675Suqsdiv.mandoc ul.list-dash		{ list-style-type: none; padding-left: 0em; }
102241675Suqsdiv.mandoc li.list-dash:before	{ content: "\2014  "; }
103241675Suqsdiv.mandoc ul.list-hyph		{ list-style-type: none; padding-left: 0em; }
104241675Suqsdiv.mandoc li.list-hyph:before	{ content: "\2013  "; }
105241675Suqsdiv.mandoc ul.list-item		{ list-style-type: none; padding-left: 0em; }
106241675Suqsdiv.mandoc li.list-item		{ }
107241675Suqsdiv.mandoc ol.list-enum		{ padding-left: 2em; }
108241675Suqsdiv.mandoc li.list-enum		{ }
109241675Suqsdiv.mandoc span.eqn		{ } /* Equation modes.  See eqn(7). */
110241675Suqsdiv.mandoc table.tbl		{ } /* Table modes.  See tbl(7). */
111