/[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.19 - (hide annotations) (download) (as text)
Mon Jul 25 10:59:02 2005 UTC (20 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.18: +1 -2 lines
File MIME type: text/css
Link to auto-toc removed

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24