/[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.7 - (hide annotations) (download) (as text)
Tue Mar 8 11:58:04 2005 UTC (20 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.6: +4 -1 lines
File MIME type: text/css
Use toc.xbl

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24