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