/[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.11 - (hide annotations) (download) (as text)
Tue May 31 10:04:41 2005 UTC (20 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.10: +1 -2 lines
File MIME type: text/css
New style sheets for XHTML 2 new namespace and URI-related definitions created

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24