source: public_html/faq-style.css

Last change on this file was 14228, checked in by Mark Evenson, 11 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 
1body {
2    font-family: sans-serif;
3}
4/* Use CSS2 to automatically number the FAQ questions and answer */
5ol#toc, div#general {
6    counter-reset: topic;
7}
8ol#toc {
9    border-radius: 1em;
10    border-style: solid;
11    padding: 1cm;
12}
13ol#toc li.topic, div#general h2.topic {
14    list-style: none;
15    counter-reset: question;
16}
17div#general h2.topic {
18    margin-left: -4em;
19}
20ol#toc li.topic:before, div#general h2.topic:before {
21    content: counter(topic) ".  ";
22    counter-increment: topic;
23}
24ol#toc li.question {
25    list-style: none;
26}
27ol#toc li.question:before,  div#general h3.question:before {
28    content: counter(topic) "." counter(question) ".  "; 
29    counter-increment: question;
30}
31div#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.