Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.article {
width: 100%;
max-width: 50em;
margin: 0 auto;
font-family: Arial;
padding: 1em;
counter-reset: figures;
}
.figure {
padding: 0.9em;
margin: 0 auto 1em;
}
.figure figcaption {
text-align:center;
counter-increment: figures;
}
.figure figcaption:before {
font-weight: bold;
content: 'Figure ' counter(figures) ' . ';
}
.body {
margin: 0 auto;
font-family: Arial;
counter-reset: section;
}
.h3 {
counter-reset: subsection;
}
.h3:before {
counter-increment: section;
content: "Section " counter(section) ". ";
}
.h3:before {
counter-increment: subsection;
content: counter(section) "." counter(subsection) " ";
}