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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24