forked from w3c/uievents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
210 lines (180 loc) · 5 KB
/
styles.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
.note { border-left-style: solid; border-left-width: 0.25em; background: none repeat scroll 0 0 #E9FBE9; border-color: #52E052; }
.note em, .warning em, .note i, .warning i { font-style: normal; }
p.note, div.note { padding: 0.5em 2em; }
span.note { padding: 0 2em; }
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }
p.note:before { content: 'Note: '; font-weight: bolder;}
.warning { background-color: #F9F0D4; border: medium double #FF0000; margin: 1em; padding: 1em; }
.warning p:first-child { margin-top: 0; }
.warning p:last-child { margin-bottom: 0; }
.warning:before { font-style: normal; }
p.warning:before { content: '\26A0 Warning! '; font-weight:bolder;}
.warning em, .warning i { font-style: normal; }
.critical {margin:1em; border:double red; padding:1em; background-color:#F9F0D4;}
.XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
.XXX > :first-child { margin-top: 0; }
p .XXX { line-height: 3em; }
pre.idl, pre.idl-ignore { border: solid thin #d3d3d3; background: #FCFCFC; color: black; padding: 0.5em 1em; position: relative; }
pre.idl :link, pre.idl :visited, pre.idl-ignore :link, pre.idl-ignore :visited { color: inherit; background: transparent; }
pre.idl::before, pre.idl-ignore::before { content: "IDL"; font: bold small sans-serif; padding: 0.5em; background: white; position: absolute; top: 0; margin: -1px 0 0 -4em; width: 1.5em; border: thin solid; border-radius: 0 0 0 0.5em }
.intro-dom {
font-size: 0.9em;
font-style: italic;
}
.comment {
color: green;
}
.example:before { content: 'Example ' counter(example) ':'; font-weight: bolder; }
.example pre:last-child { margin-bottom: 0; }
.example code.pre {white-space: pre;}
}
/* Used when spelling out words or symbols phonetically. */
span.phonetic {
font-style: italic;
}
/* KEY
* Denotes a key value (the value of the KeyboardEvent.key property).
*/
code.key {
color: #191970;
background-color: #b0e0e6;
padding: 0 2px;
border: 1px solid #b0d0d6;
border-radius: 3px;
}
code.key a:link, code.key a:visited {
color: #191970;
text-decoration: none;
}
code.key:hover, code.key a:hover {
color: #000000;
background-color: #b0d0d6;
}
/* CODE
* Denotes a code value that indicates the physical location of the key on
* the keyboard). This is the value of the KeyboardEvent.code property.
*/
code.code {
color: #191970;
background-color: #ffc4ff;
padding: 0 2px;
border: 1px solid #f0a4f0;
border-radius: 3px;
}
code.code a:link, code.code a:visited {
color: #191970;
text-decoration: none;
}
code.code:hover, code.code a:hover {
color: #000000;
background-color: #f0a4f0;
}
/* Denotes a string displayed on the keycap. */
code.keycap {
padding: 0 2px;
border: 1px solid black;
border-radius: 3px;
}
/* Denotes a Unicode code-point for the character. */
code.unicode {
color: #191970;
background-color: #98fb98;
}
/* Denotes an example glyph for the character. */
code.glyph {
color: #191970;
background-color: #ffe4b5;
}
/* 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: 0.4em 1em;
}
.data-table td {
background:none repeat scroll 0 0 #E8EDFF;
border-bottom:1px solid #FFFFFF;
border-top:1px solid transparent;
color:#666699;
padding: 0.4em 1em;
}
.data-table tr:hover td {
background:none repeat scroll 0 0 #D0DAFD;
color:#333399;
}
/* 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;
font-size: 0.9em;
}
.event-sequence-table td {
background:none repeat scroll 0 0 #ffffff;
color:#666699;
padding: 0 0.5em 0 0.5em;
font-size: 0.8em;
vertical-align: top;
}
.event-sequence-table tr:hover td {
background:none repeat scroll 0 0 #E8EDFF;
}
.example .event-sequence-table {
border: 1px solid #000000;
margin: 3px;
}
.example .event-sequence-table td {
background:none repeat scroll 0 0 #FCFAEE;
}
.example .event-sequence-table th {
background:none repeat scroll 0 0 #ede19b;
}
.cell-center {
text-align: center;
}
.cell-number {
text-align: right;
}
/* The cell in a code table that contains the code value. */
.code-table-code {
vertical-align: top;
}
.event-definition {
border: 2px solid black;
width: 95%;
}
.event-definition td,
.event-definition th {
border-bottom: 1px dashed #ccc;
padding-left: 8px;
padding-right: 8px;
font-size: 0.9em;
}
.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 td > ul > li,
.event-definition td > ul > li > p {
margin-top: 0;
margin-bottom: 0;
}