/[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.14 - (hide annotations) (download) (as text)
Wed Jun 22 11:50:18 2005 UTC (20 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.13: +43 -11 lines
File MIME type: text/css
Rules for technical specification added

1 wakaba 1.1 @charset 'iso-2022-jp';
2 wakaba 1.7 @import 'http://suika.fam.cx/www/style/ui/toc-style-float.css';
3 wakaba 1.1 @namespace 'http://www.w3.org/1999/xhtml';
4     @namespace xml 'http://www.w3.org/XML/1998/namespace';
5    
6     html {
7     display: block;
8     line-height: 2.0;
9     }
10     head {
11     display: none;
12     }
13    
14     body {
15     display: block;
16     margin: 1em 1.5em;
17     }
18    
19 wakaba 1.3 blockquote, table {
20     margin: 1em 2em;
21     }
22    
23 wakaba 1.1 h1, h2, h3, h4, h5, h6 {
24     display: block;
25     line-height: 1.5;
26     font-size: 120%;
27     font-weight: bolder;
28 wakaba 1.12 font-family: sans-serif;
29 wakaba 1.4 text-align: left;
30 wakaba 1.1 }
31    
32     h1 {
33     text-align: center;
34     font-size: 140%;
35     }
36    
37 wakaba 1.4 h3:before {
38     content: "\0025B6" " ";
39     }
40    
41     h4:before {
42     content: "\0025B7" " ";
43     }
44    
45 wakaba 1.1 p {
46     display: block;
47     text-indent: 1em;
48     margin: 0 1em;
49     text-align: justify;
50     }
51 wakaba 1.8 p:lang(en) {
52     text-indent: 2em;
53     }
54 wakaba 1.1
55     ul, ol, dl {
56     display: block;
57 wakaba 1.14 margin: 1em;
58 wakaba 1.1 padding: 0;
59     }
60    
61 wakaba 1.14 p + ul, p + ol, p + dl,
62     p > ul, p > ol, p > dl {
63     margin-left: 3em;
64     }
65    
66 wakaba 1.1 dt, li {
67     display: list-item;
68     margin-left: 1em;
69     padding-left: 0.5em;
70     }
71 wakaba 1.10 ul li {
72     list-style: disc;
73     }
74     dt dt, ul li ul li {
75 wakaba 1.1 list-style: square;
76     }
77 wakaba 1.10 ol li {
78     list-style: decimal;
79     }
80     ol li ol li {
81     list-style: lower-alpha;
82     }
83 wakaba 1.9
84     dt {
85 wakaba 1.10 font-weight: normal;
86     list-style: disc;
87 wakaba 1.9 }
88    
89 wakaba 1.1 dd {
90 wakaba 1.9 display: block;
91 wakaba 1.1 margin-left: 3em;
92     padding-left: 0;
93 wakaba 1.7 overflow: auto;
94 wakaba 1.9 list-style-type: none;
95 wakaba 1.1 }
96    
97     li:first-child:last-child {
98     list-style: disc;
99     }
100    
101     blockquote {
102     display: block;
103 wakaba 1.3 border-left: 1em double rgb(204, 0, 0);
104     padding-left: 1em;
105     }
106    
107     blockquote > cite {
108     display: block;
109     margin-right: 2em;
110     text-align: right;
111     }
112     /* XML Alternate: H3|credit */
113    
114     blockquote > cite:before {
115     display: inline;
116     content: "$B!=!=(B " !important;
117     }
118     blockquote > cite:after {
119     display: inline;
120     content: "" !important;
121 wakaba 1.1 }
122    
123 wakaba 1.2 table {
124     margin-left: auto;
125     margin-right: auto;
126     }
127    
128 wakaba 1.4 /* Physical Blocks */
129    
130     pre {
131     display: block;
132     overflow: auto;
133     font-family: "Courier New", "Courier", monospace;
134     }
135    
136 wakaba 1.3 /* Phrase */
137 wakaba 1.2
138 wakaba 1.1 code {
139     font-family: "Courier New", "Courier", monospace;
140     letter-spacing: 0.1em;
141 wakaba 1.10 background-color: transparent;
142     color: orangered;
143 wakaba 1.1 }
144    
145 wakaba 1.4 var {
146 wakaba 1.13 border-bottom-style: solid;
147     border-bottom-width: 1px;
148     padding-bottom: 0.025em;
149 wakaba 1.4 font-style: normal;
150 wakaba 1.13 text-decoration: none;
151 wakaba 1.1 }
152 wakaba 1.4 var:lang(en) {
153 wakaba 1.14 border-bottom-style: none;
154 wakaba 1.4 font-family: "Times New Roman", serif;
155     font-style: italic;
156     text-decoration: none;
157 wakaba 1.1 }
158    
159 wakaba 1.12 /* Defining Instances */
160 wakaba 1.3 dfn {
161     font-style: normal;
162     font-weight: bolder;
163 wakaba 1.12 font-family: sans-serif;
164 wakaba 1.14 font-size: 100%;
165 wakaba 1.3 }
166 wakaba 1.4 dfn:lang(en) {
167     font-style: italic;
168     font-weight: normal;
169 wakaba 1.12 font-family: "Times New Roman", "Times", serif;
170 wakaba 1.4 }
171 wakaba 1.3
172 wakaba 1.5 /* Inputs */
173 wakaba 1.3 kbd {
174     font-family: "Courier New", "Courier", monospace;
175     font-size: 100%;
176     line-height: 1.1;
177 wakaba 1.9 border: gray 1px outset;
178 wakaba 1.5 padding: 0.1em;
179 wakaba 1.3 }
180    
181 wakaba 1.2 em {
182 wakaba 1.14 border-bottom-style: solid;
183     border-bottom-width: 1px;
184     padding-bottom: 0.03em;
185 wakaba 1.2 font-style: normal;
186 wakaba 1.14 text-decoration: none;
187     font-size: 100%;
188 wakaba 1.2 }
189    
190 wakaba 1.3 em:lang(en) {
191     font-style: italic;
192     text-decoration: none;
193 wakaba 1.2 }
194    
195 wakaba 1.13 strong {
196     font-weight: bolder;
197     font-family: sans-serif;
198     }
199     /* Alternate: h1|em */
200    
201 wakaba 1.14 /* Citations and quotations */
202    
203 wakaba 1.1 /*
204     * $B8@8l>pJs$G>l9gJ,$1$9$k$N$O@5$7$/$J$$$,!"8=:_$N(B CSS
205     * $B$K$OMQ;z7O$NA*Br;R$,$J$$$+$i!"6a;wE*$K$3$l$r;H$&!#(B
206     */
207    
208 wakaba 1.14 :lang(ja) > cite {
209     quotes: none;
210 wakaba 1.1 font-style: normal;
211     }
212 wakaba 1.14 :lang(ja) > cite:before {
213     content: "$B!X(B";
214 wakaba 1.1 }
215 wakaba 1.14 :lang(ja) > cite:after {
216     content: "$B!Y(B";
217 wakaba 1.1 }
218 wakaba 1.14
219 wakaba 1.12 cite:lang(ja) cite {
220 wakaba 1.14 quotes: none;
221 wakaba 1.12 }
222 wakaba 1.14 cite:lang(ja) cite:before { content: "$B!V(B" }
223     cite:lang(ja) cite:after { content: "$B!W(B" }
224    
225 wakaba 1.1 [lang|="en"] cite, [xml|lang|="en"] cite {
226     quotes: none;
227     font-style: italic;
228     }
229     [lang|="en"] cite cite, [xml|lang|="en"] cite cite {
230     quotes: none;
231     font-style: normal;
232     }
233     [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
234     [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
235     content: none;
236     }
237    
238 wakaba 1.14 :lang(ja) > q {
239     quotes: none;
240     }
241     :lang(ja) > q:before {
242     content: "$B!V(B";
243     }
244     :lang(ja) > q:after {
245     content: "$B!W(B";
246     }
247    
248 wakaba 1.3 /* Table */
249    
250     table {
251 wakaba 1.6 border: 1px solid gray;
252     border-spacing: 0;
253 wakaba 1.3 }
254    
255     thead, tfoot, th {
256 wakaba 1.6 font-weight: bolder;
257 wakaba 1.14 font-family: sans-serif;
258 wakaba 1.3 }
259    
260     td, th {
261     padding: 0.2em 0.4em;
262 wakaba 1.6 border: 1px solid #E0E0E0;
263 wakaba 1.3 }
264    
265 wakaba 1.6 th[scope="row"], th[scope="rowgroup"] {
266     text-align: left;
267     border-right: 1px solid #C0C0C0;
268 wakaba 1.1 }
269 wakaba 1.6 th[scope="col"], th[scope="colgroup"] {
270     text-align: center;
271     border-bottom: 1px solid #C0C0C0;
272 wakaba 1.1 }
273    
274 wakaba 1.5 /* Subscripts and Superscripts */
275    
276     sub {
277     vertical-align: sub;
278     font-size: 80%;
279     }
280     sup {
281     vertical-align: top;
282     font-size: 80%;
283     }
284    
285    
286 wakaba 1.3 /* Edit */
287    
288     ins {
289 wakaba 1.14 border-bottom-style: solid;
290     border-bottom-width: 1px;
291     padding-bottom: 0.03em;
292 wakaba 1.5 background-color: rgb(255, 255, 153);
293 wakaba 1.3 color: black;
294 wakaba 1.14 font-style: normal;
295     text-decoration: none;
296 wakaba 1.5 }
297    
298     body > ins {
299     display: block;
300     text-decoration: none;
301 wakaba 1.3 }
302    
303     del {
304     background-color: #FFBBBB;
305     color: black;
306 wakaba 1.4 font-size: 80%;
307 wakaba 1.3 }
308    
309 wakaba 1.5 body > del {
310     display: block;
311     }
312    
313 wakaba 1.3 /* Footer */
314    
315     address {
316     font-style: normal;
317     font-size: 100%;
318     }
319    
320 wakaba 1.9 /* Hyperlinks */
321    
322 wakaba 1.13 a:link, a:visited {
323     text-decoration: none;
324     border-bottom-style: solid;
325     border-bottom-width: 1px;
326     padding-bottom: 0.05em;
327     }
328    
329 wakaba 1.9 [href^="#"]:link, [href^="#"]:visited {
330     text-decoration: none !important;
331     border-bottom: dotted 1px !important;
332     }
333    
334     a:hover {
335     background-color: #FFA;
336     color: #000080;
337     }
338    
339 wakaba 1.10 /* Forms */
340    
341     textarea {
342     vertical-align: top;
343     }
344    
345 wakaba 1.1 /* License
346    
347 wakaba 1.4 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
348 wakaba 1.1
349     This program is free software; you can redistribute it and/or modify
350     it under the terms of the GNU General Public License as published by
351     the Free Software Foundation; either version 2 of the License, or
352     (at your option) any later version.
353    
354     This program is distributed in the hope that it will be useful,
355     but WITHOUT ANY WARRANTY; without even the implied warranty of
356     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
357     GNU General Public License for more details.
358    
359     You should have received a copy of the GNU General Public License
360     along with this program; see the file COPYING. If not, write to
361     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
362     Boston, MA 02111-1307, USA.
363    
364     */
365    
366 wakaba 1.14 /* $Date: 2005/06/08 12:37:31 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24