-
Notifications
You must be signed in to change notification settings - Fork 4
/
JetStream.css
449 lines (382 loc) · 8.43 KB
/
JetStream.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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
/*
* Copyright (C) 2018-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
html {
font-family: "Helvetica Neue", Helvetica, Verdana, sans-serif;
font-size: 62.5%;
font-synthesis: none;
}
body {
margin: 0;
font-size: 1.6rem;
font-weight: 400;
line-height: 1.4;
background-repeat: no-repeat;
background-position: center -5vw;
background-size: 100vw;
padding-bottom: 0px;
background-image: url('clouds.svg');
}
::selection {
background-color: #34AADC;
color: white;
}
main {
display: block;
max-width: 1180px;
margin: auto;
text-align: center;
}
img {
-webkit-user-select: none;
-webkit-user-drag: none;
}
.logo {
box-sizing: border-box;
width: 100%;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
perspective: 600;
}
.logo .logo-image {
display: block;
box-sizing: border-box;
background-repeat: no-repeat;
background-position: center;
background-image: url('JetStream3Logo.svg');
color: transparent;
animation: swingin 350ms ease-out forwards;
will-change: transform, opacity;
height: 75px;
}
#jetstreams {
background-image: url('jetstreams.svg');
background-repeat: no-repeat;
background-size: contain;
background-position: center;
padding: 2rem 0;
margin: -2rem 0;
}
#jetstreams svg {
width: 100%;
max-height: 120px;
}
#magic {
position: absolute;
top: -900px;
left: -900px;
width: 300px;
height: 300px;
display: none;
}
.summary {
text-align: center;
}
.summary + .summary {
padding-top: 5px;
margin-top: 5px;
}
.summary:empty {
display: none;
}
article, .summary {
max-width: 70rem;
margin: 0 auto 1rem;
opacity: 0;
animation: fadein 0.5s ease-in-out forwards;
animation-delay: 200ms;
}
h1 {
color: black;
text-align: center;
}
h2, h3, h4, h5, h6 {
color: #2C98D1;
text-align: left;
}
h4, h5, h6 {
margin-bottom: 0;
}
p {
text-align: left;
color: #555555;
margin: 0 0 3rem 0;
}
h5, h6 {
font-size: 1.6rem;
}
h6 {
color: #444444;
}
dt {
margin-top: 10px;
font-weight: bold;
text-align: left;
}
dd {
text-align: left;
padding: 10px 20px;
margin: 0;
}
a:link,
a:visited {
color: #34AADC;
}
a:hover,
a:active {
color: #0086BF;
}
#status {
margin: 2rem 0rem;
}
#status label,
a.button {
display: inline-block;
font-weight: 500;
text-decoration: none;
font-size: 2rem;
background-color: rgb(52,170,220);
background-image: linear-gradient(180deg, rgba(134,217,255,1) -80%, rgba(52,170,220,1) 100%);
color: rgb(255,255,255);
border: 1px solid rgb(52,170,220);
border-radius: 2px;
padding: 0.3rem 9rem 0.5rem;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
a.button {
animation: fadein 500ms ease-in forwards, scaledown 500ms ease-in forwards;
opacity: 0;
}
#status label,
.button:hover {
background-image: none;
}
#status.loading {
position: absolute;
top: 0;
left: 0;
margin: 48vh 0 0;
width: 100%;
line-height: 1.2;
font-size: 4rem;
font-style: italic;
font-weight: 500;
letter-spacing: -0.10rem;
color: transparent;
background-image: linear-gradient(132deg, #96E5FF 0%, #96E5FF 2%, #86D9FF 42%, #8BDAFF 84%, #96E5FF 98%, #96E5FF 100%);
-webkit-background-clip: text;
background-size: 1200px 100%;
background-repeat: no-repeat;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#status.error {
max-width: 70rem;
margin: 0 auto 1rem;
}
.error h2, .error p {
color: #d24a59;
margin-bottom: 0;
text-align: center;
font-weight: 500;
}
.error h2 {
font-size: 5rem;
letter-spacing: -0.1rem;
line-height: 1;
}
#result-summary:empty {
display: none;
}
#result-summary {
margin-top: 20px;
}
#result-summary label {
color: #6c6c71;
}
#result-summary .score {
font-weight: bold;
font-size: 4rem;
line-height: 1;
color: #34AADC;
font-weight: 500;
}
#result-summary .score .interval {
display: block;
font-weight: normal;
}
#results {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
animation: fadein 500ms ease-out forwards;
opacity: 0;
}
.benchmark {
position: relative;
flex: 1;
max-width: 20%;
min-width: 200px;
text-align: left;
color: #8E8E93;
font-size: 1.6rem;
margin: 0 1.6rem 3rem 0;
}
.benchmark h3, .benchmark h4, .benchmark .result, .benchmark label {
color: transparent;
background: linear-gradient(160deg, rgba(249,249,249,1) 0%, rgba(238,238,238,1) 100%);
border-radius: 3px;
}
.benchmark-running h4, .benchmark-running .result, .benchmark-running label {
color: #86D9FF;
background-color: #86D9FF;
background-image: none;
}
.benchmark-done h3, .benchmark-done h4, .benchmark-done .result, .benchmark-done label {
background-color: transparent;
background-image: none;
-webkit-touch-callout: revert;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
.benchmark h3 {
font-weight: 400;
font-size: 1.6rem;
margin: 0;
}
.benchmark-running h3 {
background-color: transparent;
background-image: none;
color: #34AADC;
}
.benchmark-done h3 {
color: #6c6c71;
}
.benchmark h3 a,
.benchmark h3 a:link,
.benchmark h3 a:active,
.benchmark h3 a:hover,
.benchmark h3 a:visited {
color: inherit;
text-decoration: none;
}
.benchmark-done h3 a:hover {
color: #34AADC;
text-decoration: underline;
}
.benchmark h4 {
margin: 0.3rem 0;
line-height: 1;
font-weight: 400;
font-size: 2.4rem;
}
.benchmark-done h4 {
color: #34AADC;
background-color: none;
}
.benchmark p,
.benchmark-done p {
margin: 0;
}
.benchmark .result {
display: inline-block;
margin-right: 1.6rem;
line-height: 1.3;
font-size: 1.3rem;
font-weight: bold;
}
.benchmark-done .result {
color: #4A4A4A;
}
.benchmark label {
display: block;
}
.benchmark-done label {
color: #8E8E93;
font-weight: 400;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes scaledown {
from {
transform: scale(1.3,1.3);
}
to {
transform: scale(1,1);
}
}
@keyframes shine {
0% {
background-position: -1200px center;
}
100% {
background-position: 100vw center;
}
}
@keyframes swingin {
from {
opacity: 0;
transform: rotateY(-85deg) translateZ(200px);
}
to {
opacity: 1;
transform: rotateY(0deg) translateZ(0px);
}
}
@media (max-width: 415px) {
body {
background-position: center 4rem;
}
.logo .logo-image {
height: 60px;
}
#jetstreams {
background-size: 200%;
}
article, .summary {
padding-top: 10rem;
margin: 0 1rem;
}
a.button {
padding: 0.3rem 6rem 0.5rem;
}
}