/[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.32 - (hide annotations) (download) (as text)
Sun Apr 17 06:12:50 2011 UTC (14 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.31: +4 -3 lines
File MIME type: text/css
blockize

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24