/** * Copyright (C) 2008 Alcatel-Lucent * * This file is part of PhpWiki. * * PhpWiki is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * PhpWiki is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Standard Alcatel-Lucent disclaimer for contributing to open source * * "The Style Sheet ("Contribution") has not been tested and/or * validated for release as or in products, combinations with products or * other commercial use. Any use of the Contribution is entirely made at * the user's own responsibility and the user can not rely on any features, * functionalities or performances Alcatel-Lucent has attributed to the * Contribution. * * THE CONTRIBUTION BY ALCATEL-LUCENT IS PROVIDED AS IS, WITHOUT WARRANTY * OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COMPLIANCE, * NON-INTERFERENCE AND/OR INTERWORKING WITH THE SOFTWARE TO WHICH THE * CONTRIBUTION HAS BEEN MADE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL * ALCATEL-LUCENT BE LIABLE FOR ANY DAMAGES OR OTHER LIABLITY, WHETHER IN * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * CONTRIBUTION OR THE USE OR OTHER DEALINGS IN THE CONTRIBUTION, WHETHER * TOGETHER WITH THE SOFTWARE TO WHICH THE CONTRIBUTION RELATES OR ON A STAND * ALONE BASIS." */ @import url(fusionforge.css); body { counter-reset: chapter; /* Create a chapter counter scope */ } h2:before { content: counter(chapter) ". "; counter-increment: chapter; /* Add 1 to chapter */ } h2 { counter-reset: section; /* Set section to 0 */ } h3:before { content: counter(chapter) "." counter(section) " "; counter-increment: section; } h3 { counter-reset: subsection; /* Set subsection to 0 */ } h4:before { content: counter(chapter) "." counter(section) "." counter(subsection) " "; counter-increment: subsection; } h4 { counter-reset: subsection2; /* Set section to 0 */ } h5:before { content: counter(chapter) "." counter(section) "." counter(subsection) "." counter(subsection2) " "; counter-increment: subsection2; } h5 { counter-reset: subsection3; /* Set subsection to 0 */ } h6:before { content: counter(chapter) "." counter(section) "." counter(subsection) "." counter(subsection2) "." counter(subsection3) " "; counter-increment: subsection3; }