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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Tue May 31 10:04:41 2005 UTC (20 years, 9 months ago) by wakaba
Branch: MAIN
File MIME type: text/css
New style sheets for XHTML 2 new namespace and URI-related definitions created

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24