|
1 /* w3c-ac.css |
|
2 |
|
3 Copyright (c) 2005 W3C (MIT, ERCIM, Keio), All Rights Reserved. |
|
4 W3C liability, trademark, document use and software licensing |
|
5 rules apply, see: |
|
6 |
|
7 http://www.w3.org/Consortium/Legal/copyright-documents |
|
8 http://www.w3.org/Consortium/Legal/copyright-software |
|
9 */ |
|
10 body |
|
11 { |
|
12 margin: 0 0 0 0; |
|
13 padding: 0 0 0 0; |
|
14 width: 100%; |
|
15 height: 100%; |
|
16 color: black; |
|
17 background-color: white; |
|
18 font-family: "Gill Sans MT", "Gill Sans", GillSans, sans-serif; |
|
19 font-size: 14pt; |
|
20 } |
|
21 |
|
22 div.toolbar { |
|
23 position: fixed; z-index: 200; |
|
24 top: auto; bottom: 0; left: 0; right: 0; |
|
25 height: 1.2em; text-align: right; |
|
26 padding-left: 1em; |
|
27 padding-right: 1em; |
|
28 font-size: 60%; |
|
29 color: red; background: rgb(240,240,240); |
|
30 } |
|
31 |
|
32 div.background { |
|
33 display: none; |
|
34 } |
|
35 |
|
36 div.handout { |
|
37 margin-left: 20px; |
|
38 margin-right: 20px; |
|
39 } |
|
40 |
|
41 div.slide.titlepage { |
|
42 text-align: center; |
|
43 } |
|
44 |
|
45 div.slide.titlepage.h1 { |
|
46 padding-top: 40%; |
|
47 } |
|
48 |
|
49 div.slide { |
|
50 z-index: 20; |
|
51 margin: 0 0 0 0; |
|
52 padding-top: 0; |
|
53 padding-bottom: 0; |
|
54 padding-left: 20px; |
|
55 padding-right: 20px; |
|
56 border-width: 0; |
|
57 top: 0; |
|
58 bottom: 0; |
|
59 left: 0; |
|
60 right: 0; |
|
61 line-height: 120%; |
|
62 background-color: transparent; |
|
63 } |
|
64 |
|
65 /* this rule is hidden from IE6 which doesn't support + selector */ |
|
66 div.slide + div[class].slide { page-break-before: always;} |
|
67 |
|
68 div.slide h1 { |
|
69 padding-left: 1em; |
|
70 padding-right: 1em; |
|
71 padding-top: 0.3em; |
|
72 padding-bottom: 0.3em; |
|
73 margin-top: 0; |
|
74 margin-left: 0; |
|
75 margin-right: 0; |
|
76 margin-bottom: 0.8em; |
|
77 display: block; |
|
78 font-size: 140%; |
|
79 line-height: 1.2em; |
|
80 color: white; |
|
81 background-color: #005A9C; |
|
82 } |
|
83 |
|
84 pre { |
|
85 color: rgb(0,128,0); font-size: 80%; |
|
86 font-weight: bold; line-height: 120%; |
|
87 padding-top: 0.2em; |
|
88 padding-bottom: 0.2em; |
|
89 padding-left: 2em; |
|
90 padding-right: 1em; |
|
91 border-style: solid; |
|
92 border-left-width: 1em; |
|
93 border-top-width: thin; |
|
94 border-right-width: thin; |
|
95 border-bottom-width: thin; |
|
96 border-color: #95ABD0; |
|
97 color: #00428C; |
|
98 } |
|
99 |
|
100 li pre { margin-left: 0; } |
|
101 |
|
102 @media print { pre { font-size: 60% } } |
|
103 |
|
104 blockquote { font-style: italic } |
|
105 |
|
106 img { background-color: transparent } |
|
107 |
|
108 p.copyright { font-size: smaller } |
|
109 |
|
110 .center { text-align: center } |
|
111 .footnote { font-size: smaller; margin-left: 2em; } |
|
112 |
|
113 a img { border-width: 0; border-style: none } |
|
114 |
|
115 a:visited { color: navy } |
|
116 a:link { color: navy } |
|
117 a:hover { color: red; text-decoration: underline } |
|
118 a:active { color: red; text-decoration: underline } |
|
119 |
|
120 a {text-decoration: none} |
|
121 .navbar a:link {color: white} |
|
122 .navbar a:visited {color: yellow} |
|
123 .navbar a:active {color: red} |
|
124 .navbar a:hover {color: red} |
|
125 |
|
126 ul { list-style-type: square; } |
|
127 ul ul { list-style-type: disc; } |
|
128 ul ul ul { list-style-type: circle; } |
|
129 ul ul ul ul { list-style-type: disc; } |
|
130 li { margin-left: 0.5em; margin-top: 0.5em; } |
|
131 li li { font-size: 85%; font-style: italic } |
|
132 li li li { font-size: 85%; font-style: normal } |
|
133 |
|
134 div dt |
|
135 { |
|
136 margin-left: 0; |
|
137 margin-top: 1em; |
|
138 margin-bottom: 0.5em; |
|
139 font-weight: bold; |
|
140 } |
|
141 div dd |
|
142 { |
|
143 margin-left: 2em; |
|
144 margin-bottom: 0.5em; |
|
145 } |
|
146 |
|
147 |
|
148 p,pre,ul,ol,blockquote,h2,h3,h4,h5,h6 { |
|
149 margin-left: 1em; |
|
150 margin-right: 1em; |
|
151 } |
|
152 |
|
153 p.subhead { font-weight: bold; margin-top: 2em; } |
|
154 |
|
155 .smaller { font-size: 80%; } |
|
156 |
|
157 td,th { padding: 0.2em } |
|
158 |
|
159 ul { |
|
160 margin: 0.5em 1.5em 0.5em 1.5em; |
|
161 padding: 0; |
|
162 } |
|
163 |
|
164 ol { |
|
165 margin: 0.5em 1.5em 0.5em 1.5em; |
|
166 padding: 0; |
|
167 } |
|
168 |
|
169 ul { list-style-type: square; } |
|
170 ul ul { list-style-type: disc; } |
|
171 ul ul ul { list-style-type: circle; } |
|
172 ul ul ul ul { list-style-type: disc; } |
|
173 |
|
174 ul li { |
|
175 list-style: none; |
|
176 margin: 0.1em 0em 0.6em 0; |
|
177 padding: 0 0 0 40px; |
|
178 background: transparent url(bullet.png) no-repeat 5px 8px; |
|
179 line-height: 140%; |
|
180 } |
|
181 |
|
182 /* workaround IE's failure to support background on li for print media */ |
|
183 @media print { ul li { list-style: disc; padding-left: 0; background: none; } } |
|
184 |
|
185 ol li { |
|
186 margin: 0.1em 0em 0.6em 1.5em; |
|
187 padding: 0 0 0 0px; |
|
188 line-height: 140%; |
|
189 } |
|
190 |
|
191 li li { |
|
192 font-size: 85%; |
|
193 font-style: italic; |
|
194 list-style-type: disc; |
|
195 background: transparent; |
|
196 padding: 0 0 0 0; |
|
197 } |
|
198 li li li { |
|
199 font-size: 85%; |
|
200 font-style: normal; |
|
201 list-style-type: circle; |
|
202 background: transparent; |
|
203 padding: 0 0 0 0; |
|
204 } |
|
205 li li li li { |
|
206 list-style-type: disc; |
|
207 background: transparent; |
|
208 padding: 0 0 0 0; |
|
209 } |
|
210 |
|
211 img.withBorder { |
|
212 border: 2px solid #c60; |
|
213 padding: 4px; |
|
214 } |
|
215 |
|
216 div.header { |
|
217 position: absolute; |
|
218 z-index: 2; |
|
219 left: 0; |
|
220 right: 0; |
|
221 top: 0; |
|
222 bottom: auto; |
|
223 height: 2.95em; |
|
224 width: 100%; |
|
225 padding: 0 0 0 0; |
|
226 margin: 0 0 0 0; |
|
227 border-width: 0; |
|
228 border-style: solid; |
|
229 background-color: #005A9C; |
|
230 border-bottom-width: thick; |
|
231 border-bottom-color: #95ABD0; |
|
232 } |
|
233 |
|
234 div.footer { |
|
235 position: absolute; |
|
236 z-index: 80; |
|
237 left: 0; |
|
238 right: 0; |
|
239 top: auto; |
|
240 bottom: 0; |
|
241 height: 3.5em; |
|
242 margin: 0; |
|
243 font-size: 80%; |
|
244 font-weight: bold; |
|
245 padding-left: 1em; |
|
246 padding-right: 0; |
|
247 padding-top: 0.3em; |
|
248 padding-bottom: 0; |
|
249 color: #003366; |
|
250 background-color: #95ABD0; |
|
251 } |
|
252 |
|
253 /* this is a hack to hide property from IE6 and below */ |
|
254 div[class="footer"] { |
|
255 position: fixed; |
|
256 } |
|
257 |
|
258 #w3c-logo { |
|
259 margin: 0; |
|
260 margin-top: 0.3em; |
|
261 margin-right: 0.75em; |
|
262 padding-top: 0; |
|
263 padding-bottom: 0; |
|
264 padding-left: 0; |
|
265 padding-right: 0; |
|
266 height: 2em; |
|
267 width: 4.1em; |
|
268 float: right; |
|
269 z-index: 3; |
|
270 background: #90A7D0; |
|
271 } |
|
272 |
|
273 #w3c-logo-fallback { |
|
274 margin: 0; |
|
275 margin-top: -0.5em; |
|
276 margin-right: 0.75em; |
|
277 padding-top: 0; |
|
278 padding-bottom: 0; |
|
279 padding-left: 0; |
|
280 padding-right: 0; |
|
281 height: 3em; |
|
282 width: 4.1em; |
|
283 float: right; |
|
284 z-index: 3; |
|
285 background: #90A7D0; |
|
286 } |
|
287 |
|
288 div.cover { |
|
289 margin: 0; |
|
290 padding: 0; |
|
291 background-color: black; |
|
292 overflow: hidden; |
|
293 width: 100%; |
|
294 height: 100%; |
|
295 } |
|
296 |
|
297 div.cover div.header |
|
298 { |
|
299 position: absolute; |
|
300 z-index: 0; |
|
301 left: 0; |
|
302 right: 0; |
|
303 top: 0; |
|
304 bottom: auto; |
|
305 height: auto; |
|
306 margin: 0; |
|
307 width: 100%; |
|
308 padding: 0.5em 0.5em 1em 0.5em; |
|
309 color: #FFFFFF; |
|
310 border-width: 0; |
|
311 border-style: solid; |
|
312 background-color: #005A9C; |
|
313 border-bottom-width: thick; |
|
314 border-bottom-color: #95ABD0; |
|
315 } |
|
316 div.slide.cover h1 |
|
317 { |
|
318 float: left; |
|
319 margin-bottom: 0; |
|
320 background-color: #005A9C; |
|
321 /* background-color: #00428C; */ |
|
322 } |
|
323 |
|
324 div.slide h1 a:link {color: white} |
|
325 div.slide h1 a:visited {color: white} |
|
326 div.slide h1 a:active { |
|
327 color: red; |
|
328 text-decoration: underline; |
|
329 } |
|
330 div.slide h1 a:hover { |
|
331 color: yellow; |
|
332 text-decoration: underline; |
|
333 } |
|
334 |
|
335 div.slide h1 a { text-decoration: none } |
|
336 div.cover div.header p |
|
337 { |
|
338 clear: both; |
|
339 margin-top: 0.5em; |
|
340 margin-left: 1.5em; |
|
341 margin-bottom: 0; |
|
342 } |
|
343 |
|
344 div.header p.explanation { |
|
345 font-style: italic; |
|
346 } |
|
347 div.cover img |
|
348 { |
|
349 width: 100%; |
|
350 margin: 0; |
|
351 padding: 0; |
|
352 } |
|
353 |
|
354 div.slide.cover a { |
|
355 color: white; |
|
356 } |
|
357 |
|
358 div.slide.cover a:hover, div.slide.cover a:active { |
|
359 color: yellow; text-decoration: underline; |
|
360 } |
|
361 |
|
362 /* for Bert as an ardent user of the old W3C slidemaker tool */ |
|
363 div.comment { display: none; visibility: hidden } |
|
364 |
|
365 @media print { div.comment { display: block; visibility: visible } } |
|
366 |
|
367 /* fold/unfold support outer ol, ul needs outline class */ |
|
368 /* set class="compact" on li to make it compact */ |
|
369 |
|
370 ol.outline { list-style:decimal; } |
|
371 ol.outline ol { list-style-type:lower-alpha } |
|
372 ol.outline li.nofold { |
|
373 padding: 0 0 0 20px; |
|
374 background: transparent url(nofold-dim.bmp) no-repeat 0px 0.5em; |
|
375 } |
|
376 ol.outline li.unfolded { |
|
377 padding: 0 0 0 20px; |
|
378 background: transparent url(fold-dim.bmp) no-repeat 0px 0.5em; |
|
379 } |
|
380 ol.outline li.folded { |
|
381 padding: 0 0 0 20px; |
|
382 background: transparent url(unfold-dim.bmp) no-repeat 0px 0.5em; |
|
383 } |
|
384 ol.outline li.unfolded:hover { |
|
385 padding: 0 0 0 20px; |
|
386 background: transparent url(fold.bmp) no-repeat 0px 0.5em; |
|
387 } |
|
388 ol.outline li.folded:hover { |
|
389 padding: 0 0 0 20px; |
|
390 background: transparent url(unfold.bmp) no-repeat 0px 0.5em; |
|
391 } |
|
392 ol.outline li:hover { cursor: pointer } |
|
393 ol.outline li.nofold:hover { cursor: default } |
|
394 |
|
395 ul.outline { list-style:decimal; } |
|
396 ul.outline li.nofold { |
|
397 padding: 0 0 0 20px; |
|
398 background: transparent url(nofold-dim.bmp) no-repeat 0px 0.5em; |
|
399 } |
|
400 ul.outline li.unfolded { |
|
401 padding: 0 0 0 20px; |
|
402 background: transparent url(fold-dim.bmp) no-repeat 0px 0.5em; |
|
403 } |
|
404 ul.outline li.folded { |
|
405 padding: 0 0 0 20px; |
|
406 background: transparent url(unfold-dim.bmp) no-repeat 0px 0.5em; |
|
407 } |
|
408 ul.outline li.unfolded:hover { |
|
409 padding: 0 0 0 20px; |
|
410 background: transparent url(fold.bmp) no-repeat 0px 0.5em; |
|
411 } |
|
412 ul.outline li.folded:hover { |
|
413 padding: 0 0 0 20px; |
|
414 background: transparent url(unfold.bmp) no-repeat 0px 0.5em; |
|
415 } |
|
416 |
|
417 ul.outline li:hover { cursor: pointer } |
|
418 ul.outline li.nofold:hover { cursor: default } |