2012-11-07 13:24:59 +00:00
|
|
|
body {
|
2013-04-02 01:39:23 +00:00
|
|
|
counter-reset: mySectionCounter;
|
2012-11-07 13:24:59 +00:00
|
|
|
}
|
2013-04-02 01:39:23 +00:00
|
|
|
|
2012-11-07 13:24:59 +00:00
|
|
|
h1:before {
|
2013-04-02 01:39:23 +00:00
|
|
|
counter-increment: mySectionCounter;
|
2012-11-07 13:24:59 +00:00
|
|
|
content: 'ARTICLE ' counter(mySectionCounter, upper-roman) ' - ';
|
|
|
|
}
|
|
|
|
|
2013-04-02 01:39:23 +00:00
|
|
|
h1 {
|
|
|
|
counter-reset: mySubSectionCounter;
|
2012-11-07 13:24:59 +00:00
|
|
|
}
|
|
|
|
|
2013-04-02 01:39:23 +00:00
|
|
|
h1:after {
|
2012-11-07 13:24:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2:before {
|
2013-04-02 01:39:23 +00:00
|
|
|
counter-increment: mySubSectionCounter;
|
2012-11-07 13:24:59 +00:00
|
|
|
content: 'Section ' counter(mySectionCounter, decimal) '.' counter(mySubSectionCounter, decimal) ': ';
|
|
|
|
}
|
2013-04-02 01:39:23 +00:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
}
|
|
|
|
|