Last change
on this file since 15467 was
14228,
checked in by Mark Evenson, 12 years ago
|
website: Give the CSS some love.
Avoid using explicit line breaks.
Move more of the CSS into separate files.
Move to using rounded corners everywhere.
Still could use some work.
|
File size:
766 bytes
|
Line | |
---|
1 | body { |
---|
2 | font-family: sans-serif; |
---|
3 | } |
---|
4 | /* Use CSS2 to automatically number the FAQ questions and answer */ |
---|
5 | ol#toc, div#general { |
---|
6 | counter-reset: topic; |
---|
7 | } |
---|
8 | ol#toc { |
---|
9 | border-radius: 1em; |
---|
10 | border-style: solid; |
---|
11 | padding: 1cm; |
---|
12 | } |
---|
13 | ol#toc li.topic, div#general h2.topic { |
---|
14 | list-style: none; |
---|
15 | counter-reset: question; |
---|
16 | } |
---|
17 | div#general h2.topic { |
---|
18 | margin-left: -4em; |
---|
19 | } |
---|
20 | ol#toc li.topic:before, div#general h2.topic:before { |
---|
21 | content: counter(topic) ". "; |
---|
22 | counter-increment: topic; |
---|
23 | } |
---|
24 | ol#toc li.question { |
---|
25 | list-style: none; |
---|
26 | } |
---|
27 | ol#toc li.question:before, div#general h3.question:before { |
---|
28 | content: counter(topic) "." counter(question) ". "; |
---|
29 | counter-increment: question; |
---|
30 | } |
---|
31 | div#general h3.question { |
---|
32 | margin-left: -2em; |
---|
33 | } |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | |
---|
53 | |
---|
Note: See
TracBrowser
for help on using the repository browser.