1 |
wakaba |
1.1 |
@charset 'iso-2022-jp'; |
2 |
wakaba |
1.21 |
@import 'http://suika.fam.cx/www/style/ui/toc-style-float-compact.css'; |
3 |
wakaba |
1.3 |
@namespace H3 'urn:x-suika-fam-cx:markup:ietf:html:3:draft:00:'; |
4 |
wakaba |
1.1 |
@namespace 'http://www.w3.org/1999/xhtml'; |
5 |
wakaba |
1.10 |
@namespace h2002 'http://www.w3.org/2002/06/xhtml2'; |
6 |
|
|
@namespace h2005 'http://www.w3.org/2002/06/xhtml2/'; |
7 |
wakaba |
1.1 |
@namespace xml 'http://www.w3.org/XML/1998/namespace'; |
8 |
wakaba |
1.8 |
@namespace sd 'http://suika.fam.cx/~wakaba/archive/2005/3/common-class#'; |
9 |
wakaba |
1.1 |
|
10 |
wakaba |
1.14 |
/* Document Header in Body */ |
11 |
|
|
|
12 |
|
|
html.formal-specification div.header { |
13 |
|
|
display: block; |
14 |
|
|
padding-bottom: 1em; |
15 |
|
|
border-bottom: 2px groove #C0C0C0; |
16 |
|
|
} |
17 |
|
|
|
18 |
|
|
/* Title */ |
19 |
|
|
html.formal-specification h1 { |
20 |
|
|
margin-bottom: 0; |
21 |
|
|
text-align: left; |
22 |
|
|
line-height: 1.5; |
23 |
|
|
font-size: 170%; |
24 |
|
|
} |
25 |
|
|
|
26 |
|
|
html.formal-specification h1 + h1:lang(en) { |
27 |
|
|
margin-top: 0; |
28 |
|
|
font-size: 120%; |
29 |
wakaba |
1.18 |
} |
30 |
|
|
|
31 |
|
|
@media screen { |
32 |
|
|
html.formal-specification h1 + h1:lang(en) { |
33 |
|
|
opacity: 0.3; |
34 |
|
|
} |
35 |
wakaba |
1.14 |
} |
36 |
|
|
|
37 |
|
|
/* Status and Date */ |
38 |
|
|
html.formal-specification h1 + h2 { |
39 |
|
|
margin-top: 0.67em; |
40 |
|
|
text-align: left; |
41 |
|
|
line-height: 1.5; |
42 |
|
|
font-size: 140%; |
43 |
|
|
} |
44 |
|
|
|
45 |
wakaba |
1.10 |
/* Document Status */ |
46 |
|
|
.status-work-in-progress { |
47 |
|
|
background-image: url(http://suika.fam.cx/www/style/draft-bg); |
48 |
|
|
background-position: top center; |
49 |
|
|
background-repeat: repeat-y; |
50 |
|
|
background-attachment: fixed; |
51 |
|
|
} |
52 |
|
|
|
53 |
wakaba |
1.14 |
/* Versions URI and Authors */ |
54 |
|
|
dl.versions-uri, dl.authors { |
55 |
|
|
display: block; |
56 |
|
|
margin-left: 0; |
57 |
|
|
} |
58 |
|
|
|
59 |
|
|
dl.versions-uri { |
60 |
|
|
margin-bottom: 0; |
61 |
|
|
} |
62 |
|
|
|
63 |
|
|
dl.versions-uri + * { |
64 |
|
|
margin-top: 1em; |
65 |
|
|
} |
66 |
|
|
|
67 |
|
|
dl.versions-uri + dl.authors { |
68 |
|
|
margin-top: 0; |
69 |
|
|
} |
70 |
|
|
|
71 |
|
|
dl.versions-uri > dt, |
72 |
|
|
dl.authors > dt { |
73 |
|
|
display: block; |
74 |
|
|
margin-left: 0; |
75 |
|
|
border-style: none; |
76 |
|
|
padding-left: 0; |
77 |
|
|
list-style-type: none; |
78 |
|
|
font-weight: bolder; |
79 |
|
|
font-family: sans-serif; |
80 |
|
|
} |
81 |
|
|
dl.versions-uri > dt:after, |
82 |
|
|
dl.authors > dt:after { |
83 |
|
|
content: " :"; |
84 |
|
|
} |
85 |
|
|
|
86 |
|
|
dl.versions-uri > dd, |
87 |
|
|
dl.authors > dd { |
88 |
|
|
display: block; |
89 |
|
|
margin-left: 2.3em; |
90 |
|
|
border-style: none; |
91 |
|
|
padding-left: 0; |
92 |
|
|
list-style-type: none; |
93 |
|
|
} |
94 |
|
|
|
95 |
|
|
/* Short Legal Notes */ |
96 |
|
|
div.header p.copyright { |
97 |
|
|
margin-left: 0; |
98 |
|
|
text-indent: 0; |
99 |
|
|
font-size: smaller; |
100 |
wakaba |
1.18 |
} |
101 |
|
|
|
102 |
|
|
@media screen { |
103 |
|
|
div.header p.copyright { |
104 |
|
|
opacity: 0.7; |
105 |
|
|
} |
106 |
wakaba |
1.14 |
} |
107 |
|
|
|
108 |
wakaba |
1.3 |
/* Sections */ |
109 |
|
|
|
110 |
|
|
div.section { |
111 |
|
|
display: block; |
112 |
|
|
} |
113 |
|
|
/* XML Alternate: h2|section */ |
114 |
|
|
|
115 |
wakaba |
1.14 |
html.formal-specification h1, |
116 |
|
|
html.formal-specification h2, |
117 |
|
|
html.formal-specification h3, |
118 |
wakaba |
1.15 |
html.formal-specification h4, |
119 |
|
|
html.formal-specification h5, |
120 |
|
|
html.formal-specification h6 { |
121 |
wakaba |
1.14 |
color: #400080; |
122 |
|
|
background-color: transparent; |
123 |
|
|
} |
124 |
|
|
|
125 |
|
|
html.formal-specification h2, |
126 |
|
|
html.formal-specification div.appendix h3 { |
127 |
|
|
font-size: 140%; |
128 |
|
|
} |
129 |
|
|
|
130 |
|
|
html.formal-specification h2:before { |
131 |
|
|
content: ""; |
132 |
|
|
content: counter(chapter) ". "; |
133 |
|
|
counter-increment: chapter; |
134 |
|
|
counter-reset: section; |
135 |
|
|
} |
136 |
|
|
|
137 |
|
|
html.formal-specification div.appendix h3:before { |
138 |
|
|
content: counter(appendix, upper-alpha) "." counter(chapter) ". "; |
139 |
|
|
counter-increment: chapter; |
140 |
|
|
counter-reset: section; |
141 |
|
|
} |
142 |
|
|
|
143 |
|
|
html.formal-specification div.header > h2:before, |
144 |
|
|
html.formal-specification div.section#ABSTRACT > h2:before, |
145 |
|
|
html.formal-specification div.section#STATUS > h2:before { |
146 |
|
|
content: ""; |
147 |
|
|
content: normal; |
148 |
|
|
counter-increment: none; |
149 |
|
|
} |
150 |
|
|
|
151 |
|
|
html.formal-specification h3, |
152 |
|
|
html.formal-spefification div.appendix h4 { |
153 |
|
|
font-size: 120%; |
154 |
|
|
} |
155 |
|
|
|
156 |
|
|
html.formal-specification h3:before { |
157 |
|
|
content: ""; |
158 |
|
|
content: counter(chapter) "." counter(section) ". "; |
159 |
|
|
counter-increment: section; |
160 |
|
|
} |
161 |
|
|
|
162 |
|
|
html.formal-specification h4:before { |
163 |
|
|
content: ""; |
164 |
|
|
content: counter(appendix, upper-alpha) "." |
165 |
|
|
counter(chapter) "." counter(section) ". "; |
166 |
|
|
counter-increment: section; |
167 |
wakaba |
1.15 |
counter-reset: subsection; |
168 |
|
|
} |
169 |
|
|
|
170 |
|
|
html.formal-specification h5:before { |
171 |
|
|
content: ""; |
172 |
|
|
content: counter(appendix, upper-alpha) "." |
173 |
|
|
counter(chapter) "." counter(section) "." |
174 |
|
|
counter(subsection)". "; |
175 |
|
|
counter-increment: subsection; |
176 |
wakaba |
1.14 |
} |
177 |
|
|
|
178 |
wakaba |
1.9 |
div.section.normative h2:after { |
179 |
|
|
content: " (規定) "; |
180 |
|
|
} |
181 |
|
|
div.section.normative h2:lang(en):after { |
182 |
|
|
content: " (Normative) "; |
183 |
|
|
} |
184 |
wakaba |
1.10 |
div#REFERENCE.section.normative h2:after { |
185 |
|
|
display: none; |
186 |
|
|
content: ""; |
187 |
|
|
} |
188 |
wakaba |
1.9 |
|
189 |
wakaba |
1.17 |
div.section.informative > h2:after, |
190 |
|
|
div.section.informative > h3:after { |
191 |
wakaba |
1.9 |
content: " (参考) "; |
192 |
|
|
} |
193 |
wakaba |
1.17 |
div.section.informative > h2:lang(en):after, |
194 |
|
|
div.section.informative > h3:lang(en):after { |
195 |
wakaba |
1.9 |
content: " (Informative) "; |
196 |
|
|
} |
197 |
wakaba |
1.17 |
div#INFORMATIVE-REFERENCE.section.informative > h2:after { |
198 |
wakaba |
1.10 |
display: none; |
199 |
|
|
content: ""; |
200 |
|
|
} |
201 |
wakaba |
1.9 |
|
202 |
|
|
div.section.appendix { |
203 |
wakaba |
1.20 |
counter-reset: chapter; |
204 |
|
|
} |
205 |
|
|
|
206 |
|
|
html.formal-specification div.section.appendix { |
207 |
wakaba |
1.9 |
margin-top: 5em; |
208 |
|
|
border-top: solid black 1px; |
209 |
|
|
padding-top: 1em; |
210 |
|
|
} |
211 |
|
|
|
212 |
wakaba |
1.18 |
@media print { |
213 |
wakaba |
1.20 |
html.formal-specification div.section.appendix { |
214 |
wakaba |
1.18 |
border-style: none; |
215 |
|
|
page-break-before: always; |
216 |
|
|
} |
217 |
|
|
} |
218 |
|
|
|
219 |
wakaba |
1.20 |
html.formal-specification div.section.appendix h2 { |
220 |
wakaba |
1.9 |
text-align: center; |
221 |
|
|
} |
222 |
|
|
|
223 |
|
|
div.section.appendix h2:before { |
224 |
wakaba |
1.20 |
content: "附録 " counter(appendix, upper-alpha); |
225 |
|
|
display: inline; |
226 |
|
|
counter-increment: appendix; |
227 |
|
|
counter-reset: section; |
228 |
|
|
} |
229 |
|
|
|
230 |
|
|
html.formal-specification div.section.appendix h2:before { |
231 |
wakaba |
1.9 |
content: "附属書"; |
232 |
wakaba |
1.14 |
content: "附属書 " counter(appendix, upper-alpha); |
233 |
wakaba |
1.9 |
display: block; |
234 |
|
|
} |
235 |
wakaba |
1.20 |
|
236 |
wakaba |
1.9 |
div.section.appendix h2:lang(en):before { |
237 |
|
|
content: "Appendix"; |
238 |
wakaba |
1.14 |
content: "Appendix " counter(appendix, upper-alpha); |
239 |
wakaba |
1.9 |
} |
240 |
wakaba |
1.20 |
|
241 |
wakaba |
1.9 |
div.section.appendix h2:after { |
242 |
|
|
display: block; |
243 |
|
|
font-size: smaller; |
244 |
|
|
color: #C0C0C0; |
245 |
|
|
background-color: transparent; |
246 |
|
|
font-weight: normal; |
247 |
|
|
} |
248 |
|
|
|
249 |
wakaba |
1.10 |
/* TOC */ |
250 |
|
|
|
251 |
wakaba |
1.18 |
@media screen { |
252 |
|
|
body:not(.has-abstract) > h1, #ABSTRACT, |
253 |
wakaba |
1.19 |
body:not(.has-abstract) > div.header > h1, |
254 |
wakaba |
1.18 |
h2002|body > h2002|h, |
255 |
wakaba |
1.20 |
h2005|body:not([class~="has-abstract"]) > h2005|h { |
256 |
wakaba |
1.18 |
-moz-binding: url(http://suika.fam.cx/www/style/ui/toc#after); |
257 |
|
|
} |
258 |
wakaba |
1.10 |
} |
259 |
|
|
|
260 |
wakaba |
1.5 |
/* Column Sections */ |
261 |
|
|
.column, .column.example { |
262 |
|
|
display: block; |
263 |
|
|
margin: 1em auto; |
264 |
|
|
border: rgb(85, 79, 160) 2px solid; |
265 |
|
|
-moz-border-radius: 3%; |
266 |
|
|
padding: 1em; |
267 |
|
|
max-width: 80%; |
268 |
|
|
} |
269 |
|
|
|
270 |
|
|
|
271 |
|
|
/* Paragraphs */ |
272 |
|
|
div.para { |
273 |
|
|
display: block; |
274 |
|
|
text-indent: 1em; |
275 |
|
|
margin: 0 1em; |
276 |
|
|
text-align: justify; |
277 |
|
|
} |
278 |
wakaba |
1.9 |
/* XML Alternate: h2|p */ |
279 |
|
|
|
280 |
wakaba |
1.7 |
div.para:lang(en) { |
281 |
|
|
text-indent: 2em; |
282 |
|
|
} |
283 |
wakaba |
1.9 |
|
284 |
|
|
div.para > * { |
285 |
|
|
text-indent: 0; |
286 |
|
|
} |
287 |
|
|
|
288 |
|
|
div.non-para { |
289 |
|
|
display: block; |
290 |
|
|
text-indent: 0; |
291 |
|
|
margin: 0 1em; |
292 |
|
|
text-align: auto; |
293 |
|
|
} |
294 |
wakaba |
1.5 |
|
295 |
wakaba |
1.18 |
/* Semi-paragraphs */ |
296 |
|
|
span.line { |
297 |
|
|
display: block; |
298 |
|
|
text-indent: 0; |
299 |
|
|
} |
300 |
|
|
/* XML alternate: h2|l */ |
301 |
|
|
|
302 |
wakaba |
1.3 |
/* Figure */ |
303 |
|
|
.fig { |
304 |
|
|
display: block; |
305 |
|
|
margin: 1em auto; |
306 |
wakaba |
1.5 |
border: rgb(85, 79, 160) 2px solid; |
307 |
|
|
-moz-border-radius: 3%; |
308 |
wakaba |
1.3 |
padding: 0; |
309 |
|
|
max-width: 80%; |
310 |
|
|
} |
311 |
|
|
/* XML Alternate: ???:fig */ |
312 |
|
|
|
313 |
|
|
.fig-body { |
314 |
|
|
display: block; |
315 |
|
|
margin: 1em; |
316 |
|
|
padding: 0; |
317 |
|
|
} |
318 |
|
|
|
319 |
wakaba |
1.7 |
.fig .credit { |
320 |
|
|
display: block; |
321 |
|
|
margin-left: 40%; |
322 |
wakaba |
1.19 |
margin-right: 2em; |
323 |
wakaba |
1.7 |
text-align: right; |
324 |
|
|
} |
325 |
|
|
.fig .credit:before { |
326 |
|
|
content: "―― "; |
327 |
|
|
} |
328 |
|
|
|
329 |
|
|
.fig.quote blockquote { |
330 |
|
|
margin: 0 1em; |
331 |
|
|
border-style: none; |
332 |
|
|
padding: 0; |
333 |
|
|
} |
334 |
|
|
|
335 |
wakaba |
1.2 |
/* Note */ |
336 |
|
|
|
337 |
|
|
.note { |
338 |
|
|
margin-top: 1em; |
339 |
|
|
margin-bottom: 1em; |
340 |
wakaba |
1.3 |
margin-right: 5em; |
341 |
wakaba |
1.2 |
text-indent: 0; |
342 |
wakaba |
1.3 |
background-color: transparent; |
343 |
|
|
color: green; |
344 |
wakaba |
1.2 |
} |
345 |
|
|
/* NOTE: Don't use :before since old documents do or do not have |
346 |
|
|
text of "Note: " or so on as part of character data. */ |
347 |
|
|
/* XML Alternate: H3|note */ |
348 |
|
|
|
349 |
wakaba |
1.5 |
/* .note.memo (= H3|note), .rationale.memo */ |
350 |
|
|
.memo { |
351 |
|
|
display: block; |
352 |
wakaba |
1.14 |
margin: 0.3em 3em 0.3em 6em; |
353 |
wakaba |
1.9 |
padding: 0 0 0 2em; |
354 |
wakaba |
1.5 |
color: green; |
355 |
|
|
background-color: transparent; |
356 |
|
|
font-style: normal; |
357 |
|
|
} |
358 |
wakaba |
1.14 |
|
359 |
|
|
div.memo div.memo { |
360 |
|
|
margin-left: 4em; |
361 |
wakaba |
1.18 |
margin-right: 0; |
362 |
wakaba |
1.14 |
} |
363 |
|
|
|
364 |
wakaba |
1.5 |
.memo > :first-child:before { |
365 |
|
|
display: inline; |
366 |
wakaba |
1.17 |
content: "注意 : "; |
367 |
wakaba |
1.5 |
font-weight: bolder; |
368 |
wakaba |
1.14 |
font-family: sans-serif; |
369 |
wakaba |
1.5 |
} |
370 |
|
|
.memo.info > :first-child:before { |
371 |
wakaba |
1.17 |
content: "参考 : "; |
372 |
wakaba |
1.5 |
} |
373 |
|
|
.rationale.memo > :first-child:before { |
374 |
wakaba |
1.17 |
content: "解説 : "; |
375 |
wakaba |
1.5 |
} |
376 |
wakaba |
1.9 |
.memo.example > :first-child:before { |
377 |
wakaba |
1.17 |
content: "例 : "; |
378 |
|
|
margin-right: 0.8em; |
379 |
wakaba |
1.9 |
} |
380 |
wakaba |
1.5 |
.memo:lang(en) { |
381 |
|
|
/* NOTE: Selector should be "script=Latin" rather than "lang=en" |
382 |
|
|
if there would such a selector... */ |
383 |
|
|
font-style: italic; |
384 |
|
|
} |
385 |
|
|
.memo:lang(en) > :first-child:before { |
386 |
|
|
content: "Note. "; |
387 |
|
|
} |
388 |
|
|
.rationale:lang(en) > :first-child:before { |
389 |
|
|
content: "Rationale. "; |
390 |
|
|
} |
391 |
wakaba |
1.9 |
.memo.example:lang(en) > :first-child:before { |
392 |
|
|
content: "Example. "; |
393 |
|
|
} |
394 |
wakaba |
1.6 |
.memo > p:first-child, .memo > .para:first-child { |
395 |
wakaba |
1.5 |
text-indent: -3em; |
396 |
wakaba |
1.9 |
margin-left: 1em; |
397 |
|
|
} |
398 |
|
|
|
399 |
|
|
/* Pending */ |
400 |
|
|
|
401 |
|
|
.issue { |
402 |
|
|
background-color: rgb(221, 255, 221); |
403 |
|
|
color: black; |
404 |
|
|
} |
405 |
|
|
|
406 |
|
|
.ed { |
407 |
|
|
border: medium solid red; |
408 |
|
|
padding: 0.5em; |
409 |
|
|
color: rgb(229, 0, 0); |
410 |
|
|
background-color: transparent; |
411 |
wakaba |
1.5 |
} |
412 |
|
|
|
413 |
wakaba |
1.3 |
/* Example */ |
414 |
|
|
|
415 |
wakaba |
1.2 |
.example { |
416 |
|
|
border: 1px solid rgb(153, 153, 153); |
417 |
|
|
padding: 0.5em; |
418 |
|
|
background-color: rgb(255, 248, 221); |
419 |
|
|
color: rgb(102, 0, 0); |
420 |
|
|
} |
421 |
|
|
.example:before { |
422 |
|
|
content: "例: "; |
423 |
wakaba |
1.3 |
font-weight: bolder; |
424 |
|
|
font-family: sans-serif; |
425 |
wakaba |
1.2 |
} |
426 |
|
|
.example:lang(en):before { |
427 |
wakaba |
1.3 |
content: "Example. "; |
428 |
|
|
} |
429 |
|
|
|
430 |
wakaba |
1.9 |
.example.memo { |
431 |
|
|
border-style: none; |
432 |
|
|
background-color: transparent; |
433 |
wakaba |
1.17 |
color: green; |
434 |
wakaba |
1.9 |
} |
435 |
|
|
.example.memo:before { |
436 |
|
|
content: ""; |
437 |
|
|
display: none; |
438 |
|
|
} |
439 |
|
|
|
440 |
wakaba |
1.4 |
/* For compatibility with old documents */ |
441 |
|
|
pre.example { |
442 |
|
|
padding-left: 2em; |
443 |
|
|
} |
444 |
|
|
pre.example:before { |
445 |
|
|
display: block; |
446 |
|
|
text-indent: -1em; |
447 |
|
|
} |
448 |
|
|
|
449 |
wakaba |
1.5 |
.fig.example:before, .column.example:before { |
450 |
wakaba |
1.14 |
content: "" /* normal */; |
451 |
wakaba |
1.3 |
} |
452 |
|
|
|
453 |
|
|
.example .comment { |
454 |
|
|
background-color: transparent; |
455 |
|
|
color: green; |
456 |
|
|
text-decoration: none; |
457 |
|
|
font-family: "MS Mincho", "Times New Roman", serif; |
458 |
|
|
} |
459 |
|
|
|
460 |
wakaba |
1.19 |
/* Snip (Omittion) Indicator */ |
461 |
|
|
div.snip { |
462 |
|
|
margin-top: 1em; |
463 |
|
|
margin-bottom: 1em; |
464 |
|
|
text-align: center; |
465 |
|
|
} |
466 |
|
|
|
467 |
|
|
div.snip, span.snip { |
468 |
|
|
color: gray; |
469 |
|
|
background-color: transparent; |
470 |
wakaba |
1.20 |
font-family: serif; |
471 |
|
|
} |
472 |
|
|
|
473 |
|
|
/* Captions */ |
474 |
|
|
.caption { |
475 |
|
|
font-weight: bolder; |
476 |
|
|
font-family: sans-serif; |
477 |
wakaba |
1.19 |
} |
478 |
|
|
|
479 |
wakaba |
1.3 |
/* Block Captions */ |
480 |
|
|
|
481 |
|
|
.fig .caption { |
482 |
|
|
display: block; |
483 |
wakaba |
1.9 |
text-align: left; |
484 |
wakaba |
1.3 |
} |
485 |
|
|
.fig > .caption:lang(en) { |
486 |
|
|
font-weight: normal; |
487 |
|
|
font-family: serif; |
488 |
|
|
font-transform: small-caps; |
489 |
|
|
font-style: italic; |
490 |
|
|
} |
491 |
wakaba |
1.9 |
.fig > * + .caption { |
492 |
|
|
text-align: center; |
493 |
|
|
} |
494 |
wakaba |
1.3 |
|
495 |
|
|
.fig > .caption:before { |
496 |
wakaba |
1.5 |
content: "図: "; |
497 |
|
|
} |
498 |
|
|
.fig > .caption:lang(en):before { |
499 |
|
|
content: "Figure. "; |
500 |
|
|
} |
501 |
|
|
.fig.example > .caption:before { |
502 |
wakaba |
1.3 |
content: "例: "; |
503 |
|
|
} |
504 |
wakaba |
1.5 |
.fig.example > .caption:lang(en):before { |
505 |
wakaba |
1.2 |
content: "Example. "; |
506 |
|
|
} |
507 |
|
|
|
508 |
wakaba |
1.3 |
/* Inline Captions */ |
509 |
|
|
|
510 |
wakaba |
1.6 |
p .caption, li .caption { |
511 |
wakaba |
1.20 |
|
512 |
wakaba |
1.3 |
} |
513 |
|
|
/* Example: <p class="note"><span class="caption">Note.</span> ...</p> */ |
514 |
|
|
|
515 |
wakaba |
1.15 |
|
516 |
|
|
|
517 |
|
|
/* Lists */ |
518 |
|
|
|
519 |
|
|
dl.term-definition { |
520 |
|
|
display: block; |
521 |
|
|
counter-reset: term; |
522 |
|
|
} |
523 |
|
|
|
524 |
|
|
dl.term-definition > dt { |
525 |
|
|
display: inline; |
526 |
|
|
margin-left: 0; |
527 |
|
|
border-style: none; |
528 |
|
|
padding-left: 0; |
529 |
|
|
list-style-type: none; |
530 |
|
|
} |
531 |
|
|
|
532 |
|
|
html.formal-specification div.section div.section |
533 |
|
|
dl.term-definition > dd + dt { |
534 |
|
|
margin-top: 1em; |
535 |
|
|
} |
536 |
|
|
|
537 |
|
|
html.formal-specification div.section div.section |
538 |
|
|
dl.term-definition > dt:first-child:before, |
539 |
|
|
html.formal-specification div.section div.section |
540 |
|
|
dl.term-definition > dd + dt:before { |
541 |
|
|
display: block; |
542 |
|
|
content: counter(chapter) "." counter(section) "." counter(term) ". "; |
543 |
|
|
counter-increment: term; |
544 |
|
|
} |
545 |
|
|
|
546 |
|
|
dl.term-definition > dt:lang(ja) + dt:lang(en) { |
547 |
|
|
|
548 |
|
|
} |
549 |
|
|
dl.term-definition > dt:lang(ja) + dt:lang(en):before { |
550 |
|
|
content: " ("; |
551 |
|
|
} |
552 |
|
|
dl.term-definition > dt:lang(ja) + dt:lang(en):after { |
553 |
|
|
content: ")"; |
554 |
|
|
} |
555 |
|
|
|
556 |
|
|
dl.term-definition > dd { |
557 |
|
|
display: block; |
558 |
|
|
margin-left: 0; |
559 |
|
|
border-style: none; |
560 |
|
|
padding-left: 0; |
561 |
|
|
text-indent: 1em; |
562 |
|
|
} |
563 |
|
|
|
564 |
|
|
|
565 |
|
|
|
566 |
wakaba |
1.3 |
/* Phrases */ |
567 |
|
|
|
568 |
wakaba |
1.9 |
code.comment { |
569 |
|
|
color: green; |
570 |
|
|
background-color: transparent; |
571 |
|
|
} |
572 |
|
|
|
573 |
wakaba |
1.18 |
/* XML Infoset-style information properties */ |
574 |
|
|
code.infoprop { |
575 |
|
|
color: inherit; |
576 |
|
|
background-color: transparent; |
577 |
|
|
font-weight: bolder; |
578 |
|
|
font-family: sans-serif; |
579 |
|
|
} |
580 |
|
|
code.infoprop:before { |
581 |
|
|
content: " ["; |
582 |
|
|
} |
583 |
|
|
code.infoprop:after { |
584 |
|
|
content: "] "; |
585 |
|
|
} |
586 |
|
|
|
587 |
wakaba |
1.15 |
code.uri, code.URI, code.mail, code.newsgroup { |
588 |
wakaba |
1.3 |
font-size: smaller; |
589 |
|
|
font-style: italic; |
590 |
|
|
font-family: "Times New Roman", "Times", serif; |
591 |
|
|
} |
592 |
|
|
|
593 |
wakaba |
1.20 |
code.uri, code.URI, code.file, |
594 |
|
|
h2005|code[class~="file"] { |
595 |
wakaba |
1.16 |
-moz-binding: url(/www/style/text/wrap.xbl#wbr-uri); |
596 |
|
|
} |
597 |
|
|
|
598 |
|
|
code.mail, code.newsgroup { |
599 |
|
|
-moz-binding: url(/www/style/text/wrap.xbl#wbr-dotted); |
600 |
|
|
} |
601 |
|
|
|
602 |
wakaba |
1.9 |
code.uri a:link, code.uri a:visited, |
603 |
wakaba |
1.15 |
code.URI a:link, code.URI a:visited, |
604 |
wakaba |
1.9 |
code.mail a:link, code.mail a:visited, |
605 |
|
|
code.newsgroup a:link, code.newsgroup a:visited { |
606 |
|
|
border-style: none; |
607 |
|
|
text-decoration: none; |
608 |
|
|
color: inherit; |
609 |
|
|
background-color: transparent; |
610 |
|
|
font-style: inherit; |
611 |
|
|
} |
612 |
|
|
|
613 |
wakaba |
1.15 |
code.uri var, code.URI var, code.mail var, code.newsgroup var { |
614 |
wakaba |
1.12 |
border-style: none; |
615 |
|
|
font-style: normal; |
616 |
|
|
text-decoration: none; |
617 |
|
|
} |
618 |
|
|
|
619 |
wakaba |
1.15 |
dfn:lang(en) code.uri, dfn:lang(en) code.URI { |
620 |
|
|
font-style: normal; |
621 |
|
|
} |
622 |
|
|
|
623 |
wakaba |
1.9 |
|
624 |
wakaba |
1.10 |
h2002|code[class~="uri"]:before, h2002|code[class~="mail"]:before, |
625 |
|
|
h2005|code[class~="uri"]:before, h2005|code[class~="mail"]:before { |
626 |
wakaba |
1.3 |
content: "<"; |
627 |
|
|
} |
628 |
wakaba |
1.10 |
h2002|code[class~="uri"]:after, h2002|code[class~="mail"]:after, |
629 |
|
|
h2005|code[class~="uri"]:after, h2005|code[class~="mail"]:after { |
630 |
wakaba |
1.3 |
content: ">"; |
631 |
|
|
} |
632 |
|
|
/* Note. Some XHTML 1 documents have enclosing "<" and ">" and |
633 |
|
|
others does not. */ |
634 |
|
|
|
635 |
wakaba |
1.10 |
h2002|code[class~="file"]:before, h2002|code[class~="file"]:after, |
636 |
|
|
h2005|code[class~="file"]:before, h2005|code[class~="file"]:after { |
637 |
wakaba |
1.3 |
content: '"'; |
638 |
|
|
color: graytext; |
639 |
|
|
} |
640 |
|
|
|
641 |
|
|
code.math, code[class~="uri"] { |
642 |
|
|
font-family: "Times New Roman", "Times", serif; |
643 |
|
|
} |
644 |
|
|
|
645 |
wakaba |
1.15 |
/* Qualified Names */ |
646 |
|
|
|
647 |
|
|
.qname { |
648 |
wakaba |
1.16 |
-moz-binding: url(/www/style/text/wrap.xbl#wbr-qname); |
649 |
wakaba |
1.15 |
} |
650 |
|
|
|
651 |
wakaba |
1.18 |
.qname-prefix, abbr.qname-prefix { |
652 |
wakaba |
1.9 |
border-style: none; |
653 |
wakaba |
1.5 |
font-style: italic; |
654 |
|
|
font-family: "Times New Roman", "Times", serif; |
655 |
wakaba |
1.9 |
text-decoration: none; |
656 |
wakaba |
1.15 |
letter-spacing: 0.2em; /* Times is narrower than Courier */ |
657 |
|
|
} |
658 |
|
|
|
659 |
|
|
.qname-prefix[title="<http://www.w3.org/XML/1998/namespace>"] { |
660 |
|
|
font-style: normal; |
661 |
|
|
font-family: "Courier New", "Courier", monospace; |
662 |
|
|
letter-spacing: inherit; |
663 |
|
|
} |
664 |
|
|
|
665 |
|
|
.qname-local-name { |
666 |
|
|
|
667 |
wakaba |
1.9 |
} |
668 |
|
|
|
669 |
|
|
/* ISO/IEC 10646 style character names */ |
670 |
|
|
.charname { |
671 |
|
|
text-transform: lowercase; |
672 |
|
|
font-variant: small-caps; |
673 |
|
|
} |
674 |
|
|
|
675 |
|
|
/* ABNF Syntaxes */ |
676 |
|
|
|
677 |
wakaba |
1.16 |
code.ABNF { |
678 |
|
|
-moz-binding: url(/www/style/text/wrap.xbl#wbr-dotted); |
679 |
|
|
} |
680 |
|
|
|
681 |
wakaba |
1.9 |
dl.abnf { |
682 |
|
|
margin-left: 2em; |
683 |
|
|
margin-right: 2em; |
684 |
|
|
padding-left: 1em; |
685 |
wakaba |
1.17 |
padding-right: 1em; |
686 |
wakaba |
1.9 |
background-color: #F5DCB3; |
687 |
|
|
color: black; |
688 |
wakaba |
1.18 |
page-break-inside: avoid; |
689 |
wakaba |
1.9 |
} |
690 |
|
|
|
691 |
|
|
dl.abnf:before { |
692 |
|
|
content: "ABNF 構文定義"; |
693 |
|
|
display: block; |
694 |
wakaba |
1.17 |
margin-bottom: 0.2em; |
695 |
|
|
border-bottom: 1px solid; |
696 |
|
|
padding-top: 0.4em; |
697 |
|
|
padding-bottom: 0.2em; |
698 |
wakaba |
1.9 |
font-weight: bolder; |
699 |
|
|
font-family: sans-serif; |
700 |
|
|
} |
701 |
|
|
|
702 |
|
|
dl.abnf > dt { |
703 |
|
|
float: left; |
704 |
|
|
clear: left; |
705 |
wakaba |
1.11 |
width: 12em; |
706 |
wakaba |
1.9 |
list-style: none; |
707 |
|
|
margin-left: 1em; |
708 |
|
|
padding-left: 0; |
709 |
wakaba |
1.11 |
font-family: inherit; |
710 |
|
|
font-weight: normal; |
711 |
|
|
font-style: normal; |
712 |
wakaba |
1.5 |
} |
713 |
|
|
|
714 |
wakaba |
1.9 |
dl.abnf > dd { |
715 |
|
|
margin-left: 1em; |
716 |
|
|
padding-left: 1em; |
717 |
|
|
text-indent: -1em; |
718 |
|
|
} |
719 |
|
|
|
720 |
|
|
dl.abnf code.ABNF { |
721 |
|
|
color: black; |
722 |
|
|
background-color: transparent; |
723 |
|
|
} |
724 |
|
|
|
725 |
|
|
dl.abnf dt dfn { |
726 |
|
|
border-style: none; |
727 |
|
|
font-weight: normal; |
728 |
|
|
font-style: normal; |
729 |
wakaba |
1.11 |
font-family: inherit; |
730 |
wakaba |
1.9 |
text-decoration: none; |
731 |
|
|
} |
732 |
|
|
|
733 |
|
|
dl.abnf a:link[href^="#SYNTAX-"], dl.abnf a:visited[href^="#SYNTAX-"], |
734 |
|
|
code.ABNF a:link[href^="#SYNTAX-"], code.ABNF a:visited[href^="#SYNTAX-"] { |
735 |
|
|
border-style: none; |
736 |
|
|
text-decoration: none; |
737 |
|
|
color: inherit; |
738 |
|
|
background-color: transparent; |
739 |
|
|
} |
740 |
|
|
|
741 |
|
|
/* Citations */ |
742 |
|
|
|
743 |
wakaba |
1.19 |
cite.dc-title { |
744 |
|
|
|
745 |
|
|
} |
746 |
|
|
/* XML alternative: dc|title */ |
747 |
|
|
|
748 |
|
|
cite.dc-creator { |
749 |
|
|
|
750 |
|
|
} |
751 |
|
|
/* XML alternative: dc|creator */ |
752 |
|
|
|
753 |
|
|
cite.dc-creator:before, cite.dc-creator:after { |
754 |
|
|
content: ""; |
755 |
|
|
content: normal; |
756 |
|
|
} |
757 |
|
|
|
758 |
wakaba |
1.20 |
cite.section:before { |
759 |
|
|
content: "「"; |
760 |
|
|
} |
761 |
|
|
|
762 |
|
|
cite.section:after { |
763 |
|
|
content: "」"; |
764 |
|
|
} |
765 |
|
|
|
766 |
wakaba |
1.7 |
cite.bibref { |
767 |
wakaba |
1.9 |
vertical-align: 0.5em; |
768 |
wakaba |
1.7 |
font-style: normal; |
769 |
|
|
font-size: 75%; |
770 |
|
|
line-height: 1.1; |
771 |
wakaba |
1.9 |
color: gray; |
772 |
|
|
background-color: transparent; |
773 |
wakaba |
1.7 |
} |
774 |
wakaba |
1.10 |
|
775 |
|
|
cite.bibref.normative { |
776 |
|
|
color: red; |
777 |
|
|
} |
778 |
|
|
|
779 |
|
|
cite.bibref.informative { |
780 |
|
|
color: green; |
781 |
|
|
} |
782 |
|
|
|
783 |
wakaba |
1.7 |
cite.bibref:before, cite.bibref:after { |
784 |
wakaba |
1.14 |
content: "" /* normal */; |
785 |
wakaba |
1.7 |
} |
786 |
|
|
|
787 |
wakaba |
1.9 |
cite.bibref a:link, cite.bibref a:visited { |
788 |
|
|
border-style: none; |
789 |
|
|
text-decoration: none; |
790 |
|
|
color: inherit; |
791 |
|
|
background-color: transparent; |
792 |
|
|
} |
793 |
|
|
|
794 |
wakaba |
1.10 |
div.reference > dl > dt, |
795 |
wakaba |
1.9 |
#REFERENCE > dl > dt { |
796 |
|
|
width: 7em; |
797 |
|
|
float: left; |
798 |
|
|
clear: left; |
799 |
|
|
list-style: none; |
800 |
|
|
font-weight: normal; |
801 |
|
|
} |
802 |
|
|
|
803 |
wakaba |
1.10 |
div.normative.reference > dl > dt { |
804 |
|
|
color: red; |
805 |
|
|
background-color: transparent; |
806 |
|
|
} |
807 |
|
|
|
808 |
|
|
div.informative.reference > dl > dt { |
809 |
|
|
color: green; |
810 |
|
|
background-color: transparent; |
811 |
|
|
} |
812 |
|
|
|
813 |
|
|
div.reference > dl > dt:before, |
814 |
|
|
div#REFERENCE > dl > dt:before { |
815 |
wakaba |
1.9 |
content: "["; |
816 |
|
|
} |
817 |
wakaba |
1.10 |
|
818 |
|
|
div.reference > dl > dt:after, |
819 |
|
|
div#REFERENCE > dl > dt:after { |
820 |
wakaba |
1.9 |
content: "]"; |
821 |
|
|
} |
822 |
|
|
|
823 |
wakaba |
1.10 |
div.reference > dl > dd, |
824 |
|
|
div#REFERENCE > dl > dd { |
825 |
wakaba |
1.9 |
margin-left: 1em; |
826 |
|
|
margin-bottom: 1em; |
827 |
|
|
padding-left: 1em; |
828 |
|
|
} |
829 |
|
|
|
830 |
wakaba |
1.14 |
span.standard-number, a.standard-number, |
831 |
|
|
span.standard-section, a.standard-section { |
832 |
wakaba |
1.9 |
font-family: sans-serif; |
833 |
|
|
font-weight: bolder; |
834 |
|
|
text-decoration: none; |
835 |
|
|
} |
836 |
|
|
|
837 |
wakaba |
1.12 |
/* et. al */ |
838 |
wakaba |
1.9 |
.etal { |
839 |
|
|
font-style: normal; /* Not italic */ |
840 |
|
|
} |
841 |
|
|
|
842 |
wakaba |
1.2 |
/* Emphasis */ |
843 |
|
|
|
844 |
wakaba |
1.10 |
/* Block emphasis */ |
845 |
|
|
.key-point { |
846 |
|
|
display: block; |
847 |
wakaba |
1.12 |
width: 70%; |
848 |
wakaba |
1.14 |
_width: 100%; /* WinIE */ |
849 |
wakaba |
1.12 |
margin-left: auto; |
850 |
|
|
margin-right: auto; |
851 |
|
|
margin-top: 2em; |
852 |
|
|
margin-bottom: 2em; |
853 |
wakaba |
1.10 |
border: 1px rgb(228, 236, 236) solid; |
854 |
|
|
-moz-border-radius: 0.5em; |
855 |
|
|
padding: 1em; |
856 |
|
|
background-color: rgb(228, 236, 236); |
857 |
|
|
color: black; |
858 |
|
|
} |
859 |
|
|
|
860 |
wakaba |
1.13 |
span.weak, .example.memo span.weak { |
861 |
wakaba |
1.2 |
font-size: 80%; |
862 |
wakaba |
1.12 |
color: gray; |
863 |
|
|
background-color: transparent; |
864 |
|
|
} |
865 |
|
|
|
866 |
wakaba |
1.18 |
@media print { |
867 |
|
|
span.weak, .example.memo span.weak { |
868 |
|
|
color: inherit; |
869 |
|
|
background-color: transparent; |
870 |
|
|
} |
871 |
|
|
} |
872 |
|
|
|
873 |
wakaba |
1.12 |
.note span.weak { |
874 |
wakaba |
1.18 |
color: #92BA89; |
875 |
wakaba |
1.2 |
background-color: transparent; |
876 |
|
|
} |
877 |
|
|
|
878 |
wakaba |
1.20 |
th span.weak, thead span.weak, tfoot span.weak { |
879 |
|
|
font-weight: normal; |
880 |
|
|
font-family: -moz-initial; |
881 |
|
|
} |
882 |
|
|
|
883 |
|
|
em.abbr, dfn em.abbr { |
884 |
|
|
border-bottom-style: solid; |
885 |
|
|
border-bottom-width: 1px; |
886 |
|
|
padding-bottom: 0.03em; |
887 |
|
|
font-style: inherit; |
888 |
|
|
text-decoration: none; |
889 |
|
|
} |
890 |
|
|
|
891 |
wakaba |
1.17 |
em.rfc2119, em.rfc2119like { |
892 |
wakaba |
1.9 |
border-style: none; |
893 |
|
|
text-transform: lowercase; |
894 |
|
|
font-variant: small-caps; |
895 |
|
|
font-style: normal; |
896 |
|
|
text-decoration: none; |
897 |
|
|
font-weight: normal; |
898 |
|
|
font-family: sans-serif; |
899 |
|
|
} |
900 |
|
|
|
901 |
wakaba |
1.17 |
em.rfc2119:lang(ja), em.rfc2119like:lang(ja) { |
902 |
wakaba |
1.9 |
font-weight: bolder; |
903 |
wakaba |
1.14 |
font-family: sans-serif; |
904 |
|
|
font-variant: normal; |
905 |
wakaba |
1.9 |
} |
906 |
|
|
|
907 |
|
|
/* Hyperlinks */ |
908 |
|
|
|
909 |
|
|
a:link[rel="glossary"], a:visited[rel="glossary"] { |
910 |
|
|
border-style: none; |
911 |
wakaba |
1.18 |
background-color: transparent; |
912 |
|
|
color: inherit; |
913 |
wakaba |
1.9 |
text-decoration: none; |
914 |
wakaba |
1.18 |
font-size: 100%; |
915 |
|
|
} |
916 |
|
|
|
917 |
|
|
@media screen { |
918 |
|
|
a:link[rel="glossary"], a:visited[rel="glossary"] { |
919 |
|
|
border-bottom: 1px dotted #FF0080; |
920 |
|
|
padding-bottom: 0.025em; |
921 |
|
|
cursor: help; |
922 |
|
|
} |
923 |
wakaba |
1.9 |
} |
924 |
|
|
|
925 |
wakaba |
1.15 |
/* Right Marks such as ^(R) and ^TM */ |
926 |
|
|
sup.right { |
927 |
|
|
vertical-align: 0.7em; |
928 |
|
|
font-size: 50%; |
929 |
|
|
line-height: 1.0; |
930 |
|
|
} |
931 |
|
|
|
932 |
wakaba |
1.2 |
/* Footer */ |
933 |
|
|
|
934 |
wakaba |
1.8 |
.footer, *|*[class~="footer"], sd|footer, |
935 |
wakaba |
1.3 |
/* Old styles (discouraged) */ |
936 |
wakaba |
1.15 |
#footer, #FOOTER, body > address, body > .update, body > div.navigation |
937 |
wakaba |
1.3 |
{ |
938 |
wakaba |
1.8 |
display: block; |
939 |
wakaba |
1.3 |
margin: 2em 0 0 0; |
940 |
|
|
border-top: gray 1px solid; |
941 |
|
|
padding-top: 10px; |
942 |
|
|
} |
943 |
|
|
|
944 |
|
|
/* Old style footer (discouraged) */ |
945 |
wakaba |
1.15 |
body address + .update, |
946 |
|
|
body > div.navigation + div.update { |
947 |
wakaba |
1.3 |
margin: 0; |
948 |
|
|
border-top: gray 0 none; |
949 |
|
|
padding-top: 0; |
950 |
|
|
} |
951 |
|
|
|
952 |
wakaba |
1.18 |
@media print { |
953 |
|
|
div.navigation { |
954 |
|
|
display: none; |
955 |
|
|
} |
956 |
|
|
} |
957 |
|
|
|
958 |
wakaba |
1.8 |
.update, sd|update { |
959 |
|
|
display: block; |
960 |
|
|
} |
961 |
|
|
|
962 |
|
|
.update:before, *|*[class~="update"]:before, sd|update:before { |
963 |
wakaba |
1.2 |
content: "修正: "; |
964 |
|
|
} |
965 |
wakaba |
1.8 |
.update:lang(en):before, *|*[class~="update"]:lang(en):before, |
966 |
|
|
sd|update:lang(en):before { |
967 |
wakaba |
1.2 |
content: "Modified: "; |
968 |
|
|
} |
969 |
|
|
|
970 |
wakaba |
1.8 |
/* Validated logo (discouraged) */ |
971 |
wakaba |
1.2 |
#w3c-html, #w3c-css { |
972 |
|
|
float: right; |
973 |
|
|
width: 88px; |
974 |
|
|
height: 31px; |
975 |
|
|
border: none; |
976 |
|
|
} |
977 |
wakaba |
1.1 |
|
978 |
|
|
/* License |
979 |
|
|
|
980 |
wakaba |
1.3 |
Copyright 2003-2005 Wakaba <w@suika.fam.cx>. |
981 |
wakaba |
1.1 |
|
982 |
|
|
This program is free software; you can redistribute it and/or modify |
983 |
|
|
it under the terms of the GNU General Public License as published by |
984 |
|
|
the Free Software Foundation; either version 2 of the License, or |
985 |
|
|
(at your option) any later version. |
986 |
|
|
|
987 |
|
|
This program is distributed in the hope that it will be useful, |
988 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
989 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
990 |
|
|
GNU General Public License for more details. |
991 |
|
|
|
992 |
|
|
You should have received a copy of the GNU General Public License |
993 |
|
|
along with this program; see the file COPYING. If not, write to |
994 |
|
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
995 |
|
|
Boston, MA 02111-1307, USA. |
996 |
|
|
|
997 |
|
|
*/ |
998 |
|
|
|
999 |
wakaba |
1.21 |
/* $Date: 2005/07/25 08:46:14 $ */ |