This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
es5.1.css
340 lines (306 loc) · 8.41 KB
/
es5.1.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
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
/* Basics */
html {
padding-left: 6.8em;
padding-right: 6.8em; /* It would be nice to have this collapse as the window gets small. */
}
body {
margin: 0 auto;
max-width: 800px;
background-color: #fdfdfc;
color: #333333;
font-family: Cambria, Palatino Linotype, Palatino, 'Liberation Serif',
serif;
font-size: 17px;
line-height: 135%;
}
section { display: block; }
h1 { line-height: normal; }
body > section { margin-top: 5em; }
body > section > section { margin-top: 4em; }
body > section > section section { margin-top: 2.5em; }
body > .inner-title {
font-size: 160%;
font-weight: bold;
margin-top: 6em;
}
body section h1 { font-size: 110%; margin-bottom: 1em; }
body > hgroup > h1 { font-size: 150%; margin-top: 0; margin-bottom: 0; }
h1 span.secnum {
width: 6em;
margin-left: -6.8em;
text-align: right;
float: left;
}
h2 { font-size: 100%; margin-bottom: 1em; }
h1 > span.section-status { display: block; }
section > p, div > p {
text-align: justify;
}
b, em.jargon-first-use, span.this, span.value, span.libname,
span.errorname, code, pre {
color: #555555;
font-weight: bold;
}
code, pre, .string.value { font-family: Courier New, monospace; }
code, .string, .math { white-space: nowrap; }
#sec4\.3 section h1 { font-size: 100%; margin-bottom: 0; }
sup, sub {
font-size: smaller;
vertical-align: baseline; /* Make sup and sub not affect line height. */
position: relative;
}
sup { bottom: 0.3em; }
sub { bottom: -0.3em; }
.gp sub, .prod sub, sub.gopt { /* Specifically for "opt". */
font-size: 65%;
}
pre {
margin-left: 2em;
font-size: 85%;
}
div.math-display {
margin-left: 4em;
}
a:link {
text-decoration: none;
color: #3333bb;
}
a:hover {
text-decoration: underline;
color: blue;
}
a:link b, a:link span.value, a:link span.this,
a:link span.libname, a:link span.errorname, a:link code {
color: #5555bb;
}
a:hover b, a:hover span.value, a:hover span.this,
a:hover span.libname, a:hover span.errorname, a:hover code {
color: #0000ee;
}
a:visited b, a:visited span.value, a:visited span.this,
a:visited span.libname, a:visited span.errorname, a:visited code {
color: inherit;
}
span.secnum a:link, span.secnum a:visited { color: inherit; }
h1:hover span.secnum a:link, h1:hover span.secnum a:visited {
color:#5555bb;
text-decoration: underline;
}
.toc span.secnum a:link, .toc span.secnum a:visited {
color:#5555bb;
}
em { font-style: italic; }
p.formal-reference { margin-left: 3em; text-indent: -1em; }
span.book-title { font-style: italic; }
span.abstractopname { font-style: italic; }
span.typename { font-style: italic; }
span.typecombinator { font-style: italic; }
dfn { font-style: italic; }
div.blank-page:after {
content: '\0000a0';
clear: both;
margin-bottom: 1em;
}
/* Front matter */
ol.toc { padding-left: 0; }
ol.toc > li { list-style-type: none; padding-left: 1em; text-indent: -1em;}
ol.toc > li span.secnum {
float: none;
}
#unofficial {
margin: 4em 0;
background-color: #eed4bb;
border-radius: 6px;
padding: 2em 4em;
}
#ecma-disclaimer {
font-style: italic;
border: 1px solid;
margin: 2em 0 3em 0;
}
.stern.warning {
font-weight: bold;
text-transform: uppercase;
}
/* Notes */
div.note {
margin: 1em 0 1em 6em;
}
span.nh {
float: left;
width: 6em;
margin-left: -6em;
}
/* Figures and tables */
figure { display: block; margin: 1em 0 3em 0; max-width: 100%; overflow: auto; }
figure object { display: block; margin: 0 auto; }
figure table.real-table { margin: 0 auto; }
figure figcaption {
display: block;
color: #555555;
font-weight: bold;
text-align: center;
}
table.real-table {
border-collapse: collapse;
}
table.real-table td, table.real-table th {
border: 1px solid black;
padding: 0.4em;
vertical-align: baseline;
}
table.real-table th {
background-color: #eeeeee;
}
/* Note: the left content edges of table.lightweight-table >tbody >tr >td
and div.display line up. */
table.lightweight-table {
border-collapse: collapse;
margin: 0 0 0 1.5em;
}
table.lightweight-table td, table.lightweight-table th {
border: none;
padding: 0 0.5em;
vertical-align: baseline;
}
div.display { margin: 1em 0 1em 2em; }
/* Grammar productions */
div.gp { margin-left: 2.4em; margin-top: 0.9em; }
div.rhs { margin-left: 2.4em; } /* right-hand side */
div.pile { margin-left: 2.4em; max-width: 40em; }
div.keyword.pile code { float: left; width: 25%; }
div.keyword5.pile code { float: left; width: 20%; }
div.operator.pile code { float: left; width: 16%; }
div.end-pile { clear: both; }
code { /* including code.t, meaning "terminal" or "token" */
font-weight: bold;
color: #555555;
}
span.nt { /* nonterminal */
font-family: Times New Roman, Times, FreeSerif, serif;
font-style: italic;
}
span.geq { font-weight: bold; } /* grammar equal-sign, like "::" */
span.grhsmod { /* right-hand side modifier, like "one of", "but not" */
font-weight: bold;
color: #555555;
}
span.grhsannot { /* right-hand side annotation, like "[empty]" */
font-family: Helvetica, Arial, Liberation Sans, sans-serif;
font-size: smaller;
}
span.chgloss { /* gloss for a character, like "asterisk" */
font-style: italic;
}
span.gprose {
font-family: Helvetica, Arial, Liberation Sans, sans-serif;
font-size: 90%;
}
div.gsumxref { /* grammar summary cross-reference, used in Annex A */
width: 8em;
float: right;
}
span.prod { margin-left: 5pt; margin-right: 5pt; }
div.rhs > code.t,
div.rhs > span.nt,
div.rhs > span.grhsannot,
div.rhs > span.grhsmod,
div.rhs > span.chgloss,
div.rhs > span.gprose,
div.rhs > var,
span.prod > span.geq,
span.prod > code.t,
span.prod > span.nt,
span.prod > span.grhsannot,
span.prod > span.grhsmod,
span.prod > span.chgloss,
span.prod > span.gprose,
div.rhs > var {
margin-left: 5pt;
}
div.rhs > code.t:first-child,
div.rhs > span.nt:first-child,
div.rhs > span.grhsannot:first-child,
div.rhs > span.grhsmod:first-child,
div.rhs > span.chgloss:first-child,
div.rhs > span.gprose:first-child,
div.rhs > var:first-child,
span.prod > span.geq:first-child,
span.prod > code.t:first-child,
span.prod > span.nt:first-child,
span.prod > span.grhsannot:first-child,
span.prod > span.grhsmod:first-child,
span.prod > span.chprose:first-child,
span.prod > span.gprose:first-child,
span.prod > var:first-child {
margin-left: 0;
}
ul > li { list-style-type: disc; }
/* Procedures */
ol.proc > li { list-style-type: decimal; }
ol.proc > li > ol.block > li { list-style-type: lower-latin; }
ol.proc > li > ol.block > li > ol.block > li
{ list-style-type: lower-roman; }
ol.proc > li > ol.block > li > ol.block > li >
ol.block > li { list-style-type: decimal; }
ol.proc > li > ol.block > li > ol.block > li >
ol.block > li > ol.block > li { list-style-type: lower-latin; }
ol.proc > li > ol.block > li > ol.block > li >
ol.block > li > ol.block > li > ol.block > li
{ list-style-type: lower-roman; }
/* Bibliography */
ol.bibliography { margin-left: 0; }
ol.bibliography > li {
margin-left: 3em; list-style-type: none; margin-bottom: 1.1em; }
ol.bibliography > li > span.num {
float: left; margin-left: -3em; width: 2.5em; text-align: right; }
@media print {
html {
padding-left: 0;
padding-right: 0;
}
body {
max-width: none;
background-color: transparent;
color: black;
font-size: 10pt;
line-height: inherit;
}
h1 span.secnum {
width: auto;
margin-left: 0;
text-align: inherit;
float: none;
}
a:link, a:visited {
color: inherit;
text-decoration: none;
}
code, pre, span.errorname, span.grhsmod,
a:link b, a:link span.value, a:link span.this,
a:link span.libname, a:link span.errorname, a:link code,
a:visited b, a:visited span.value, a:visited span.this,
a:visited span.libname, a:visited span.errorname, a:visited code,
.toc span.secnum a:link, .toc span.secnum a:visited,
figure figcaption {
color: inherit;
}
table.real-table td, table.real-table th {
border: 0.2pt solid black;
}
div.note {
font-size: 9pt;
}
@page :left {
margin-top: 1.25in;
margin-bottom: 0.375in;
margin-left: 0.5in;
margin-right: 1.0in;
}
@page :right {
margin-top: 1.25in;
margin-bottom: 0.375in;
margin-left: 1.0in;
margin-right: 0.5in;
}
}