/[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.12 - (hide annotations) (download) (as text)
Fri Jun 3 10:34:08 2005 UTC (21 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.11: +9 -2 lines
File MIME type: text/css
Use sans-serif font-family for bolder texts

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24