/[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.22 - (hide annotations) (download) (as text)
Tue Dec 13 13:26:11 2005 UTC (20 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.21: +17 -4 lines
File MIME type: text/css
Spec style split

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24