/[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.20 - (hide annotations) (download) (as text)
Sat Aug 6 04:22:56 2005 UTC (19 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.19: +14 -1 lines
File MIME type: text/css
(li or dd > .non-para): Don't take horizontal margin

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.20 text-align: justify;
76 wakaba 1.1 }
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.20 :lang(en) > q {
306     quote: none;
307     }
308    
309     :lang(en) > q:before {
310     content: "$B!H(B";
311     }
312    
313     :lang(en) > q:after {
314     content: "$B!I(B";
315     }
316    
317 wakaba 1.16 /* Tables */
318 wakaba 1.3
319     table {
320 wakaba 1.6 border: 1px solid gray;
321     border-spacing: 0;
322 wakaba 1.3 }
323    
324     thead, tfoot, th {
325 wakaba 1.6 font-weight: bolder;
326 wakaba 1.14 font-family: sans-serif;
327 wakaba 1.3 }
328    
329     td, th {
330     padding: 0.2em 0.4em;
331 wakaba 1.6 border: 1px solid #E0E0E0;
332 wakaba 1.16 empty-cells: show;
333 wakaba 1.3 }
334    
335 wakaba 1.6 th[scope="row"], th[scope="rowgroup"] {
336     text-align: left;
337     border-right: 1px solid #C0C0C0;
338 wakaba 1.1 }
339 wakaba 1.6 th[scope="col"], th[scope="colgroup"] {
340     text-align: center;
341     border-bottom: 1px solid #C0C0C0;
342 wakaba 1.1 }
343    
344 wakaba 1.5 /* Subscripts and Superscripts */
345    
346     sub {
347     vertical-align: sub;
348     font-size: 80%;
349     }
350     sup {
351     vertical-align: top;
352     font-size: 80%;
353     }
354    
355    
356 wakaba 1.3 /* Edit */
357    
358     ins {
359 wakaba 1.14 border-bottom-style: solid;
360     border-bottom-width: 1px;
361     padding-bottom: 0.03em;
362 wakaba 1.5 background-color: rgb(255, 255, 153);
363 wakaba 1.3 color: black;
364 wakaba 1.14 font-style: normal;
365     text-decoration: none;
366 wakaba 1.5 }
367    
368     body > ins {
369     display: block;
370     text-decoration: none;
371 wakaba 1.3 }
372    
373     del {
374     background-color: #FFBBBB;
375     color: black;
376 wakaba 1.4 font-size: 80%;
377 wakaba 1.18 text-decoration: line-through;
378 wakaba 1.3 }
379    
380 wakaba 1.5 body > del {
381     display: block;
382     }
383    
384 wakaba 1.3 /* Footer */
385    
386     address {
387     font-style: normal;
388     font-size: 100%;
389     }
390    
391 wakaba 1.9 /* Hyperlinks */
392    
393 wakaba 1.13 a:link, a:visited {
394     text-decoration: none;
395     border-bottom-style: solid;
396     border-bottom-width: 1px;
397     padding-bottom: 0.05em;
398     }
399    
400 wakaba 1.9 [href^="#"]:link, [href^="#"]:visited {
401     text-decoration: none !important;
402     border-bottom: dotted 1px !important;
403     }
404    
405     a:hover {
406     background-color: #FFA;
407     color: #000080;
408     }
409    
410 wakaba 1.10 /* Forms */
411    
412     textarea {
413     vertical-align: top;
414     }
415    
416 wakaba 1.1 /* License
417    
418 wakaba 1.4 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
419 wakaba 1.1
420     This program is free software; you can redistribute it and/or modify
421     it under the terms of the GNU General Public License as published by
422     the Free Software Foundation; either version 2 of the License, or
423     (at your option) any later version.
424    
425     This program is distributed in the hope that it will be useful,
426     but WITHOUT ANY WARRANTY; without even the implied warranty of
427     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
428     GNU General Public License for more details.
429    
430     You should have received a copy of the GNU General Public License
431     along with this program; see the file COPYING. If not, write to
432     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
433     Boston, MA 02111-1307, USA.
434    
435     */
436    
437 wakaba 1.20 /* $Date: 2005/07/25 10:59:02 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24  
Google Analytics is used in this page; Cookies are used. 忍者AdMax is used in this page; Cookies are used. Privacy policy.