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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.24 - (hide annotations) (download) (as text)
Sun Oct 7 09:18:13 2007 UTC (17 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.23: +19 -2 lines
File MIME type: text/css
*** empty log message ***

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24