/[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.13 - (hide annotations) (download) (as text)
Wed Jun 8 12:37:31 2005 UTC (19 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.12: +18 -2 lines
File MIME type: text/css
*** empty log message ***

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

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.