forked from w3c/uievents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
override.css
260 lines (208 loc) · 4.26 KB
/
override.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
/* Tweaks to override respec formatting */
body {
counter-reset: example;
}
/* "work in progress" text used in references. */
.wip {
font-style: italic;
}
/* Make h5 and h6 easier to see. */
section > h5 {
font-style: normal;
font-size: 1em;
font-weight: bold;
color: #005A9C;
margin-bottom: 0.5em;
}
section > h6 {
font-style: normal;
font-size: 1em;
font-weight: bold;
color: #005A9C;
padding-left: 16px;
margin-bottom: 0.5em;
}
/* Warnings */
section > .warning {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
dd > .warning {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
/* Notes */
.note-title {
display: none;
}
section > .note {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
dd > .note {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.note > p {
margin: 0.5em 0;
padding-left: 8px;
}
.issue {
background-color: #fff0f0;
}
/* Examples */
div.example {
margin-bottom: 1em;
}
div.example > p {
margin: 0.5em 0 0 0;
}
div.example > p:first-child {
margin: -0.5em 0 0 0;
}
div.example > ol,ul,pre,table {
margin: 0;
}
div.warning > p {
margin: 0.5em 0 0 0;
}
div.warning > p:first-child {
margin: -0.5em 0 0 0;
}
.example-title:before {
content: "Example ";
}
.example-title {
font-weight: bold;
background-color: #FF4500;
color: white;
letter-spacing: 0.05em;
display: block;
width: 6.3em;
margin: -1em 0em 1em -1em;
padding: 0.2em 0.2em 0.1em 0.4em;
}
.example-title:after {
counter-increment: example;
content: counter(example);
}
/* Remove extra margin from around each param description */
.prmDesc > p {
margin: 0 0;
}
/* "Introduced in DOM Level n" */
.intro-dom {
font-size: 0.9em;
font-style: italic;
}
/* Suppress auto-generated IDL sections in the Appendix.
These tables simply restate the info in the IDL so they're not needed.
*/
#event-initializers > section > section > h5 {
display: none;
}
#idl-interface-Event-initializers > h4 + pre + section {
display: none;
}
#idl-interface-CustomEvent-initializers > h4 + pre + section {
display: none;
}
#idl-interface-UIEvent-initializers > h4 + pre + section {
display: none;
}
#idl-interface-FocusEvent-initializers > h4 + pre + section {
display: none;
}
#idl-interface-MouseEvent-initializers > h4 + pre + section {
display: none;
}
#idl-interface-WheelEvent-initializers > h4 + pre + section {
display: none;
}
#idl-interface-KeyboardEvent-initializers > h4 + div + pre + section {
display: none;
}
#idl-interface-CompositionEvent-initializers > h4 + div + pre + section {
display: none;
}
/* Formatting for the key value tables.
*/
/* The <div> that contains the key table. */
.key-table {
padding: 0 15px 0 30px;
}
.key-value-table {
width: 100%;
}
/* The cell in a key table that contains the key name. */
.key-table-key {
vertical-align: top;
}
/* Formatting for the event sequence tables.
*/
.event-sequence-table th {
background:none repeat scroll 0 0 #E8EDFF;
color:#003399;
font-weight:normal;
padding: 0.25em 0.5em 0.25em 0.5em;
}
.event-sequence-table td {
background:none repeat scroll 0 0 #ffffff;
color:#666699;
padding: 0 0.5em 0 0.5em;
}
.event-sequence-table tr:hover td {
background:none repeat scroll 0 0 #E8EDFF;
color:#333399;
}
/* Formatting for the legacy key tables in the Appendix.
*/
.legacy-key-table th {
background:none repeat scroll 0 0 #E8EDFF;
color:#003399;
font-weight:normal;
padding: 0.25em 0.5em 0.25em 0.5em;
}
.legacy-key-table td {
background:none repeat scroll 0 0 #ffffff;
color:#666699;
padding: 0 0.5em 0 0.5em;
}
.legacy-key-table tr:hover td {
background:none repeat scroll 0 0 #E8EDFF;
color:#333399;
}
.cell-center {
text-align: center;
}
.cell-number {
text-align: right;
min-width: 3em;
}
/* formatting for data tables (including the keyboard codes) */
.data-table {
border-collapse:collapse;
text-align:left;
width: 100%;
}
.data-table th {
background:none repeat scroll 0 0 #B9C9FE;
border-bottom:1px solid #FFFFFF;
border-top:4px solid #AABCFE;
color:#003399;
font-weight:normal;
padding: 2px;
padding-left: 0.5em;
}
.data-table td {
background:none repeat scroll 0 0 #E8EDFF;
border-bottom:1px solid #FFFFFF;
border-top:1px solid transparent;
color:#666699;
padding: 2px;
padding-left: 1em;
}
.data-table tr:hover td {
background:none repeat scroll 0 0 #D0DAFD;
color:#333399;
}