/[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.6 - (hide annotations) (download) (as text)
Tue Feb 22 10:29:45 2005 UTC (20 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.5: +13 -11 lines
File MIME type: text/css
No table color

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24