/[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.16 - (hide annotations) (download) (as text)
Mon Jul 4 12:29:04 2005 UTC (20 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.15: +34 -2 lines
File MIME type: text/css
Rules for @media print added

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.1 li:first-child:last-child {
113     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     @media screen {
183     abbr[title] {
184     border-bottom: 1px dotted #FF0080;
185     padding-bottom: 0.025em;
186     cursor: help;
187     }
188     }
189    
190 wakaba 1.12 /* Defining Instances */
191 wakaba 1.3 dfn {
192     font-style: normal;
193     font-weight: bolder;
194 wakaba 1.12 font-family: sans-serif;
195 wakaba 1.14 font-size: 100%;
196 wakaba 1.3 }
197 wakaba 1.4 dfn:lang(en) {
198     font-style: italic;
199     font-weight: normal;
200 wakaba 1.12 font-family: "Times New Roman", "Times", serif;
201 wakaba 1.4 }
202 wakaba 1.3
203 wakaba 1.15 /* Technical Term Instances (HTML5) */
204     i {
205     border-style: none;
206     font-style: normal;
207     font-size: 100%;
208     text-decoration: none;
209     }
210    
211 wakaba 1.5 /* Inputs */
212 wakaba 1.3 kbd {
213     font-family: "Courier New", "Courier", monospace;
214     font-size: 100%;
215     line-height: 1.1;
216 wakaba 1.9 border: gray 1px outset;
217 wakaba 1.5 padding: 0.1em;
218 wakaba 1.3 }
219    
220 wakaba 1.2 em {
221 wakaba 1.14 border-bottom-style: solid;
222     border-bottom-width: 1px;
223     padding-bottom: 0.03em;
224 wakaba 1.2 font-style: normal;
225 wakaba 1.14 text-decoration: none;
226     font-size: 100%;
227 wakaba 1.2 }
228    
229 wakaba 1.3 em:lang(en) {
230     font-style: italic;
231     text-decoration: none;
232 wakaba 1.2 }
233    
234 wakaba 1.13 strong {
235     font-weight: bolder;
236     font-family: sans-serif;
237     }
238     /* Alternate: h1|em */
239    
240 wakaba 1.14 /* Citations and quotations */
241    
242 wakaba 1.1 /*
243     * $B8@8l>pJs$G>l9gJ,$1$9$k$N$O@5$7$/$J$$$,!"8=:_$N(B CSS
244     * $B$K$OMQ;z7O$NA*Br;R$,$J$$$+$i!"6a;wE*$K$3$l$r;H$&!#(B
245     */
246    
247 wakaba 1.14 :lang(ja) > cite {
248     quotes: none;
249 wakaba 1.1 font-style: normal;
250     }
251 wakaba 1.14 :lang(ja) > cite:before {
252     content: "$B!X(B";
253 wakaba 1.1 }
254 wakaba 1.14 :lang(ja) > cite:after {
255     content: "$B!Y(B";
256 wakaba 1.1 }
257 wakaba 1.14
258 wakaba 1.12 cite:lang(ja) cite {
259 wakaba 1.14 quotes: none;
260 wakaba 1.12 }
261 wakaba 1.14 cite:lang(ja) cite:before { content: "$B!V(B" }
262     cite:lang(ja) cite:after { content: "$B!W(B" }
263    
264 wakaba 1.1 [lang|="en"] cite, [xml|lang|="en"] cite {
265     quotes: none;
266     font-style: italic;
267     }
268     [lang|="en"] cite cite, [xml|lang|="en"] cite cite {
269     quotes: none;
270     font-style: normal;
271     }
272     [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
273     [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
274     content: none;
275     }
276    
277 wakaba 1.14 :lang(ja) > q {
278     quotes: none;
279     }
280     :lang(ja) > q:before {
281     content: "$B!V(B";
282     }
283     :lang(ja) > q:after {
284     content: "$B!W(B";
285     }
286    
287 wakaba 1.16 /* Tables */
288 wakaba 1.3
289     table {
290 wakaba 1.6 border: 1px solid gray;
291     border-spacing: 0;
292 wakaba 1.3 }
293    
294     thead, tfoot, th {
295 wakaba 1.6 font-weight: bolder;
296 wakaba 1.14 font-family: sans-serif;
297 wakaba 1.3 }
298    
299     td, th {
300     padding: 0.2em 0.4em;
301 wakaba 1.6 border: 1px solid #E0E0E0;
302 wakaba 1.16 empty-cells: show;
303 wakaba 1.3 }
304    
305 wakaba 1.6 th[scope="row"], th[scope="rowgroup"] {
306     text-align: left;
307     border-right: 1px solid #C0C0C0;
308 wakaba 1.1 }
309 wakaba 1.6 th[scope="col"], th[scope="colgroup"] {
310     text-align: center;
311     border-bottom: 1px solid #C0C0C0;
312 wakaba 1.1 }
313    
314 wakaba 1.5 /* Subscripts and Superscripts */
315    
316     sub {
317     vertical-align: sub;
318     font-size: 80%;
319     }
320     sup {
321     vertical-align: top;
322     font-size: 80%;
323     }
324    
325    
326 wakaba 1.3 /* Edit */
327    
328     ins {
329 wakaba 1.14 border-bottom-style: solid;
330     border-bottom-width: 1px;
331     padding-bottom: 0.03em;
332 wakaba 1.5 background-color: rgb(255, 255, 153);
333 wakaba 1.3 color: black;
334 wakaba 1.14 font-style: normal;
335     text-decoration: none;
336 wakaba 1.5 }
337    
338     body > ins {
339     display: block;
340     text-decoration: none;
341 wakaba 1.3 }
342    
343     del {
344     background-color: #FFBBBB;
345     color: black;
346 wakaba 1.4 font-size: 80%;
347 wakaba 1.3 }
348    
349 wakaba 1.5 body > del {
350     display: block;
351     }
352    
353 wakaba 1.3 /* Footer */
354    
355     address {
356     font-style: normal;
357     font-size: 100%;
358     }
359    
360 wakaba 1.9 /* Hyperlinks */
361    
362 wakaba 1.13 a:link, a:visited {
363     text-decoration: none;
364     border-bottom-style: solid;
365     border-bottom-width: 1px;
366     padding-bottom: 0.05em;
367     }
368    
369 wakaba 1.9 [href^="#"]:link, [href^="#"]:visited {
370     text-decoration: none !important;
371     border-bottom: dotted 1px !important;
372     }
373    
374     a:hover {
375     background-color: #FFA;
376     color: #000080;
377     }
378    
379 wakaba 1.10 /* Forms */
380    
381     textarea {
382     vertical-align: top;
383     }
384    
385 wakaba 1.1 /* License
386    
387 wakaba 1.4 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
388 wakaba 1.1
389     This program is free software; you can redistribute it and/or modify
390     it under the terms of the GNU General Public License as published by
391     the Free Software Foundation; either version 2 of the License, or
392     (at your option) any later version.
393    
394     This program is distributed in the hope that it will be useful,
395     but WITHOUT ANY WARRANTY; without even the implied warranty of
396     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
397     GNU General Public License for more details.
398    
399     You should have received a copy of the GNU General Public License
400     along with this program; see the file COPYING. If not, write to
401     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
402     Boston, MA 02111-1307, USA.
403    
404     */
405    
406 wakaba 1.16 /* $Date: 2005/06/25 14:04:01 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24