forked from w3c/uievents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec-WD.css
269 lines (223 loc) · 4.78 KB
/
spec-WD.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
261
262
263
264
265
266
267
268
269
h4 {
text-align: left;
font-family: sans-serif;
font-weight: normal;
color: #005A9C;
}
/*.attribute-name {
color: black;
background-color: #FFFFD2;
}
.constant-name {
color: black;
background-color: #DDFFD2;
}
.method-name {
color: black;
background-color: #D9E6F8;
font-size: large;
font-style: italic;
}
.parameter-name {
color: black;
background-color: #FEE6F8;
}*/
/* Some fun IDL styling */
.comment {
color: green;
}
.d3-idl a:first-of-type {
font-weight: bolder;
font-size: larger;
}
/*ul.toc, ol.toc {list-style: none}
div.toc ul ul, div.toc ol ol {margin-left: 0}
div.toc ul ul ul, div.toc ol ol ol {margin-left: 1em}
div.toc ul ul ul ul, div.toc ol ol ol ol {margin-left: 0}
li.tocline1 {font-weight: bold}
li.tocline2 {font-weight: normal}
li.tocline4 {font-style: italic}
*/
/* code { font-family: monospace } */
div.paramtable { margin-left: 1em }
div.returntable { margin-left: 1em }
/* default alignment for tables */
table {
margin-bottom: 1em;
}
td {
vertical-align: middle;
}
/* style for event definition tables */
.event-definition table {
border: 2px solid black;
width: 95%;
}
.event-definition td,
.event-definition th {
border-bottom: 1px dashed #ccc;
padding-left: 8px;
padding-right: 8px;
}
.event-definition th {
text-align: left;
font-weight: normal;
border-right: 1px dashed #ccc;
white-space: nowrap;
background-color: #D9E6F8;
background-color: #F7F5D7;
background-color: #D0DAFD;
}
.event-definition td {
width: 100%;
}
.event-definition tr:last-child td {
border-bottom: none;
}
.event-definition dfn a {
font-size: larger;
/*font-family: monospace;
color: black;
font-weight: normal;
font-style: normal;
padding-left: 1em;
padding-right: 1em;
padding-top: 0.2em;
background-color: #FFC500;*/
}
.event-definition dd table {
margin-bottom: -0.02em;
}
/* Added the d3-idl class here to remove underlines in IDL blocks */
/*.event-definition a, .d3-idl a {
text-decoration: none
}*/
.event-definition td b {
font-weight: normal
}
.event-definition dd {
margin-top: 4px
}
/* style for context info event definition lists */
.event-definition td > ul > li {
margin-left: -2.5em;
list-style: none;
border-bottom: 1px dashed #ccc;
}
.event-definition td > ul > li.last {
border-bottom: none;
}
dt > p, dd > p {
margin-top: 0.5em;
}
/* style for exception table */
.exceptiontable
{
border-top-style: hidden;
border-right-style: hidden;
border-bottom-style: none;
border-left-style: hidden;
border-collapse: collapse;
}
.exceptiontable td, .exceptiontable th
{
padding: 0.2em;
vertical-align: top;
border-right-color: currentColor;
border-bottom-color: currentColor;
border-left-color: currentColor;
border-right-width: medium;
border-bottom-width: thin;
border-left-width: medium;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
}
/*h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: inherit !important;
font-weight: inherit !important;
text-decoration: none !important;
font-style: inherit !important;
}*/
.typeCell {
background-color: #cfcfcf;
}
h5 {
font-weight: bold;
}
dl#glossary-list dt a
{
font-weight: bold;
}
/*a.eventtype {
text-decoration: none;
}*/
/*a.eventtype code {
font-size: 1.13em;
color: #ff6d00;
}*/
/* Denotes a key value (the value of the KeyboardEvent.key property) */
.key {
color: #191970;
background-color: #b0e0e6;
}
/* Denotes a code value (the physical location of the key on the keyboard) */
.code {
color: #191970;
background-color: #ffc4ff;
}
/* Denotes a char value (the code-point for the character) */
.char {
color: #191970;
background-color: #98fb98;
}
/* Denotes a char value (an example glyph for the character) */
.glyph {
color: #191970;
background-color: #ffe4b5;
}
dl#key-id-set dt {
display: inline;
}
a.def {
color: inherit;
text-decoration: inherit;
border-bottom: 1px dotted blue;
}
/*style for table-event-summary and table-key-values */
.data-table {
border-collapse:collapse;
text-align:left;
}
.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;
}
/*style for algorithm lists */
ol.algo {
counter-reset: section;
list-style-type: none;
}
ol.algo li {
counter-increment: section;
margin-top: 0.5em;
}
ol.algo li:before { content: counters(section, ".") ". "; }
ol.algo li ol.algo li { margin-left: -1em; }