| 1 |
wakaba |
1.1 |
/* Character arts (AA) */ |
| 2 |
|
|
|
| 3 |
|
|
/* span.aa: AA element */ /* Default: For 2ch style AAs */ span.aa, pre.aa { |
| 4 |
|
|
font-family: "MS PGothic AA", "MS PGothic", "Mona"; |
| 5 |
|
|
font-size: 12pt; |
| 6 |
|
|
white-space: normal; |
| 7 |
|
|
line-height: 1.0; |
| 8 |
|
|
} |
| 9 |
|
|
|
| 10 |
|
|
pre.aafig { |
| 11 |
|
|
font-family: monospace; |
| 12 |
|
|
line-height: 1.0; |
| 13 |
|
|
white-space: pre; |
| 14 |
|
|
} |
| 15 |
|
|
|
| 16 |
|
|
.hw { |
| 17 |
|
|
-moz-binding: url(http://suika.fam.cx/www/style/text/width.xbl#halfwidth); |
| 18 |
|
|
} |
| 19 |
|
|
|
| 20 |
|
|
.fw { |
| 21 |
|
|
-moz-binding: url(http://suika.fam.cx/www/style/text/width.xbl#fullwidth); |
| 22 |
|
|
} |
| 23 |
|
|
|
| 24 |
|
|
/* Code fragments */ |
| 25 |
|
|
|
| 26 |
|
|
pre.code { |
| 27 |
wakaba |
1.2 |
font-family: "Courier New", monospace; |
| 28 |
wakaba |
1.1 |
} |
| 29 |
|
|
|
| 30 |
|
|
/* ISO/IEC 10646 style character names */ |
| 31 |
|
|
.charname { |
| 32 |
|
|
background-color: transparent; |
| 33 |
|
|
color: inherit; |
| 34 |
|
|
text-transform: lowercase; |
| 35 |
|
|
font-variant: small-caps; |
| 36 |
|
|
font-family: "Courier New", monospace; |
| 37 |
|
|
letter-spacing: 0.2em; |
| 38 |
|
|
} |
| 39 |
|
|
|
| 40 |
|
|
.charname var { |
| 41 |
|
|
text-transform: none; |
| 42 |
|
|
font-variant: normal; |
| 43 |
|
|
} |
| 44 |
|
|
|
| 45 |
|
|
.comment { |
| 46 |
|
|
color: green; |
| 47 |
|
|
background-color: transparent; |
| 48 |
|
|
} |
| 49 |
|
|
|
| 50 |
|
|
/* DOM attributes *? |
| 51 |
|
|
dfn .DOMa { |
| 52 |
|
|
color: black; |
| 53 |
|
|
background-color: #FFFFD2; |
| 54 |
|
|
} |
| 55 |
|
|
|
| 56 |
|
|
/* DOM constants */ |
| 57 |
|
|
dfn .DOMc { |
| 58 |
|
|
color: black; |
| 59 |
|
|
background-color: #DDFFD2; |
| 60 |
|
|
} |
| 61 |
|
|
|
| 62 |
|
|
/* DOM methods */ |
| 63 |
|
|
dfn .DOMm { |
| 64 |
|
|
color: black; |
| 65 |
|
|
background-color: #D9E6F8; |
| 66 |
|
|
} |
| 67 |
|
|
|
| 68 |
|
|
/* DOM parameters */ |
| 69 |
|
|
dfn .DOMp { |
| 70 |
|
|
background-color: #FEE6F8; |
| 71 |
|
|
color: black; |
| 72 |
|
|
} |
| 73 |
|
|
|
| 74 |
|
|
/* Infoset properties */ |
| 75 |
|
|
.InfoProp, .infoprop { |
| 76 |
|
|
font-family: sans-serif; |
| 77 |
|
|
font-weight: bolder; |
| 78 |
|
|
} |
| 79 |
|
|
|
| 80 |
|
|
.InfoProp:before, .infoprop:before { |
| 81 |
|
|
content: " ["; |
| 82 |
|
|
} |
| 83 |
|
|
|
| 84 |
|
|
.InfoProp:after, .infoprop:after { |
| 85 |
|
|
content: "] "; |
| 86 |
|
|
} |
| 87 |
|
|
|
| 88 |
|
|
/* Examples */ |
| 89 |
|
|
|
| 90 |
|
|
pre.example:before { |
| 91 |
|
|
display: block; |
| 92 |
|
|
content: "$BNc(B: "; |
| 93 |
|
|
font-weight: bolder; |
| 94 |
|
|
font-family: sans-serif; |
| 95 |
|
|
} |
| 96 |
|
|
|
| 97 |
|
|
pre.continue.example:before { |
| 98 |
|
|
content: "$BNc(B ($BB3$-(B): "; |
| 99 |
|
|
} |
| 100 |
|
|
|
| 101 |
|
|
pre.bad.example:before { |
| 102 |
|
|
content: "$B0-$$Nc(B: "; |
| 103 |
|
|
} |
| 104 |
|
|
|
| 105 |
|
|
pre.continue.bad.example:before { |
| 106 |
|
|
content: "$B0-$$Nc(B ($BB3$-(B): "; |
| 107 |
|
|
} |
| 108 |
|
|
|
| 109 |
|
|
pre.invalid.example:before { |
| 110 |
|
|
content: "$BHsBEEv$JNc(B: "; |
| 111 |
|
|
} |
| 112 |
|
|
|
| 113 |
|
|
pre.continue.invalid.example:before { |
| 114 |
|
|
content: "$BHsBEEv$JNc(B ($BB3$-(B): "; |
| 115 |
|
|
} |
| 116 |
|
|
|
| 117 |
|
|
pre.illegal.example:before { |
| 118 |
|
|
content: "$B0cK!$JNc(B: "; |
| 119 |
|
|
} |
| 120 |
|
|
|
| 121 |
|
|
pre.continue.illegal.example:before { |
| 122 |
|
|
content: "$B0cK!$JNc(B ($BB3$-(B): "; |
| 123 |
|
|
} |
| 124 |
|
|
|
| 125 |
|
|
pre.deprecated.example:before { |
| 126 |
|
|
content: "$BHs?d>)$NNc(B: "; |
| 127 |
|
|
} |
| 128 |
|
|
|
| 129 |
|
|
|
| 130 |
|
|
pre.continue.deprecated.example:before { |
| 131 |
|
|
content: "$BHs?d>)$NNc(B ($BB3$-(B): "; |
| 132 |
|
|
} |
| 133 |
|
|
|
| 134 |
|
|
/* |
| 135 |
|
|
|
| 136 |
|
|
Partially taken from |
| 137 |
|
|
<http://suika.fam.cx/~wakaba/wiki/sw/n/Wiki++Style++SuikaWiki++HTML++Semantic>. |
| 138 |
|
|
|
| 139 |
|
|
Copyright 2002-2008 Authors. |
| 140 |
|
|
|
| 141 |
|
|
Permission is granted to copy, distribute and/or modify this document |
| 142 |
|
|
under the terms of the GNU Free Documentation License, Version 1.1 or |
| 143 |
|
|
any later version published by the Free Software Foundation; with no |
| 144 |
|
|
Invariant Sections, with no Front-Cover Texts, and no Back-Cover |
| 145 |
|
|
Texts. A copy of the license is available from |
| 146 |
|
|
<http://suika.fam.cx/c/gnu/fdl>. |
| 147 |
|
|
|
| 148 |
|
|
*/ |