/[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.5 - (hide annotations) (download) (as text)
Tue Feb 15 12:34:12 2005 UTC (21 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +27 -4 lines
File MIME type: text/css
Rules modified

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24