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

1 wakaba 1.7 @import 'http://suika.fam.cx/www/style/ui/toc-style-float';
2 wakaba 1.1 @namespace 'http://www.w3.org/2002/06/xhtml2';
3 wakaba 1.4 @namespace h2 'http://www.w3.org/2002/06/xhtml2';
4 wakaba 1.1
5 wakaba 1.9 /* Status: OBSOLETE (Use <xhtml2-2005.css> with new XHTML 2 namespace URI) */
6    
7 wakaba 1.1 html {
8     display: block;
9     line-height: 2.0;
10     }
11     head {
12     display: block;
13     max-width: 0;
14     max-height: 0;
15     visibility: hidden;
16     overflow: hidden;
17     }
18    
19     title {
20     display: inline;
21     -moz-binding: url(../ui/title.xbl#title);
22     }
23    
24     link {
25     display: inline;
26     -moz-binding: url(xhtml2-translate.xbl#copy-as-child);
27     }
28    
29     meta {
30     display: inline;
31     -moz-binding: url(xhtml2-translate.xbl#meta);
32     }
33    
34     body {
35     display: block;
36     margin: 1em 1.5em;
37     }
38    
39     section {
40     display: block;
41     margin: 1em 0.5em;
42     }
43    
44     section + section {
45     margin-top: 1em;
46     }
47    
48     h {
49     display: block;
50     margin-left: -0.5em;
51     margin-bottom: 0.5em;
52     font-size: 120%;
53     font-weight: bolder;
54     line-height: 1.2;
55 wakaba 1.5 text-align: left;
56 wakaba 1.1 }
57    
58     body > h { /* h1 */
59     margin-left: 2em;
60     margin-right: 2em;
61     text-align: center;
62     font-size: 140%;
63 wakaba 1.7 -moz-binding: url(http://suika.fam.cx/www/style/ui/toc#after);
64 wakaba 1.1 }
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     label {
126     display: block;
127     font-weight: bolder;
128 wakaba 1.2 text-decoration: underline;
129     }
130    
131     dl {
132     display: block;
133     margin-top: 0.4em;
134     margin-bottom: 0.4em;
135     padding: 0;
136     }
137     di {
138     display: block;
139     margin: 0.3em 1em;
140     padding: 0;
141     }
142     dt {
143     display: list-item;
144     list-style-item: disc;
145     margin: 0;
146     padding: 0 0 0 0.5em;
147     }
148     dd {
149     display: block;
150     display: run-in;
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     content: none;
217     }
218    
219 wakaba 1.2 var {
220     font-style: italic;
221     text-decoration: none;
222     }
223     var:lang(ja) {
224     font-style: normal;
225     text-decoration: underline;
226     }
227     var:lang(en) {
228     font-family: "Times New Roman", serif;
229     }
230    
231 wakaba 1.1 th[scope="row"] {
232     text-align: left;
233     }
234     th[scope="col"] {
235     text-align: center;
236     }
237    
238 wakaba 1.4 /* Edit */
239    
240     h2|*[edit="inserted"] {
241 wakaba 1.6 background-color: rgb(255, 255, 153);
242 wakaba 1.4 color: black;
243     }
244    
245     h2|*[edit="deleted"] {
246     background-color: #FFBBBB;
247     color: black;
248     }
249    
250     h2|*[edit="changed"] {
251 wakaba 1.6 background-color: rgb(153, 255, 153);
252 wakaba 1.4 color: black;
253     }
254    
255     h2|*[edit="moved"] {
256    
257     }
258    
259 wakaba 1.1 /* License
260    
261 wakaba 1.5 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
262 wakaba 1.1
263     This program is free software; you can redistribute it and/or modify
264     it under the terms of the GNU General Public License as published by
265     the Free Software Foundation; either version 2 of the License, or
266     (at your option) any later version.
267    
268     This program is distributed in the hope that it will be useful,
269     but WITHOUT ANY WARRANTY; without even the implied warranty of
270     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
271     GNU General Public License for more details.
272    
273     You should have received a copy of the GNU General Public License
274     along with this program; see the file COPYING. If not, write to
275     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
276     Boston, MA 02111-1307, USA.
277    
278     */
279    
280 wakaba 1.9 /* $Date: 2005/03/14 00:40:15 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24