/[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.10 - (hide annotations) (download) (as text)
Fri May 20 12:15:25 2005 UTC (20 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.9: +21 -4 lines
File MIME type: text/css
Style rules for mini specifications 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.4 text-align: left;
29 wakaba 1.1 }
30    
31     h1 {
32     text-align: center;
33     font-size: 140%;
34 wakaba 1.7 -moz-binding: url(http://suika.fam.cx/www/style/ui/toc#after);
35 wakaba 1.1 }
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     font-style: normal;
142     text-decoration: underline;
143 wakaba 1.1 }
144 wakaba 1.4 var:lang(en) {
145     font-family: "Times New Roman", serif;
146     font-style: italic;
147     text-decoration: none;
148 wakaba 1.1 }
149    
150 wakaba 1.3 dfn {
151     font-style: normal;
152     font-weight: bolder;
153     }
154 wakaba 1.4 dfn:lang(en) {
155     font-style: italic;
156     font-weight: normal;
157     }
158 wakaba 1.3
159 wakaba 1.5 /* Inputs */
160 wakaba 1.3 kbd {
161     font-family: "Courier New", "Courier", monospace;
162     font-size: 100%;
163     line-height: 1.1;
164 wakaba 1.9 border: gray 1px outset;
165 wakaba 1.5 padding: 0.1em;
166 wakaba 1.3 }
167    
168 wakaba 1.2 em {
169     font-style: normal;
170     text-decoration: underline;
171     }
172    
173 wakaba 1.3 em:lang(en) {
174     font-style: italic;
175     text-decoration: none;
176 wakaba 1.2 }
177    
178 wakaba 1.1 /*
179     * $B8@8l>pJs$G>l9gJ,$1$9$k$N$O@5$7$/$J$$$,!"8=:_$N(B CSS
180     * $B$K$OMQ;z7O$NA*Br;R$,$J$$$+$i!"6a;wE*$K$3$l$r;H$&!#(B
181     */
182    
183     [lang|="ja"] cite, [xml|lang|="ja"] cite {
184     quotes: "$B!X(B" "$B!Y(B" "$B!V(B" "$B!W(B";
185     font-style: normal;
186     }
187     [lang|="ja"] cite:before, [xml|lang|="ja"] cite:before {
188     content: open-quote;
189     }
190     [lang|="ja"] cite:after, [xml|lang|="ja"] cite:after {
191     content: close-quote;
192     }
193     [lang|="en"] cite, [xml|lang|="en"] cite {
194     quotes: none;
195     font-style: italic;
196     }
197     [lang|="en"] cite cite, [xml|lang|="en"] cite cite {
198     quotes: none;
199     font-style: normal;
200     }
201     [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
202     [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
203     content: none;
204     }
205    
206 wakaba 1.3 /* Table */
207    
208     table {
209 wakaba 1.6 border: 1px solid gray;
210     border-spacing: 0;
211 wakaba 1.3 }
212    
213     thead, tfoot, th {
214 wakaba 1.6 font-weight: bolder;
215 wakaba 1.3 }
216    
217     td, th {
218     padding: 0.2em 0.4em;
219 wakaba 1.6 border: 1px solid #E0E0E0;
220 wakaba 1.3 }
221    
222 wakaba 1.6 th[scope="row"], th[scope="rowgroup"] {
223     text-align: left;
224     border-right: 1px solid #C0C0C0;
225 wakaba 1.1 }
226 wakaba 1.6 th[scope="col"], th[scope="colgroup"] {
227     text-align: center;
228     border-bottom: 1px solid #C0C0C0;
229 wakaba 1.1 }
230    
231 wakaba 1.5 /* Subscripts and Superscripts */
232    
233     sub {
234     vertical-align: sub;
235     font-size: 80%;
236     }
237     sup {
238     vertical-align: top;
239     font-size: 80%;
240     }
241    
242    
243 wakaba 1.3 /* Edit */
244    
245     ins {
246 wakaba 1.5 background-color: rgb(255, 255, 153);
247 wakaba 1.3 color: black;
248 wakaba 1.5 text-decoration: underline;
249     }
250    
251     body > ins {
252     display: block;
253     text-decoration: none;
254 wakaba 1.3 }
255    
256     del {
257     background-color: #FFBBBB;
258     color: black;
259 wakaba 1.4 font-size: 80%;
260 wakaba 1.3 }
261    
262 wakaba 1.5 body > del {
263     display: block;
264     }
265    
266 wakaba 1.3 /* Footer */
267    
268     address {
269     font-style: normal;
270     font-size: 100%;
271     }
272    
273 wakaba 1.9 /* Hyperlinks */
274    
275     [href^="#"]:link, [href^="#"]:visited {
276     text-decoration: none !important;
277     border-bottom: dotted 1px !important;
278     }
279    
280     a:hover {
281     background-color: #FFA;
282     color: #000080;
283     }
284    
285 wakaba 1.10 /* Forms */
286    
287     textarea {
288     vertical-align: top;
289     }
290    
291 wakaba 1.1 /* License
292    
293 wakaba 1.4 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
294 wakaba 1.1
295     This program is free software; you can redistribute it and/or modify
296     it under the terms of the GNU General Public License as published by
297     the Free Software Foundation; either version 2 of the License, or
298     (at your option) any later version.
299    
300     This program is distributed in the hope that it will be useful,
301     but WITHOUT ANY WARRANTY; without even the implied warranty of
302     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
303     GNU General Public License for more details.
304    
305     You should have received a copy of the GNU General Public License
306     along with this program; see the file COPYING. If not, write to
307     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
308     Boston, MA 02111-1307, USA.
309    
310     */
311    
312 wakaba 1.10 /* $Date: 2005/04/23 06:55:03 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24