/[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.12 - (show annotations) (download) (as text)
Mon Jul 25 08:46:14 2005 UTC (20 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.11: +3 -2 lines
File MIME type: text/css
xhtml2-dynamic.xbl: New

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24