/[suikacvs]/test/suikawebwww/style/html/article.css
Suika

Contents of /test/suikawebwww/style/html/article.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Sat Jun 30 05:04:13 2007 UTC (18 years, 11 months ago) by wakaba
Branch: MAIN
File MIME type: text/css
2007-06-30  Wakaba  <wakaba@suika.fam.cx>

        * article.css: New style sheet.

        * html.css: A rule for |i:lang(en)|.

1 wakaba 1.1 /*
2     CSS Style Sheet for HTML Articles
3     */
4    
5     @import 'xhtml.css';
6     @namespace 'http://www.w3.org/1999/xhtml';
7    
8     body {
9     counter-reset: chapter appendix;
10     }
11    
12     .section#abstract {
13     counter-increment: none;
14     }
15    
16     h2, .appendix h3 {
17     counter-increment: chapter;
18     counter-reset: section;
19     font-size: 140%;
20     }
21    
22     h2:before {
23     content: "";
24     content: counter(chapter) ". ";
25     }
26    
27     .appendix h3:before {
28     content: counter(appendix, upper-alpha) "." counter(chapter) ". ";
29     }
30    
31     h3, div.appendix h4 {
32     counter-increment: section;
33     counter-reset: subsection;
34     font-size: 120%;
35     }
36    
37     h3:before {
38     content: "";
39     content: counter(chapter) "." counter(section) ". ";
40     }
41    
42     h4:before {
43     content: "";
44     content: counter(appendix, upper-alpha) "."
45     counter(chapter) "." counter(section) ". ";
46     counter-reset: subsection;
47     }
48    
49     h5:before {
50     content: "";
51     content: counter(appendix, upper-alpha) "."
52     counter(chapter) "." counter(section) "."
53     counter(subsection)". ";
54     counter-increment: subsection;
55     }
56    
57     /* License
58    
59     Copyright 2007 Wakaba <w@suika.fam.cx>.
60    
61     This program is free software; you can redistribute it and/or modify
62     it under the terms of the GNU General Public License as published by
63     the Free Software Foundation; either version 2 of the License, or
64     (at your option) any later version.
65    
66     This program is distributed in the hope that it will be useful,
67     but WITHOUT ANY WARRANTY; without even the implied warranty of
68     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69     GNU General Public License for more details.
70    
71     You should have received a copy of the GNU General Public License
72     along with this program; see the file COPYING. If not, write to
73     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
74     Boston, MA 02111-1307, USA.
75    
76     */
77    
78     /* $Date: 2006/05/21 02:14:03 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24