/[suikacvs]/test/suikawebwww/style/html/xhtml2.css
Suika

Contents of /test/suikawebwww/style/html/xhtml2.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download) (as text)
Tue Nov 16 07:38:24 2004 UTC (20 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +53 -2 lines
File MIME type: text/css
xhtml2:var, xhtml2:dl, html3:note supported

1 wakaba 1.1 @namespace 'http://www.w3.org/2002/06/xhtml2';
2    
3     html {
4     display: block;
5     line-height: 2.0;
6     }
7     head {
8     display: block;
9     max-width: 0;
10     max-height: 0;
11     visibility: hidden;
12     overflow: hidden;
13     }
14    
15     title {
16     display: inline;
17     -moz-binding: url(../ui/title.xbl#title);
18     }
19    
20     link {
21     display: inline;
22     -moz-binding: url(xhtml2-translate.xbl#copy-as-child);
23     }
24    
25     meta {
26     display: inline;
27     -moz-binding: url(xhtml2-translate.xbl#meta);
28     }
29    
30     body {
31     display: block;
32     margin: 1em 1.5em;
33     }
34    
35     section {
36     display: block;
37     margin: 1em 0.5em;
38     }
39    
40     section + section {
41     margin-top: 1em;
42     }
43    
44     h {
45     display: block;
46     margin-left: -0.5em;
47     margin-bottom: 0.5em;
48     font-size: 120%;
49     font-weight: bolder;
50     line-height: 1.2;
51     }
52    
53     body > h { /* h1 */
54     margin-left: 2em;
55     margin-right: 2em;
56     text-align: center;
57     font-size: 140%;
58     }
59    
60     p {
61     display: block;
62 wakaba 1.2 margin: 0.3em 0;
63     padding: 0;
64 wakaba 1.1 text-indent: 1em;
65     text-align: justify;
66     }
67    
68     l {
69     display: block;
70     }
71    
72     blockquote, blockcode {
73     display: block;
74     }
75    
76     blockcode, code, samp, kbd {
77     font-family: "Courier New", "Courier", monospace;
78     letter-spacing: 0.1em;
79     }
80    
81     code.uri:before, code.mail:before {
82     content: "<";
83     }
84     code.uri:after, code.mail:after {
85     content: ">";
86     }
87     code.math {
88     font-family: "Times New Roman", "Times", serif;
89     }
90     var {
91     font-style: italic;
92     }
93     dfn {
94     font-weight: bolder;
95     }
96    
97     /* List */
98    
99     ul, ol, nl {
100     display: block;
101     }
102     li {
103     display: list-item;
104 wakaba 1.2 margin-left: 2em;
105     padding-left: 0.5em;
106 wakaba 1.1 }
107     label {
108     display: block;
109     font-weight: bolder;
110 wakaba 1.2 text-decoration: underline;
111     }
112    
113     dl {
114     display: block;
115     margin-top: 0.4em;
116     margin-bottom: 0.4em;
117     padding: 0;
118     }
119     di {
120     display: block;
121     margin: 0.3em 1em;
122     padding: 0;
123     }
124     dt {
125     display: list-item;
126     list-style-item: disc;
127     margin: 0;
128     padding: 0 0 0 0.5em;
129     }
130     dd {
131     display: block;
132     display: run-in;
133     margin: 0 0 0 3em;
134     padding: 0;
135     }
136    
137     /* dl old style */
138     /* Note. dl should have di */
139     dl > dt {
140     margin: 0.3em 0 0 0;
141     border-right: red 2px solid;
142     }
143     dl > dd {
144     margin: 0 0 0.3em 3em;
145     border-right: red 2px solid;
146 wakaba 1.1 }
147    
148     /* Link */
149     [href] {
150     color: blue;
151     border: hidden thin blue;
152     cursor: pointer;
153     }
154     [href] {
155     color: -moz-hyperlinktext;
156     }
157     [href]:hover {
158     color: inherit;
159     border: solid thin -moz-hyperlinktext;
160     }
161    
162     /*
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     [xml|lang|="ja"] cite {
168     quotes: "$B!X(B" "$B!Y(B" "$B!V(B" "$B!W(B";
169     font-style: normal;
170     }
171     [xml|lang|="ja"] cite:before {
172     content: open-quote;
173     }
174     [xml|lang|="ja"] cite:after {
175     content: close-quote;
176     }
177     [xml|lang|="en"] cite {
178     quotes: none;
179     font-style: italic;
180     }
181     [xml|lang|="en"] cite cite {
182     quotes: none;
183     font-style: normal;
184     }
185     [xml|lang|="en"] cite:before,
186     [xml|lang|="en"] cite:after {
187     content: none;
188     }
189    
190 wakaba 1.2 var {
191     font-style: italic;
192     text-decoration: none;
193     }
194     var:lang(ja) {
195     font-style: normal;
196     text-decoration: underline;
197     }
198     var:lang(en) {
199     font-family: "Times New Roman", serif;
200     }
201    
202 wakaba 1.1 th[scope="row"] {
203     text-align: left;
204     }
205     th[scope="col"] {
206     text-align: center;
207     }
208    
209     /* License
210    
211     Copyright 2003-2004 Wakaba <w@suika.fam.cx>.
212    
213     This program is free software; you can redistribute it and/or modify
214     it under the terms of the GNU General Public License as published by
215     the Free Software Foundation; either version 2 of the License, or
216     (at your option) any later version.
217    
218     This program is distributed in the hope that it will be useful,
219     but WITHOUT ANY WARRANTY; without even the implied warranty of
220     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
221     GNU General Public License for more details.
222    
223     You should have received a copy of the GNU General Public License
224     along with this program; see the file COPYING. If not, write to
225     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
226     Boston, MA 02111-1307, USA.
227    
228     */
229    
230 wakaba 1.2 /* $Date: 2004/10/25 00:06:22 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24