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