/[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.14 - (hide annotations) (download) (as text)
Tue Dec 13 13:26:11 2005 UTC (19 years, 4 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +4 -4 lines
File MIME type: text/css
Spec style split

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24