]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/fusionforge/fusionforge-autonumbering.css
Allow bold, italics or underlined for numbers
[SourceForge/phpwiki.git] / themes / fusionforge / fusionforge-autonumbering.css
1 /**
2  * Copyright (C) 2008 Alcatel-Lucent
3  *
4  * This file is part of PhpWiki.
5  *
6  * PhpWiki is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * PhpWiki is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with PhpWiki; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21 /*
22  * Standard Alcatel-Lucent disclaimer for contributing to open source
23  *
24  * "The Style Sheet ("Contribution") has not been tested and/or
25  * validated for release as or in products, combinations with products or
26  * other commercial use. Any use of the Contribution is entirely made at
27  * the user's own responsibility and the user can not rely on any features,
28  * functionalities or performances Alcatel-Lucent has attributed to the
29  * Contribution.
30  *
31  * THE CONTRIBUTION BY ALCATEL-LUCENT IS PROVIDED AS IS, WITHOUT WARRANTY
32  * OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
33  * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COMPLIANCE,
34  * NON-INTERFERENCE AND/OR INTERWORKING WITH THE SOFTWARE TO WHICH THE
35  * CONTRIBUTION HAS BEEN MADE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL
36  * ALCATEL-LUCENT BE LIABLE FOR ANY DAMAGES OR OTHER LIABLITY, WHETHER IN
37  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
38  * CONTRIBUTION OR THE USE OR OTHER DEALINGS IN THE CONTRIBUTION, WHETHER
39  * TOGETHER WITH THE SOFTWARE TO WHICH THE CONTRIBUTION RELATES OR ON A STAND
40  * ALONE BASIS."
41  */
42
43 @import url(fusionforge.css);
44
45 body {
46     counter-reset: chapter; /* Create a chapter counter scope */
47 }
48
49 h2:before {
50     content: counter(chapter) ". ";
51     counter-increment: chapter; /* Add 1 to chapter */
52 }
53
54 h2 {
55     counter-reset: section; /* Set section to 0 */
56 }
57
58 h3:before {
59     content: counter(chapter) "." counter(section) " ";
60     counter-increment: section;
61 }
62
63 h3 {
64     counter-reset: subsection; /* Set subsection to 0 */
65 }
66
67 h4:before {
68     content: counter(chapter) "." counter(section) "." counter(subsection) " ";
69     counter-increment: subsection;
70 }
71
72 h4 {
73     counter-reset: subsection2; /* Set section to 0 */
74 }
75
76 h5:before {
77     content: counter(chapter) "." counter(section) "." counter(subsection) "." counter(subsection2) " ";
78     counter-increment: subsection2;
79 }
80
81 h5 {
82     counter-reset: subsection3; /* Set subsection to 0 */
83 }
84
85 h6:before {
86     content: counter(chapter) "." counter(section) "." counter(subsection) "." counter(subsection2) "." counter(subsection3) " ";
87     counter-increment: subsection3;
88 }