source: documented-examples/trunk/garish-e/style/style.css@ 22969

Last change on this file since 22969 was 22969, checked in by kjdon, 14 years ago

had to change the body background-color to body.bgimage to get it to go pink. Also uncommented the p tag colouring to make it even more garish

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1/* This style sheet is used by the garish collection as an
2 example of modifying the appearance */
3
4/* notes about style sheets.
5
6 Colours - The most portable way to specify colours is to use the
7 #xxxxxx notation, which is in hex for red, green, and blue. eg black
8 is #000000, red is #ff0000, blue is #0000ff and white is #ffffff.
9 This may seem confusing at first, but you can't count on colour names
10 being the same across all browsers and platforms. For example,
11 linux/x11 has hundreds of colours with names such as DarkOliveGreen
12 and PaleVioletRed. However, simple colour names should work with most
13 browsers...
14
15*/
16
17
18/* set defaults for the HTML body */
19body {
20 /* set the face. The first one in the list found will be used, so
21 have reasonable fall-backs */
22 /* use a serif font windows uses "times new roman", "times" on mac/linux */
23 font-family: times new roman, times, serif;
24}
25
26 /* you can set a background colour, but a lot of the images/buttons are
27 designed to blend into a white background. */
28/* Note, this didn't seem to work when placed into above body definition */
29body.bgimage {
30 background-color: pink;
31}
32
33
34/* paragraph text - this will override the settings above for text inside
35 <p>....</p> tags. */
36
37p {
38 color: red;
39}
40
41
42/* headings */
43h1, h2, h3, h4 {
44 /* use a sans-serif font - arial on windows, helvetica on mac/linux */
45 font-family: arial, helvetica, sans-serif;
46 color: blue;
47}
Note: See TracBrowser for help on using the repository browser.