/[suikacvs]/test/suikawebwww/style/html/common-class.css
Suika

Contents of /test/suikawebwww/style/html/common-class.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (hide annotations) (download) (as text)
Sat Aug 6 04:22:56 2005 UTC (20 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.21: +104 -4 lines
File MIME type: text/css
(li or dd > .non-para): Don't take horizontal margin

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.22
250     div.document-gnu-fdl h3 {
251     text-align: center;
252     }
253    
254     div.document-gnu-fdl h3:before,
255     div.document-gnu-fdl h4:before {
256     display: none;
257     content: "";
258     content: normal;
259     }
260    
261     /* Version and date */
262     div.document-gnu-fdl > h3 + div.non-para {
263     margin-bottom: 1em;
264     text-align: center;
265     }
266    
267 wakaba 1.10 /* TOC */
268    
269 wakaba 1.18 @media screen {
270     body:not(.has-abstract) > h1, #ABSTRACT,
271 wakaba 1.19 body:not(.has-abstract) > div.header > h1,
272 wakaba 1.18 h2002|body > h2002|h,
273 wakaba 1.20 h2005|body:not([class~="has-abstract"]) > h2005|h {
274 wakaba 1.18 -moz-binding: url(http://suika.fam.cx/www/style/ui/toc#after);
275     }
276 wakaba 1.10 }
277    
278 wakaba 1.5 /* Column Sections */
279     .column, .column.example {
280     display: block;
281     margin: 1em auto;
282     border: rgb(85, 79, 160) 2px solid;
283     -moz-border-radius: 3%;
284     padding: 1em;
285     max-width: 80%;
286     }
287    
288    
289     /* Paragraphs */
290     div.para {
291     display: block;
292     text-indent: 1em;
293     margin: 0 1em;
294     text-align: justify;
295     }
296 wakaba 1.9 /* XML Alternate: h2|p */
297    
298 wakaba 1.7 div.para:lang(en) {
299     text-indent: 2em;
300     }
301 wakaba 1.9
302     div.para > * {
303     text-indent: 0;
304     }
305    
306 wakaba 1.22 /* Paragraph-like blocks which are not strictly paragraphs */
307    
308     div.non-para, p.non-para {
309 wakaba 1.9 display: block;
310     text-indent: 0;
311     margin: 0 1em;
312     text-align: auto;
313     }
314 wakaba 1.5
315 wakaba 1.22 li > div.non-para, li > p.non-para,
316     dd > div.non-para, dd > p.non-para {
317     margin-left: 0;
318     margin-right: 0;
319     }
320    
321 wakaba 1.18 /* Semi-paragraphs */
322     span.line {
323     display: block;
324     text-indent: 0;
325     }
326     /* XML alternate: h2|l */
327    
328 wakaba 1.3 /* Figure */
329     .fig {
330     display: block;
331     margin: 1em auto;
332 wakaba 1.5 border: rgb(85, 79, 160) 2px solid;
333     -moz-border-radius: 3%;
334 wakaba 1.3 padding: 0;
335     max-width: 80%;
336     }
337     /* XML Alternate: ???:fig */
338    
339     .fig-body {
340     display: block;
341     margin: 1em;
342     padding: 0;
343     }
344    
345 wakaba 1.7 .fig .credit {
346     display: block;
347     margin-left: 40%;
348 wakaba 1.19 margin-right: 2em;
349 wakaba 1.7 text-align: right;
350     }
351     .fig .credit:before {
352     content: "―― ";
353     }
354    
355     .fig.quote blockquote {
356     margin: 0 1em;
357     border-style: none;
358     padding: 0;
359     }
360    
361 wakaba 1.2 /* Note */
362    
363     .note {
364     margin-top: 1em;
365     margin-bottom: 1em;
366 wakaba 1.3 margin-right: 5em;
367 wakaba 1.2 text-indent: 0;
368 wakaba 1.3 background-color: transparent;
369     color: green;
370 wakaba 1.2 }
371     /* NOTE: Don't use :before since old documents do or do not have
372     text of "Note: " or so on as part of character data. */
373     /* XML Alternate: H3|note */
374    
375 wakaba 1.5 /* .note.memo (= H3|note), .rationale.memo */
376     .memo {
377     display: block;
378 wakaba 1.14 margin: 0.3em 3em 0.3em 6em;
379 wakaba 1.9 padding: 0 0 0 2em;
380 wakaba 1.5 color: green;
381     background-color: transparent;
382     font-style: normal;
383     }
384 wakaba 1.14
385     div.memo div.memo {
386     margin-left: 4em;
387 wakaba 1.18 margin-right: 0;
388 wakaba 1.14 }
389    
390 wakaba 1.5 .memo > :first-child:before {
391     display: inline;
392 wakaba 1.17 content: "注意 : ";
393 wakaba 1.5 font-weight: bolder;
394 wakaba 1.14 font-family: sans-serif;
395 wakaba 1.5 }
396     .memo.info > :first-child:before {
397 wakaba 1.17 content: "参考 : ";
398 wakaba 1.5 }
399     .rationale.memo > :first-child:before {
400 wakaba 1.17 content: "解説 : ";
401 wakaba 1.5 }
402 wakaba 1.9 .memo.example > :first-child:before {
403 wakaba 1.17 content: "例 : ";
404     margin-right: 0.8em;
405 wakaba 1.9 }
406 wakaba 1.5 .memo:lang(en) {
407     /* NOTE: Selector should be "script=Latin" rather than "lang=en"
408     if there would such a selector... */
409     font-style: italic;
410     }
411     .memo:lang(en) > :first-child:before {
412     content: "Note. ";
413     }
414     .rationale:lang(en) > :first-child:before {
415     content: "Rationale. ";
416     }
417 wakaba 1.9 .memo.example:lang(en) > :first-child:before {
418     content: "Example. ";
419     }
420 wakaba 1.6 .memo > p:first-child, .memo > .para:first-child {
421 wakaba 1.5 text-indent: -3em;
422 wakaba 1.9 margin-left: 1em;
423     }
424    
425     /* Pending */
426    
427     .issue {
428     background-color: rgb(221, 255, 221);
429     color: black;
430     }
431    
432     .ed {
433     border: medium solid red;
434     padding: 0.5em;
435     color: rgb(229, 0, 0);
436     background-color: transparent;
437 wakaba 1.5 }
438    
439 wakaba 1.3 /* Example */
440    
441 wakaba 1.2 .example {
442     border: 1px solid rgb(153, 153, 153);
443     padding: 0.5em;
444     background-color: rgb(255, 248, 221);
445     color: rgb(102, 0, 0);
446     }
447     .example:before {
448     content: "例: ";
449 wakaba 1.3 font-weight: bolder;
450     font-family: sans-serif;
451 wakaba 1.2 }
452     .example:lang(en):before {
453 wakaba 1.3 content: "Example. ";
454     }
455    
456 wakaba 1.9 .example.memo {
457     border-style: none;
458     background-color: transparent;
459 wakaba 1.17 color: green;
460 wakaba 1.9 }
461     .example.memo:before {
462     content: "";
463     display: none;
464     }
465    
466 wakaba 1.4 /* For compatibility with old documents */
467     pre.example {
468     padding-left: 2em;
469     }
470     pre.example:before {
471     display: block;
472     text-indent: -1em;
473     }
474    
475 wakaba 1.5 .fig.example:before, .column.example:before {
476 wakaba 1.14 content: "" /* normal */;
477 wakaba 1.3 }
478    
479     .example .comment {
480     background-color: transparent;
481     color: green;
482     text-decoration: none;
483     font-family: "MS Mincho", "Times New Roman", serif;
484     }
485    
486 wakaba 1.19 /* Snip (Omittion) Indicator */
487     div.snip {
488     margin-top: 1em;
489     margin-bottom: 1em;
490     text-align: center;
491     }
492    
493     div.snip, span.snip {
494     color: gray;
495     background-color: transparent;
496 wakaba 1.20 font-family: serif;
497     }
498    
499 wakaba 1.22 li.snip {
500     color: gray;
501     background-color: transparent;
502     list-style-type: none !important;
503     visibility: hidden;
504     text-indent: -0.8em;
505     line-height: 1.0;
506     }
507    
508     li.snip:before {
509     display: inline;
510     content: ":";
511     visibility: visible;
512     }
513    
514 wakaba 1.20 /* Captions */
515     .caption {
516     font-weight: bolder;
517     font-family: sans-serif;
518 wakaba 1.19 }
519    
520 wakaba 1.3 /* Block Captions */
521    
522     .fig .caption {
523     display: block;
524 wakaba 1.9 text-align: left;
525 wakaba 1.3 }
526     .fig > .caption:lang(en) {
527     font-weight: normal;
528     font-family: serif;
529     font-transform: small-caps;
530     font-style: italic;
531     }
532 wakaba 1.9 .fig > * + .caption {
533     text-align: center;
534     }
535 wakaba 1.3
536     .fig > .caption:before {
537 wakaba 1.5 content: "図: ";
538     }
539     .fig > .caption:lang(en):before {
540     content: "Figure. ";
541     }
542     .fig.example > .caption:before {
543 wakaba 1.3 content: "例: ";
544     }
545 wakaba 1.5 .fig.example > .caption:lang(en):before {
546 wakaba 1.2 content: "Example. ";
547     }
548    
549 wakaba 1.3 /* Inline Captions */
550    
551 wakaba 1.6 p .caption, li .caption {
552 wakaba 1.20
553 wakaba 1.3 }
554     /* Example: <p class="note"><span class="caption">Note.</span> ...</p> */
555    
556 wakaba 1.15
557    
558     /* Lists */
559    
560     dl.term-definition {
561     display: block;
562     counter-reset: term;
563     }
564    
565     dl.term-definition > dt {
566     display: inline;
567     margin-left: 0;
568     border-style: none;
569     padding-left: 0;
570     list-style-type: none;
571     }
572    
573     html.formal-specification div.section div.section
574     dl.term-definition > dd + dt {
575     margin-top: 1em;
576     }
577    
578     html.formal-specification div.section div.section
579     dl.term-definition > dt:first-child:before,
580     html.formal-specification div.section div.section
581     dl.term-definition > dd + dt:before {
582     display: block;
583     content: counter(chapter) "." counter(section) "." counter(term) ". ";
584     counter-increment: term;
585     }
586    
587     dl.term-definition > dt:lang(ja) + dt:lang(en) {
588    
589     }
590     dl.term-definition > dt:lang(ja) + dt:lang(en):before {
591     content: " (";
592     }
593     dl.term-definition > dt:lang(ja) + dt:lang(en):after {
594     content: ")";
595     }
596    
597     dl.term-definition > dd {
598     display: block;
599     margin-left: 0;
600     border-style: none;
601     padding-left: 0;
602     text-indent: 1em;
603     }
604    
605    
606 wakaba 1.22 ul.has-marker li, ol.has-marker li {
607     list-style-type: none;
608     text-indent: 0;
609     }
610    
611     .marker {
612     display: inline;
613     position: relative;
614     left: -2em;
615     }
616    
617     div.document-gnu-fdl ul li {
618     list-style-type: upper-alpha;
619     }
620    
621     div.document-gnu-fdl ul li .marker {
622     display: none;
623     }
624 wakaba 1.15
625 wakaba 1.3 /* Phrases */
626    
627 wakaba 1.9 code.comment {
628     color: green;
629     background-color: transparent;
630     }
631    
632 wakaba 1.18 /* XML Infoset-style information properties */
633     code.infoprop {
634     color: inherit;
635     background-color: transparent;
636     font-weight: bolder;
637     font-family: sans-serif;
638     }
639     code.infoprop:before {
640     content: " [";
641     }
642     code.infoprop:after {
643     content: "] ";
644     }
645    
646 wakaba 1.15 code.uri, code.URI, code.mail, code.newsgroup {
647 wakaba 1.3 font-size: smaller;
648     font-style: italic;
649     font-family: "Times New Roman", "Times", serif;
650     }
651    
652 wakaba 1.20 code.uri, code.URI, code.file,
653     h2005|code[class~="file"] {
654 wakaba 1.16 -moz-binding: url(/www/style/text/wrap.xbl#wbr-uri);
655     }
656    
657     code.mail, code.newsgroup {
658     -moz-binding: url(/www/style/text/wrap.xbl#wbr-dotted);
659     }
660    
661 wakaba 1.9 code.uri a:link, code.uri a:visited,
662 wakaba 1.15 code.URI a:link, code.URI a:visited,
663 wakaba 1.9 code.mail a:link, code.mail a:visited,
664     code.newsgroup a:link, code.newsgroup a:visited {
665     border-style: none;
666     text-decoration: none;
667     color: inherit;
668     background-color: transparent;
669     font-style: inherit;
670     }
671    
672 wakaba 1.15 code.uri var, code.URI var, code.mail var, code.newsgroup var {
673 wakaba 1.12 border-style: none;
674     font-style: normal;
675     text-decoration: none;
676     }
677    
678 wakaba 1.15 dfn:lang(en) code.uri, dfn:lang(en) code.URI {
679     font-style: normal;
680     }
681    
682 wakaba 1.9
683 wakaba 1.10 h2002|code[class~="uri"]:before, h2002|code[class~="mail"]:before,
684     h2005|code[class~="uri"]:before, h2005|code[class~="mail"]:before {
685 wakaba 1.3 content: "<";
686     }
687 wakaba 1.10 h2002|code[class~="uri"]:after, h2002|code[class~="mail"]:after,
688     h2005|code[class~="uri"]:after, h2005|code[class~="mail"]:after {
689 wakaba 1.3 content: ">";
690     }
691     /* Note. Some XHTML 1 documents have enclosing "<" and ">" and
692     others does not. */
693    
694 wakaba 1.10 h2002|code[class~="file"]:before, h2002|code[class~="file"]:after,
695     h2005|code[class~="file"]:before, h2005|code[class~="file"]:after {
696 wakaba 1.3 content: '"';
697     color: graytext;
698     }
699    
700     code.math, code[class~="uri"] {
701     font-family: "Times New Roman", "Times", serif;
702     }
703    
704 wakaba 1.15 /* Qualified Names */
705    
706     .qname {
707 wakaba 1.16 -moz-binding: url(/www/style/text/wrap.xbl#wbr-qname);
708 wakaba 1.15 }
709    
710 wakaba 1.18 .qname-prefix, abbr.qname-prefix {
711 wakaba 1.9 border-style: none;
712 wakaba 1.5 font-style: italic;
713     font-family: "Times New Roman", "Times", serif;
714 wakaba 1.9 text-decoration: none;
715 wakaba 1.15 letter-spacing: 0.2em; /* Times is narrower than Courier */
716     }
717    
718     .qname-prefix[title="<http://www.w3.org/XML/1998/namespace>"] {
719     font-style: normal;
720     font-family: "Courier New", "Courier", monospace;
721     letter-spacing: inherit;
722     }
723    
724     .qname-local-name {
725    
726 wakaba 1.9 }
727    
728     /* ISO/IEC 10646 style character names */
729     .charname {
730     text-transform: lowercase;
731     font-variant: small-caps;
732     }
733    
734 wakaba 1.22 /* United numbers */
735     span.unit-number {
736    
737     }
738    
739     span.number {
740    
741     }
742    
743     span.unit, abbr.unit {
744     border-bottom-style: none;
745     padding-left: 0.2em;
746     }
747    
748 wakaba 1.9 /* ABNF Syntaxes */
749    
750 wakaba 1.16 code.ABNF {
751     -moz-binding: url(/www/style/text/wrap.xbl#wbr-dotted);
752     }
753    
754 wakaba 1.9 dl.abnf {
755     margin-left: 2em;
756     margin-right: 2em;
757     padding-left: 1em;
758 wakaba 1.17 padding-right: 1em;
759 wakaba 1.9 background-color: #F5DCB3;
760     color: black;
761 wakaba 1.18 page-break-inside: avoid;
762 wakaba 1.9 }
763    
764     dl.abnf:before {
765     content: "ABNF 構文定義";
766     display: block;
767 wakaba 1.17 margin-bottom: 0.2em;
768     border-bottom: 1px solid;
769     padding-top: 0.4em;
770     padding-bottom: 0.2em;
771 wakaba 1.9 font-weight: bolder;
772     font-family: sans-serif;
773     }
774    
775     dl.abnf > dt {
776     float: left;
777     clear: left;
778 wakaba 1.11 width: 12em;
779 wakaba 1.9 list-style: none;
780     margin-left: 1em;
781     padding-left: 0;
782 wakaba 1.11 font-family: inherit;
783     font-weight: normal;
784     font-style: normal;
785 wakaba 1.5 }
786    
787 wakaba 1.9 dl.abnf > dd {
788     margin-left: 1em;
789     padding-left: 1em;
790     text-indent: -1em;
791     }
792    
793     dl.abnf code.ABNF {
794     color: black;
795     background-color: transparent;
796     }
797    
798     dl.abnf dt dfn {
799     border-style: none;
800     font-weight: normal;
801     font-style: normal;
802 wakaba 1.11 font-family: inherit;
803 wakaba 1.9 text-decoration: none;
804     }
805    
806     dl.abnf a:link[href^="#SYNTAX-"], dl.abnf a:visited[href^="#SYNTAX-"],
807     code.ABNF a:link[href^="#SYNTAX-"], code.ABNF a:visited[href^="#SYNTAX-"] {
808     border-style: none;
809     text-decoration: none;
810     color: inherit;
811     background-color: transparent;
812     }
813    
814     /* Citations */
815    
816 wakaba 1.19 cite.dc-title {
817    
818     }
819     /* XML alternative: dc|title */
820    
821 wakaba 1.22 cite.dc-title:before,
822     cite.section cite.dc-title:before {
823     content: " 『";
824     }
825    
826     cite.dc-title:after,
827     cite.section cite.dc-title:after {
828     content: "』 ";
829     }
830    
831 wakaba 1.19 cite.dc-creator {
832    
833     }
834     /* XML alternative: dc|creator */
835    
836     cite.dc-creator:before, cite.dc-creator:after {
837     content: "";
838     content: normal;
839     }
840    
841 wakaba 1.20 cite.section:before {
842 wakaba 1.22 content: " 「";
843 wakaba 1.20 }
844    
845     cite.section:after {
846 wakaba 1.22 content: "」 ";
847     }
848    
849     :lang(en) > cite.section {
850     font-style: italic;
851     }
852    
853     :lang(en) > cite.section:before {
854     content: " “";
855     }
856    
857     :lang(en) > cite.section:after {
858     content: "” ";
859     }
860    
861     :lang(en) > cite.section:lang(ja) {
862     font-style: normal;
863 wakaba 1.20 }
864    
865 wakaba 1.7 cite.bibref {
866 wakaba 1.9 vertical-align: 0.5em;
867 wakaba 1.7 font-style: normal;
868     font-size: 75%;
869     line-height: 1.1;
870 wakaba 1.9 color: gray;
871     background-color: transparent;
872 wakaba 1.7 }
873 wakaba 1.10
874     cite.bibref.normative {
875     color: red;
876     }
877    
878     cite.bibref.informative {
879     color: green;
880     }
881    
882 wakaba 1.7 cite.bibref:before, cite.bibref:after {
883 wakaba 1.14 content: "" /* normal */;
884 wakaba 1.7 }
885    
886 wakaba 1.9 cite.bibref a:link, cite.bibref a:visited {
887     border-style: none;
888     text-decoration: none;
889     color: inherit;
890     background-color: transparent;
891     }
892    
893 wakaba 1.10 div.reference > dl > dt,
894 wakaba 1.9 #REFERENCE > dl > dt {
895     width: 7em;
896     float: left;
897     clear: left;
898     list-style: none;
899     font-weight: normal;
900     }
901    
902 wakaba 1.10 div.normative.reference > dl > dt {
903     color: red;
904     background-color: transparent;
905     }
906    
907     div.informative.reference > dl > dt {
908     color: green;
909     background-color: transparent;
910     }
911    
912     div.reference > dl > dt:before,
913     div#REFERENCE > dl > dt:before {
914 wakaba 1.9 content: "[";
915     }
916 wakaba 1.10
917     div.reference > dl > dt:after,
918     div#REFERENCE > dl > dt:after {
919 wakaba 1.9 content: "]";
920     }
921    
922 wakaba 1.10 div.reference > dl > dd,
923     div#REFERENCE > dl > dd {
924 wakaba 1.9 margin-left: 1em;
925     margin-bottom: 1em;
926     padding-left: 1em;
927     }
928    
929 wakaba 1.14 span.standard-number, a.standard-number,
930     span.standard-section, a.standard-section {
931 wakaba 1.9 font-family: sans-serif;
932     font-weight: bolder;
933     text-decoration: none;
934     }
935    
936 wakaba 1.12 /* et. al */
937 wakaba 1.9 .etal {
938     font-style: normal; /* Not italic */
939     }
940    
941 wakaba 1.2 /* Emphasis */
942    
943 wakaba 1.10 /* Block emphasis */
944     .key-point {
945     display: block;
946 wakaba 1.12 width: 70%;
947 wakaba 1.14 _width: 100%; /* WinIE */
948 wakaba 1.12 margin-left: auto;
949     margin-right: auto;
950     margin-top: 2em;
951     margin-bottom: 2em;
952 wakaba 1.10 border: 1px rgb(228, 236, 236) solid;
953     -moz-border-radius: 0.5em;
954     padding: 1em;
955     background-color: rgb(228, 236, 236);
956     color: black;
957     }
958    
959 wakaba 1.13 span.weak, .example.memo span.weak {
960 wakaba 1.2 font-size: 80%;
961 wakaba 1.12 color: gray;
962     background-color: transparent;
963 wakaba 1.22 opacity: 0.6;
964 wakaba 1.12 }
965    
966 wakaba 1.18 @media print {
967     span.weak, .example.memo span.weak {
968     color: inherit;
969     background-color: transparent;
970     }
971     }
972    
973 wakaba 1.12 .note span.weak {
974 wakaba 1.18 color: #92BA89;
975 wakaba 1.2 background-color: transparent;
976     }
977    
978 wakaba 1.20 th span.weak, thead span.weak, tfoot span.weak {
979     font-weight: normal;
980     font-family: -moz-initial;
981     }
982    
983     em.abbr, dfn em.abbr {
984     border-bottom-style: solid;
985     border-bottom-width: 1px;
986     padding-bottom: 0.03em;
987     font-style: inherit;
988     text-decoration: none;
989     }
990    
991 wakaba 1.17 em.rfc2119, em.rfc2119like {
992 wakaba 1.9 border-style: none;
993     text-transform: lowercase;
994     font-variant: small-caps;
995     font-style: normal;
996     text-decoration: none;
997     font-weight: normal;
998     font-family: sans-serif;
999     }
1000    
1001 wakaba 1.17 em.rfc2119:lang(ja), em.rfc2119like:lang(ja) {
1002 wakaba 1.9 font-weight: bolder;
1003 wakaba 1.14 font-family: sans-serif;
1004     font-variant: normal;
1005 wakaba 1.9 }
1006    
1007     /* Hyperlinks */
1008    
1009     a:link[rel="glossary"], a:visited[rel="glossary"] {
1010     border-style: none;
1011 wakaba 1.18 background-color: transparent;
1012     color: inherit;
1013 wakaba 1.9 text-decoration: none;
1014 wakaba 1.18 font-size: 100%;
1015     }
1016    
1017     @media screen {
1018     a:link[rel="glossary"], a:visited[rel="glossary"] {
1019     border-bottom: 1px dotted #FF0080;
1020     padding-bottom: 0.025em;
1021     cursor: help;
1022     }
1023 wakaba 1.9 }
1024    
1025 wakaba 1.15 /* Right Marks such as ^(R) and ^TM */
1026     sup.right {
1027     vertical-align: 0.7em;
1028     font-size: 50%;
1029     line-height: 1.0;
1030     }
1031    
1032 wakaba 1.2 /* Footer */
1033    
1034 wakaba 1.8 .footer, *|*[class~="footer"], sd|footer,
1035 wakaba 1.3 /* Old styles (discouraged) */
1036 wakaba 1.15 #footer, #FOOTER, body > address, body > .update, body > div.navigation
1037 wakaba 1.3 {
1038 wakaba 1.8 display: block;
1039 wakaba 1.3 margin: 2em 0 0 0;
1040     border-top: gray 1px solid;
1041     padding-top: 10px;
1042     }
1043    
1044     /* Old style footer (discouraged) */
1045 wakaba 1.15 body address + .update,
1046     body > div.navigation + div.update {
1047 wakaba 1.3 margin: 0;
1048     border-top: gray 0 none;
1049     padding-top: 0;
1050     }
1051    
1052 wakaba 1.18 @media print {
1053     div.navigation {
1054     display: none;
1055     }
1056     }
1057    
1058 wakaba 1.8 .update, sd|update {
1059     display: block;
1060     }
1061    
1062     .update:before, *|*[class~="update"]:before, sd|update:before {
1063 wakaba 1.2 content: "修正: ";
1064     }
1065 wakaba 1.8 .update:lang(en):before, *|*[class~="update"]:lang(en):before,
1066     sd|update:lang(en):before {
1067 wakaba 1.2 content: "Modified: ";
1068     }
1069    
1070 wakaba 1.8 /* Validated logo (discouraged) */
1071 wakaba 1.2 #w3c-html, #w3c-css {
1072     float: right;
1073     width: 88px;
1074     height: 31px;
1075     border: none;
1076     }
1077 wakaba 1.1
1078     /* License
1079    
1080 wakaba 1.3 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
1081 wakaba 1.1
1082     This program is free software; you can redistribute it and/or modify
1083     it under the terms of the GNU General Public License as published by
1084     the Free Software Foundation; either version 2 of the License, or
1085     (at your option) any later version.
1086    
1087     This program is distributed in the hope that it will be useful,
1088     but WITHOUT ANY WARRANTY; without even the implied warranty of
1089     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1090     GNU General Public License for more details.
1091    
1092     You should have received a copy of the GNU General Public License
1093     along with this program; see the file COPYING. If not, write to
1094     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1095     Boston, MA 02111-1307, USA.
1096    
1097     */
1098    
1099 wakaba 1.22 /* $Date: 2005/07/25 10:59:02 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24