/[suikacvs]/webroot/www/style/html/xhtml1.css
Suika

Contents of /webroot/www/style/html/xhtml1.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download) (as text)
Wed Dec 15 13:43:30 2004 UTC (21 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.2: +76 -4 lines
File MIME type: text/css
Some rules added

1 wakaba 1.1 @charset 'iso-2022-jp';
2     @namespace 'http://www.w3.org/1999/xhtml';
3     @namespace xml 'http://www.w3.org/XML/1998/namespace';
4    
5     html {
6     display: block;
7     line-height: 2.0;
8     }
9     head {
10     display: none;
11     }
12    
13     body {
14     display: block;
15     margin: 1em 1.5em;
16     }
17    
18     div.section {
19     display: block;
20     }
21    
22 wakaba 1.3 blockquote, table {
23     margin: 1em 2em;
24     }
25    
26 wakaba 1.1 h1, h2, h3, h4, h5, h6 {
27     display: block;
28     line-height: 1.5;
29     font-size: 120%;
30     font-weight: bolder;
31     }
32    
33     h1 {
34     text-align: center;
35     font-size: 140%;
36     }
37    
38     p {
39     display: block;
40     text-indent: 1em;
41     margin: 0 1em;
42     text-align: justify;
43     }
44    
45     ul, ol, dl {
46     display: block;
47     margin: 1em;
48     padding: 0;
49     }
50    
51     dt, li {
52     display: list-item;
53     margin-left: 1em;
54     padding-left: 0.5em;
55     list-style: disc;
56     }
57     dt dt, li li {
58     list-style: square;
59     }
60     dd {
61     display: block;
62     margin-left: 3em;
63     padding-left: 0;
64     }
65    
66     li:first-child:last-child {
67     list-style: disc;
68     }
69    
70     blockquote {
71     display: block;
72 wakaba 1.3 border-left: 1em double rgb(204, 0, 0);
73     padding-left: 1em;
74     }
75    
76     blockquote > cite {
77     display: block;
78     margin-right: 2em;
79     text-align: right;
80     }
81     /* XML Alternate: H3|credit */
82    
83     blockquote > cite:before {
84     display: inline;
85     content: "$B!=!=(B " !important;
86     }
87     blockquote > cite:after {
88     display: inline;
89     content: "" !important;
90 wakaba 1.1 }
91    
92 wakaba 1.2 table {
93     margin-left: auto;
94     margin-right: auto;
95     }
96    
97 wakaba 1.3 /* Phrase */
98 wakaba 1.2
99 wakaba 1.1 code {
100     font-family: "Courier New", "Courier", monospace;
101     letter-spacing: 0.1em;
102     }
103    
104     code.uri, code.mail {
105     font-size: smaller;
106     font-style: italic;
107     font-family: "Times New Roman", "Times", serif;
108     }
109     code.math {
110     font-family: "Times New Roman", "Times", serif;
111     }
112     var {
113     font-style: italic;
114     }
115    
116 wakaba 1.3 dfn {
117     font-style: normal;
118     font-weight: bolder;
119     }
120    
121     kbd {
122     font-family: "Courier New", "Courier", monospace;
123     font-size: 100%;
124     line-height: 1.1;
125     border-bottom: yellow 1px solid;
126     padding-bottom: 0.1em;
127     }
128    
129 wakaba 1.2 em {
130     font-style: normal;
131     text-decoration: underline;
132     }
133    
134 wakaba 1.3 em:lang(en) {
135     font-style: italic;
136     text-decoration: none;
137 wakaba 1.2 }
138    
139 wakaba 1.1 /*
140     * $B8@8l>pJs$G>l9gJ,$1$9$k$N$O@5$7$/$J$$$,!"8=:_$N(B CSS
141     * $B$K$OMQ;z7O$NA*Br;R$,$J$$$+$i!"6a;wE*$K$3$l$r;H$&!#(B
142     */
143    
144     [lang|="ja"] cite, [xml|lang|="ja"] cite {
145     quotes: "$B!X(B" "$B!Y(B" "$B!V(B" "$B!W(B";
146     font-style: normal;
147     }
148     [lang|="ja"] cite:before, [xml|lang|="ja"] cite:before {
149     content: open-quote;
150     }
151     [lang|="ja"] cite:after, [xml|lang|="ja"] cite:after {
152     content: close-quote;
153     }
154     [lang|="en"] cite, [xml|lang|="en"] cite {
155     quotes: none;
156     font-style: italic;
157     }
158     [lang|="en"] cite cite, [xml|lang|="en"] cite cite {
159     quotes: none;
160     font-style: normal;
161     }
162     [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
163     [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
164     content: none;
165     }
166    
167 wakaba 1.3 /* Table */
168    
169     table {
170     background-color: rgb(221, 238, 255);
171     color: black;
172     }
173    
174     thead, tfoot, th {
175     background-color: rgb(0, 90, 156);
176     color: white;
177     font-weight: normal;
178     }
179    
180     td, th {
181     padding: 0.2em 0.4em;
182     }
183    
184 wakaba 1.1 th[scope="row"] {
185     text-align: left;
186     }
187     th[scope="col"] {
188     text-align: center;
189     }
190    
191 wakaba 1.3 /* Edit */
192    
193     ins {
194     background-color: yellow;
195     color: black;
196     }
197    
198     del {
199     background-color: #FFBBBB;
200     color: black;
201     }
202    
203     /* Footer */
204    
205     address {
206     font-style: normal;
207     font-size: 100%;
208     }
209    
210 wakaba 1.1 /* License
211    
212 wakaba 1.2 Copyright 2003-2004 Wakaba <w@suika.fam.cx>.
213 wakaba 1.1
214     This program is free software; you can redistribute it and/or modify
215     it under the terms of the GNU General Public License as published by
216     the Free Software Foundation; either version 2 of the License, or
217     (at your option) any later version.
218    
219     This program is distributed in the hope that it will be useful,
220     but WITHOUT ANY WARRANTY; without even the implied warranty of
221     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
222     GNU General Public License for more details.
223    
224     You should have received a copy of the GNU General Public License
225     along with this program; see the file COPYING. If not, write to
226     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
227     Boston, MA 02111-1307, USA.
228    
229     */
230    
231 wakaba 1.3 /* $Date: 2004/11/16 07:38:24 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24