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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24