Add support for adding unit names to hf_ fields.
[metze/wireshark/wip.git] / docbook / ws.css
1 /*
2   CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
3   Derived from http://www.methods.co.nz/asciidoc/docbook-xsl.css
4 */
5
6 span.strong {
7   font-weight: bold;
8 }
9
10 body blockquote {
11   margin-top: .75em;
12   line-height: 1.5;
13   margin-bottom: .75em;
14 }
15
16 html body {
17   margin: 1em 5% 1em 5%;
18   line-height: 1.2;
19   font-family: "Times New Roman", Times, serif;
20 }
21
22 body div {
23   margin: 0;
24 }
25
26 h1, h2, h3, h4, h5, h6,
27 div.toc p b,
28 div.list-of-figures p b,
29 div.list-of-tables p b,
30 div.abstract p.title
31 {
32   color: #004698;
33   font-family: "Bitstream Vera Sans", "DejaVu Sans", Helvetica, Arial, sans-serif;
34 }
35
36 div.toc p:first-child,
37 div.list-of-figures p:first-child,
38 div.list-of-tables p:first-child,
39 div.example p.title
40 {
41   margin-bottom: 0.2em;
42 }
43
44 body h1 {
45   font-size: 1.3em;
46 }
47
48 body h2 {
49   font-size: 1.2em;
50 }
51
52 body h3 {
53   font-size: 1.1em;
54 }
55
56 body hr {
57   border: none; /* Broken on IE6 */
58 }
59 div.footnotes hr {
60   border: 1px solid silver;
61 }
62
63 div.navheader th, div.navheader td, div.navfooter td {
64   font-family: "Bitstream Vera Sans", "DejaVu Sans", Helvetica, Arial, sans-serif;
65   font-size: 0.9em;
66   font-weight: bold;
67   color: #004698;
68 }
69 div.navheader img, div.navfooter img {
70   border-style: none;
71 }
72 div.navheader a, div.navfooter a {
73   font-weight: normal;
74 }
75 div.navfooter hr {
76   border: 1px solid silver;
77 }
78
79 body td {
80   line-height: 1.2
81 }
82
83 body th {
84   line-height: 1.2;
85 }
86
87 ol {
88   line-height: 1.2;
89 }
90
91 ul, body dir, body menu {
92   line-height: 1.2;
93 }
94
95 html {
96   margin: 0;
97   padding: 0;
98 }
99
100 body h1, body h2, body h3, body h4, body h5, body h6 {
101   margin-left: 0
102 }
103
104 body pre {
105   margin: 0.5em 10% 0.5em 1em;
106   line-height: 1.4;
107   color: 333;
108 }
109
110 pre, tt, code, .command {
111   font-family: Menlo, Consolas, "Bitstream Vera Sans Mono", "Liberation Mono", monospace;
112   font-size: 0.9em;
113 }
114
115 tt.literal, code.literal {
116   color: 333;
117 }
118
119 .programlisting, .screen {
120   border: 1px solid silver;
121   background: #f4f4f4;
122   margin: 0.5em 10% 0.5em 0;
123   padding: 0.5em 1em;
124 }
125
126 .guibutton, .guimenu, .guisubmenu, .guimenuitem {
127   font-weight: bold;
128 }
129
130 .keycap, .guimenu, .guisubmenu, .guimenuitem {
131   border: 0.5px solid silver;
132   padding-left: 0.25em;
133   padding-right: 0.25em;
134 }
135
136 .keycap {
137   border-radius: 0.25em;
138 }
139
140 div.sidebar {
141   background: #ffffee;
142   margin: 1.0em 10% 0.5em 0;
143   padding: 0.5em 1em;
144   border: 1px solid silver;
145 }
146 div.sidebar * { padding: 0; }
147 div.sidebar div { margin: 0; }
148 div.sidebar p.title {
149   font-family: "Bitstream Vera Sans", "DejaVu Sans", Helvetica, Arial, sans-serif;
150   margin-top: 0.5em;
151   margin-bottom: 0.2em;
152 }
153
154 div.bibliomixed {
155   margin: 0.5em 5% 0.5em 1em;
156 }
157
158 div.glossary dt {
159   font-weight: bold;
160 }
161 div.glossary dd p {
162   margin-top: 0.2em;
163 }
164
165 dl {
166   margin: .8em 0;
167   line-height: 1.2;
168 }
169
170 dt {
171   margin-top: 0.5em;
172 }
173
174 dt span.term {
175   font-style: italic;
176 }
177
178 div.variablelist dd p {
179   margin-top: 0;
180 }
181
182 div.itemizedlist li, div.orderedlist li {
183   margin-left: -0.8em;
184   margin-top: 0.5em;
185 }
186
187 ul, ol {
188     list-style-position: outside;
189 }
190
191 div.sidebar ul, div.sidebar ol {
192     margin-left: 2.8em;
193 }
194
195 div.itemizedlist p.title,
196 div.orderedlist p.title,
197 div.variablelist p.title
198 {
199   margin-bottom: -0.8em;
200 }
201
202 div.revhistory table {
203   border-collapse: collapse;
204   border-width: 0;
205 }
206 div.revhistory th {
207   border: none;
208   color: #1f3b5e;
209   font-family: "Bitstream Vera Sans", "DejaVu Sans", Helvetica, Arial, sans-serif;
210 }
211 div.revhistory td {
212   border: 1px solid silver;
213 }
214
215 /* Keep TOC and index lines close together. */
216 div.toc dl, div.toc dt,
217 div.list-of-figures dl, div.list-of-figures dt,
218 div.list-of-tables dl, div.list-of-tables dt,
219 div.indexdiv dl, div.indexdiv dt
220 {
221   line-height: normal;
222   margin-top: 0;
223   margin-bottom: 0;
224 }
225
226 /*
227   Table styling does not work because of overriding attributes in
228   generated HTML.
229 */
230 div.table table,
231 div.informaltable table
232 {
233     margin-left: 0;
234     margin-right: 5%;
235     margin-bottom: 0.8em;
236     border-collapse: collapse;
237 }
238 div.informaltable table
239 {
240     margin-top: 0.4em
241 }
242 div.table thead,
243 div.table tfoot,
244 div.table tbody,
245 div.informaltable thead,
246 div.informaltable tfoot,
247 div.informaltable tbody
248 {
249     border-top: 2px solid #004698;
250     border-bottom: 2px solid #004698;
251 }
252 div.table thead, div.table tfoot,
253 div.informaltable thead, div.informaltable tfoot
254 {
255     font-weight: bold;
256 }
257
258 th {
259   text-align: left;
260 }
261
262 div.table thead > tr > th,
263 div.table tbody > tr > th,
264 div.table thead > tr > td,
265 div.table tbody > tr > td,
266 div.informaltable thead > tr > th,
267 div.informaltable tbody > tr > th,
268 div.informaltable thead > tr > td,
269 div.informaltable tbody > tr > td {
270   border: 1px solid silver;
271   padding: 0.4em;
272   vertical-align: top;
273 }
274
275 div.table thead > tr > th, div.informaltable thead > tr > th {
276   vertical-align: bottom;
277 }
278
279 div.figure p.title,
280 div.table p.title
281 {
282   margin-top: 1em;
283   margin-bottom: 0.4em;
284 }
285
286 @media print {
287   div.navheader, div.navfooter { display: none; }
288 }