/[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.10 - (hide annotations) (download) (as text)
Wed Jun 8 12:37:31 2005 UTC (19 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.9: +3 -1 lines
File MIME type: text/css
*** empty log message ***

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24