root/trunk/demo/w3c/css/style.css

Revision 251, 0.5 kB (checked in by sholloway, 6 years ago)
  • Removed default encoding from xmlBuilder so that source files can specify their own encoding
  • Fixed a small bug in cssParser for empty strings
  • Added a new css demoEx that uses files instead of constant strings
Line 
1 * {
2     font-size: medium;
3     bgcolor: orange;
4     fgcolor: blue;
5 }
6
7 slideshow {
8     bgcolor: black;
9     fgcolor: white;
10 }
11
12 slideshow * {
13     fgcolor: inherit;
14     bgcolor: inherit;
15 }
16
17 slideshow > title {
18     font-size: 80pt;
19 }
20
21 slide {
22     image: url('page-image.png');
23 }
24
25 slide:last-child {
26     fgcolor: yellow;
27     image: url('last-page-image.png');
28 }
29
30 slide > title {
31     font-size: 40pt;
32 }
33
34 point {
35     font-size: medium;
36 }
37
38 point#special {
39     font-size: xx-large;
40     fgcolor: red;
41     bgcolor: yellow;
42 }
Note: See TracBrowser for help on using the browser.