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 |
background-color: rgb(213, 222, 227); |
28 |
color: black; |
29 |
border: rgb(211, 211, 211) 4px double; |
30 |
padding: 0.5em 1em; |
31 |
} |
32 |
|
33 |
/* ISO/IEC 10646 style character names */ |
34 |
.charname { |
35 |
background-color: transparent; |
36 |
color: inherit; |
37 |
text-transform: lowercase; |
38 |
font-variant: small-caps; |
39 |
font-family: "Courier New", monospace; |
40 |
letter-spacing: 0.2em; |
41 |
} |
42 |
|
43 |
.charname var { |
44 |
text-transform: none; |
45 |
font-variant: normal; |
46 |
} |
47 |
|
48 |
.comment { |
49 |
color: green; |
50 |
background-color: transparent; |
51 |
} |
52 |
|
53 |
/* DOM attributes *? |
54 |
dfn .DOMa { |
55 |
color: black; |
56 |
background-color: #FFFFD2; |
57 |
} |
58 |
|
59 |
/* DOM constants */ |
60 |
dfn .DOMc { |
61 |
color: black; |
62 |
background-color: #DDFFD2; |
63 |
} |
64 |
|
65 |
/* DOM methods */ |
66 |
dfn .DOMm { |
67 |
color: black; |
68 |
background-color: #D9E6F8; |
69 |
} |
70 |
|
71 |
/* DOM parameters */ |
72 |
dfn .DOMp { |
73 |
background-color: #FEE6F8; |
74 |
color: black; |
75 |
} |
76 |
|
77 |
/* Infoset properties */ |
78 |
.InfoProp, .infoprop { |
79 |
font-family: sans-serif; |
80 |
font-weight: bolder; |
81 |
} |
82 |
|
83 |
.InfoProp:before, .infoprop:before { |
84 |
content: " ["; |
85 |
} |
86 |
|
87 |
.InfoProp:after, .infoprop:after { |
88 |
content: "] "; |
89 |
} |
90 |
|
91 |
/* Examples */ |
92 |
|
93 |
pre.example:before { |
94 |
display: block; |
95 |
content: "$BNc(B: "; |
96 |
font-weight: bolder; |
97 |
font-family: sans-serif; |
98 |
} |
99 |
|
100 |
pre.continue.example:before { |
101 |
content: "$BNc(B ($BB3$-(B): "; |
102 |
} |
103 |
|
104 |
pre.bad.example:before { |
105 |
content: "$B0-$$Nc(B: "; |
106 |
} |
107 |
|
108 |
pre.continue.bad.example:before { |
109 |
content: "$B0-$$Nc(B ($BB3$-(B): "; |
110 |
} |
111 |
|
112 |
pre.invalid.example:before { |
113 |
content: "$BHsBEEv$JNc(B: "; |
114 |
} |
115 |
|
116 |
pre.continue.invalid.example:before { |
117 |
content: "$BHsBEEv$JNc(B ($BB3$-(B): "; |
118 |
} |
119 |
|
120 |
pre.illegal.example:before { |
121 |
content: "$B0cK!$JNc(B: "; |
122 |
} |
123 |
|
124 |
pre.continue.illegal.example:before { |
125 |
content: "$B0cK!$JNc(B ($BB3$-(B): "; |
126 |
} |
127 |
|
128 |
pre.deprecated.example:before { |
129 |
content: "$BHs?d>)$NNc(B: "; |
130 |
} |
131 |
|
132 |
|
133 |
pre.continue.deprecated.example:before { |
134 |
content: "$BHs?d>)$NNc(B ($BB3$-(B): "; |
135 |
} |
136 |
|
137 |
/* |
138 |
|
139 |
Partially taken from |
140 |
<http://suika.fam.cx/~wakaba/wiki/sw/n/Wiki++Style++SuikaWiki++HTML++Semantic>. |
141 |
|
142 |
Copyright 2002-2008 Authors. |
143 |
|
144 |
Permission is granted to copy, distribute and/or modify this document |
145 |
under the terms of the GNU Free Documentation License, Version 1.1 or |
146 |
any later version published by the Free Software Foundation; with no |
147 |
Invariant Sections, with no Front-Cover Texts, and no Back-Cover |
148 |
Texts. A copy of the license is available from |
149 |
<http://suika.fam.cx/c/gnu/fdl>. |
150 |
|
151 |
*/ |