/[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.18 - (hide annotations) (download) (as text)
Mon Jul 25 08:46:14 2005 UTC (20 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.17: +10 -3 lines
File MIME type: text/css
xhtml2-dynamic.xbl: New

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24