1 |
wakaba |
1.1 |
@charset 'iso-2022-jp'; |
2 |
wakaba |
1.3 |
@namespace H3 'urn:x-suika-fam-cx:markup:ietf:html:3:draft:00:'; |
3 |
wakaba |
1.1 |
@namespace 'http://www.w3.org/1999/xhtml'; |
4 |
wakaba |
1.3 |
@namespace h2 'http://www.w3.org/2002/06/xhtml2'; |
5 |
wakaba |
1.1 |
@namespace xml 'http://www.w3.org/XML/1998/namespace'; |
6 |
wakaba |
1.8 |
@namespace sd 'http://suika.fam.cx/~wakaba/archive/2005/3/common-class#'; |
7 |
wakaba |
1.1 |
|
8 |
wakaba |
1.3 |
/* Sections */ |
9 |
|
|
|
10 |
|
|
div.section { |
11 |
|
|
display: block; |
12 |
|
|
} |
13 |
|
|
/* XML Alternate: h2|section */ |
14 |
|
|
|
15 |
wakaba |
1.5 |
/* Column Sections */ |
16 |
|
|
.column, .column.example { |
17 |
|
|
display: block; |
18 |
|
|
margin: 1em auto; |
19 |
|
|
border: rgb(85, 79, 160) 2px solid; |
20 |
|
|
-moz-border-radius: 3%; |
21 |
|
|
padding: 1em; |
22 |
|
|
max-width: 80%; |
23 |
|
|
} |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
/* Paragraphs */ |
27 |
|
|
div.para { |
28 |
|
|
display: block; |
29 |
|
|
text-indent: 1em; |
30 |
|
|
margin: 0 1em; |
31 |
|
|
text-align: justify; |
32 |
|
|
} |
33 |
wakaba |
1.7 |
div.para:lang(en) { |
34 |
|
|
text-indent: 2em; |
35 |
|
|
} |
36 |
wakaba |
1.5 |
/* XML Alternate: h2|p */ |
37 |
|
|
|
38 |
wakaba |
1.3 |
/* Figure */ |
39 |
|
|
.fig { |
40 |
|
|
display: block; |
41 |
|
|
margin: 1em auto; |
42 |
wakaba |
1.5 |
border: rgb(85, 79, 160) 2px solid; |
43 |
|
|
-moz-border-radius: 3%; |
44 |
wakaba |
1.3 |
padding: 0; |
45 |
|
|
max-width: 80%; |
46 |
|
|
} |
47 |
|
|
/* XML Alternate: ???:fig */ |
48 |
|
|
|
49 |
|
|
.fig-body { |
50 |
|
|
display: block; |
51 |
|
|
margin: 1em; |
52 |
|
|
padding: 0; |
53 |
|
|
} |
54 |
|
|
|
55 |
wakaba |
1.7 |
.fig .credit { |
56 |
|
|
display: block; |
57 |
|
|
margin-left: 40%; |
58 |
|
|
text-align: right; |
59 |
|
|
} |
60 |
|
|
.fig .credit:before { |
61 |
|
|
content: "$B!=!=(B "; |
62 |
|
|
} |
63 |
|
|
|
64 |
|
|
.fig.quote blockquote { |
65 |
|
|
margin: 0 1em; |
66 |
|
|
border-style: none; |
67 |
|
|
padding: 0; |
68 |
|
|
} |
69 |
|
|
|
70 |
wakaba |
1.2 |
/* Note */ |
71 |
|
|
|
72 |
|
|
.note { |
73 |
|
|
margin-top: 1em; |
74 |
|
|
margin-bottom: 1em; |
75 |
wakaba |
1.3 |
margin-right: 5em; |
76 |
wakaba |
1.2 |
text-indent: 0; |
77 |
wakaba |
1.3 |
background-color: transparent; |
78 |
|
|
color: green; |
79 |
wakaba |
1.2 |
} |
80 |
|
|
/* NOTE: Don't use :before since old documents do or do not have |
81 |
|
|
text of "Note: " or so on as part of character data. */ |
82 |
|
|
/* XML Alternate: H3|note */ |
83 |
|
|
|
84 |
wakaba |
1.5 |
/* .note.memo (= H3|note), .rationale.memo */ |
85 |
|
|
.memo { |
86 |
|
|
display: block; |
87 |
|
|
margin: 0.3em 2em; |
88 |
|
|
padding: 0; |
89 |
|
|
color: green; |
90 |
|
|
background-color: transparent; |
91 |
|
|
font-style: normal; |
92 |
|
|
} |
93 |
|
|
.memo > :first-child:before { |
94 |
|
|
display: inline; |
95 |
|
|
content: "$BCm0U(B: "; |
96 |
|
|
font-weight: bolder; |
97 |
|
|
} |
98 |
|
|
.memo.info > :first-child:before { |
99 |
|
|
content: "$B;29M(B: "; |
100 |
|
|
} |
101 |
|
|
.rationale.memo > :first-child:before { |
102 |
|
|
content: "$B2r@b(B: "; |
103 |
|
|
} |
104 |
|
|
.memo:lang(en) { |
105 |
|
|
/* NOTE: Selector should be "script=Latin" rather than "lang=en" |
106 |
|
|
if there would such a selector... */ |
107 |
|
|
font-style: italic; |
108 |
|
|
} |
109 |
|
|
.memo:lang(en) > :first-child:before { |
110 |
|
|
content: "Note. "; |
111 |
|
|
} |
112 |
|
|
.rationale:lang(en) > :first-child:before { |
113 |
|
|
content: "Rationale. "; |
114 |
|
|
} |
115 |
wakaba |
1.6 |
.memo > p:first-child, .memo > .para:first-child { |
116 |
wakaba |
1.5 |
text-indent: -3em; |
117 |
|
|
margin-left: 3em; |
118 |
|
|
} |
119 |
|
|
|
120 |
wakaba |
1.3 |
/* Example */ |
121 |
|
|
|
122 |
wakaba |
1.2 |
.example { |
123 |
|
|
border: 1px solid rgb(153, 153, 153); |
124 |
|
|
padding: 0.5em; |
125 |
|
|
background-color: rgb(255, 248, 221); |
126 |
|
|
color: rgb(102, 0, 0); |
127 |
|
|
} |
128 |
|
|
.example:before { |
129 |
|
|
content: "$BNc(B: "; |
130 |
wakaba |
1.3 |
font-weight: bolder; |
131 |
|
|
font-family: sans-serif; |
132 |
wakaba |
1.2 |
} |
133 |
|
|
.example:lang(en):before { |
134 |
wakaba |
1.3 |
content: "Example. "; |
135 |
|
|
} |
136 |
|
|
|
137 |
wakaba |
1.4 |
/* For compatibility with old documents */ |
138 |
|
|
pre.example { |
139 |
|
|
padding-left: 2em; |
140 |
|
|
} |
141 |
|
|
pre.example:before { |
142 |
|
|
display: block; |
143 |
|
|
text-indent: -1em; |
144 |
|
|
} |
145 |
|
|
|
146 |
wakaba |
1.5 |
.fig.example:before, .column.example:before { |
147 |
wakaba |
1.3 |
content: ""; |
148 |
|
|
} |
149 |
|
|
|
150 |
|
|
.example .comment { |
151 |
|
|
background-color: transparent; |
152 |
|
|
color: green; |
153 |
|
|
text-decoration: none; |
154 |
|
|
font-family: "MS Mincho", "Times New Roman", serif; |
155 |
|
|
} |
156 |
|
|
|
157 |
|
|
/* Block Captions */ |
158 |
|
|
|
159 |
|
|
.fig .caption { |
160 |
|
|
display: block; |
161 |
|
|
text-align: center; |
162 |
|
|
font-weight: bolder; |
163 |
|
|
font-family: sans-serif; |
164 |
|
|
} |
165 |
|
|
.fig > .caption:lang(en) { |
166 |
|
|
font-weight: normal; |
167 |
|
|
font-family: serif; |
168 |
|
|
font-transform: small-caps; |
169 |
|
|
font-style: italic; |
170 |
|
|
} |
171 |
|
|
|
172 |
|
|
.fig > .caption:before { |
173 |
wakaba |
1.5 |
content: "$B?^(B: "; |
174 |
|
|
} |
175 |
|
|
.fig > .caption:lang(en):before { |
176 |
|
|
content: "Figure. "; |
177 |
|
|
} |
178 |
|
|
.fig.example > .caption:before { |
179 |
wakaba |
1.3 |
content: "$BNc(B: "; |
180 |
|
|
} |
181 |
wakaba |
1.5 |
.fig.example > .caption:lang(en):before { |
182 |
wakaba |
1.2 |
content: "Example. "; |
183 |
|
|
} |
184 |
|
|
|
185 |
wakaba |
1.3 |
/* Inline Captions */ |
186 |
|
|
|
187 |
wakaba |
1.6 |
p .caption, li .caption { |
188 |
wakaba |
1.3 |
font-weight: bolder; |
189 |
|
|
font-family: sans-serif; |
190 |
|
|
} |
191 |
|
|
/* Example: <p class="note"><span class="caption">Note.</span> ...</p> */ |
192 |
|
|
|
193 |
|
|
/* Phrases */ |
194 |
|
|
|
195 |
|
|
code.uri, code.mail { |
196 |
|
|
font-size: smaller; |
197 |
|
|
font-style: italic; |
198 |
|
|
font-family: "Times New Roman", "Times", serif; |
199 |
|
|
} |
200 |
|
|
|
201 |
|
|
h2|code[class~="uri"]:before, h2|code[class~="mail"]:before { |
202 |
|
|
content: "<"; |
203 |
|
|
} |
204 |
|
|
h2|code[class~="uri"]:after, h2|code[class~="mail"]:after { |
205 |
|
|
content: ">"; |
206 |
|
|
} |
207 |
|
|
/* Note. Some XHTML 1 documents have enclosing "<" and ">" and |
208 |
|
|
others does not. */ |
209 |
|
|
|
210 |
|
|
h2|code[class~="file"]:before, h2|code[class~="file"]:after { |
211 |
|
|
content: '"'; |
212 |
|
|
color: graytext; |
213 |
|
|
} |
214 |
|
|
|
215 |
|
|
code.math, code[class~="uri"] { |
216 |
|
|
font-family: "Times New Roman", "Times", serif; |
217 |
|
|
} |
218 |
|
|
|
219 |
wakaba |
1.5 |
.qname-prefix { |
220 |
|
|
font-style: italic; |
221 |
|
|
font-family: "Times New Roman", "Times", serif; |
222 |
|
|
} |
223 |
|
|
|
224 |
wakaba |
1.7 |
cite.bibref { |
225 |
|
|
vertical-align: super; |
226 |
|
|
font-style: normal; |
227 |
|
|
font-size: 75%; |
228 |
|
|
line-height: 1.1; |
229 |
|
|
} |
230 |
|
|
cite.bibref:before, cite.bibref:after { |
231 |
|
|
content: ""; |
232 |
|
|
} |
233 |
|
|
|
234 |
wakaba |
1.2 |
/* Emphasis */ |
235 |
|
|
|
236 |
|
|
.weak { |
237 |
|
|
font-size: 80%; |
238 |
|
|
color: GrayText; |
239 |
|
|
background-color: transparent; |
240 |
|
|
} |
241 |
|
|
|
242 |
|
|
/* Footer */ |
243 |
|
|
|
244 |
wakaba |
1.8 |
.footer, *|*[class~="footer"], sd|footer, |
245 |
wakaba |
1.3 |
/* Old styles (discouraged) */ |
246 |
|
|
#footer, #FOOTER, body > address, body > .update |
247 |
|
|
{ |
248 |
wakaba |
1.8 |
display: block; |
249 |
wakaba |
1.3 |
margin: 2em 0 0 0; |
250 |
|
|
border-top: gray 1px solid; |
251 |
|
|
padding-top: 10px; |
252 |
|
|
} |
253 |
|
|
|
254 |
|
|
/* Old style footer (discouraged) */ |
255 |
|
|
body address + .update { |
256 |
|
|
margin: 0; |
257 |
|
|
border-top: gray 0 none; |
258 |
|
|
padding-top: 0; |
259 |
|
|
} |
260 |
|
|
|
261 |
wakaba |
1.8 |
.update, sd|update { |
262 |
|
|
display: block; |
263 |
|
|
} |
264 |
|
|
|
265 |
|
|
.update:before, *|*[class~="update"]:before, sd|update:before { |
266 |
wakaba |
1.2 |
content: "$B=$@5(B: "; |
267 |
|
|
} |
268 |
wakaba |
1.8 |
.update:lang(en):before, *|*[class~="update"]:lang(en):before, |
269 |
|
|
sd|update:lang(en):before { |
270 |
wakaba |
1.2 |
content: "Modified: "; |
271 |
|
|
} |
272 |
|
|
|
273 |
wakaba |
1.8 |
/* Validated logo (discouraged) */ |
274 |
wakaba |
1.2 |
#w3c-html, #w3c-css { |
275 |
|
|
float: right; |
276 |
|
|
width: 88px; |
277 |
|
|
height: 31px; |
278 |
|
|
border: none; |
279 |
|
|
} |
280 |
wakaba |
1.1 |
|
281 |
|
|
/* License |
282 |
|
|
|
283 |
wakaba |
1.3 |
Copyright 2003-2005 Wakaba <w@suika.fam.cx>. |
284 |
wakaba |
1.1 |
|
285 |
|
|
This program is free software; you can redistribute it and/or modify |
286 |
|
|
it under the terms of the GNU General Public License as published by |
287 |
|
|
the Free Software Foundation; either version 2 of the License, or |
288 |
|
|
(at your option) any later version. |
289 |
|
|
|
290 |
|
|
This program is distributed in the hope that it will be useful, |
291 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
292 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
293 |
|
|
GNU General Public License for more details. |
294 |
|
|
|
295 |
|
|
You should have received a copy of the GNU General Public License |
296 |
|
|
along with this program; see the file COPYING. If not, write to |
297 |
|
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
298 |
|
|
Boston, MA 02111-1307, USA. |
299 |
|
|
|
300 |
|
|
*/ |
301 |
|
|
|
302 |
wakaba |
1.8 |
/* $Date: 2005/03/14 00:40:15 $ */ |