/[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 - (show annotations) (download) (as text)
Tue May 31 10:04:41 2005 UTC (21 years, 1 month 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 @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 /* Status: OBSOLETE (Use <xhtml2-2005.css> with new XHTML 2 namespace URI) */
6
7 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 text-align: left;
56 }
57
58 body > h { /* h1 */
59 margin-left: 2em;
60 margin-right: 2em;
61 text-align: center;
62 font-size: 140%;
63 -moz-binding: url(http://suika.fam.cx/www/style/ui/toc#after);
64 }
65
66 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 p {
77 display: block;
78 margin: 0.3em 0;
79 padding: 0;
80 text-indent: 1em;
81 text-align: justify;
82 }
83 p:lang(en) {
84 text-indent: 2em;
85 }
86
87 l {
88 display: block;
89 }
90
91 blockquote, blockcode {
92 display: block;
93 }
94
95 div {
96 display: block;
97 margin: 0.3em 0;
98 padding: 0;
99 }
100
101 blockcode, code, samp, kbd {
102 font-family: "Courier New", "Courier", monospace;
103 letter-spacing: 0.1em;
104 }
105
106 /* Phrases */
107
108 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 margin-left: 2em;
123 padding-left: 0.5em;
124 }
125 label {
126 display: block;
127 font-weight: bolder;
128 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 overflow: auto;
154 }
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 }
166
167 /* Link */
168 [href] {
169 color: blue;
170 cursor: pointer;
171 text-decoration: none !important;
172 border-style: hidden;
173 border-width: 1px;
174 border-color: blue;
175 }
176 [href] {
177 color: -moz-hyperlinktext;
178 border-color: -moz-hyperlinktext;
179 -moz-binding: url(xhtml2-translate.xbl#href);
180 }
181 [href]:hover {
182 color: inherit;
183 border-style: solid;
184 border-width: 1px;
185 border-color: red;
186 }
187 [href]:active {
188 color: -moz-activehyperlinktext;
189 }
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 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 th[scope="row"] {
232 text-align: left;
233 }
234 th[scope="col"] {
235 text-align: center;
236 }
237
238 /* Edit */
239
240 h2|*[edit="inserted"] {
241 background-color: rgb(255, 255, 153);
242 color: black;
243 }
244
245 h2|*[edit="deleted"] {
246 background-color: #FFBBBB;
247 color: black;
248 }
249
250 h2|*[edit="changed"] {
251 background-color: rgb(153, 255, 153);
252 color: black;
253 }
254
255 h2|*[edit="moved"] {
256
257 }
258
259 /* License
260
261 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
262
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 /* $Date: 2005/03/14 00:40:15 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24