39
39
--benchmark-heading-color : rgb (183 , 183 , 183 );
40
40
--benchmark-error-text-color : # ff8686 ;
41
41
--benchmark-done-result-color : # 4A4A4A ;
42
+ --gap : 3rem ;
43
+ --width : 200px ;
42
44
}
43
45
44
46
html ,
45
47
svg text {
46
48
font-family : "Helvetica Neue" , Helvetica, Verdana, sans-serif;
47
49
font-size : 62.5% ;
48
50
font-synthesis : none;
51
+ height : 100vh ;
49
52
}
50
53
51
54
body {
55
+ display : flex;
56
+ flex-direction : column;
57
+ gap : var (--gap );
52
58
margin : 0 ;
53
59
font-size : 1.6rem ;
54
60
font-weight : 400 ;
@@ -58,32 +64,48 @@ body {
58
64
background-size : 100vw ;
59
65
padding-bottom : 0px ;
60
66
background-image : url ('clouds.svg' );
67
+ overflow-y : hidden;
68
+ height : 100% ;
69
+ }
70
+
71
+ .overflow-scroll {
72
+ overflow-y : auto;
73
+ }
74
+
75
+ .overflow-visible {
76
+ overflow : visible;
61
77
}
62
78
79
+
63
80
::selection {
64
81
background-color : var (--color-primary );
65
82
color : var (--text-color-inverse );
66
83
}
67
84
68
85
main {
69
- display : block;
86
+ display : flex;
87
+ flex-direction : column;
88
+ gap : var (--gap );
89
+ margin : 0 auto;
90
+ padding : 0 var (--gap );
70
91
max-width : 1180px ;
71
- margin : auto;
72
92
text-align : center;
93
+ flex : 1 ;
94
+ overflow : hidden;
95
+ }
96
+
97
+ main p {
98
+ margin : 0 ;
73
99
}
74
100
75
101
img {
76
- -webkit-user-select : none;
77
102
-webkit-user-drag : none;
103
+ user-select : none;
78
104
}
79
105
80
106
.logo {
81
107
box-sizing : border-box;
82
108
width : 100% ;
83
- -webkit-touch-callout : none;
84
- -webkit-user-select : none;
85
- -moz-user-select : none;
86
- -ms-user-select : none;
87
109
user-select : none;
88
110
perspective : 600 ;
89
111
}
@@ -127,27 +149,28 @@ img {
127
149
text-align : center;
128
150
}
129
151
130
- .summary + .summary {
131
- padding-top : 5px ;
132
- margin-top : 5px ;
133
- }
134
-
135
152
.summary : empty {
136
153
display : none;
137
154
}
138
155
139
156
article ,
140
157
.summary {
141
158
max-width : 70rem ;
142
- margin : 0 auto 1 rem ;
159
+ margin : 0 auto 0 auto ;
143
160
opacity : 0 ;
144
161
animation : fadein 0.5s ease-in-out forwards;
145
162
animation-delay : 200ms ;
146
163
}
147
164
165
+ article {
166
+ display : flex;
167
+ flex-direction : column;
168
+ gap : var (--gap );
169
+ }
148
170
h1 {
149
171
color : var (--text-color-primary );
150
172
text-align : center;
173
+ margin-bottom : 0 ;
151
174
}
152
175
153
176
170
193
p {
171
194
text-align : left;
172
195
color : var (--text-color-secondary );
173
- margin : 0 0 3rem 0 ;
174
196
}
175
197
176
198
h5 ,
@@ -204,10 +226,6 @@ a:active {
204
226
color : var (--link-hover-color );
205
227
}
206
228
207
- # status {
208
- margin : 2rem 0rem ;
209
- }
210
-
211
229
# status label ,
212
230
a .button {
213
231
display : inline-block;
@@ -219,11 +237,10 @@ a.button {
219
237
color : var (--text-color-inverse );
220
238
border : 1px solid var (--button-color-primary );
221
239
border-radius : 2px ;
222
- padding : 0.3rem 9rem 0.5rem ;
240
+ padding : 0.3rem 0.3rem 0.5rem ;
241
+ text-align : center;
242
+ width : var (--width );
223
243
-webkit-touch-callout : none;
224
- -webkit-user-select : none;
225
- -moz-user-select : none;
226
- -ms-user-select : none;
227
244
user-select : none;
228
245
}
229
246
@@ -253,9 +270,6 @@ a.button {
253
270
-webkit-background-clip : text;
254
271
background-repeat : no-repeat;
255
272
-webkit-touch-callout : none;
256
- -webkit-user-select : none;
257
- -moz-user-select : none;
258
- -ms-user-select : none;
259
273
user-select : none;
260
274
}
261
275
@@ -312,20 +326,26 @@ a.button {
312
326
display : flex;
313
327
flex-wrap : wrap;
314
328
justify-content : space-around;
329
+ gap : var (--gap );
330
+ margin : 0 calc (var (--gap ) * -1 ) 0 calc (-var (--gap ) * -1 );
315
331
animation : fadein 500ms ease-out forwards;
316
332
opacity : 0 ;
333
+ overflow-y : auto;
334
+ flex : 1 ;
335
+ padding-bottom : var (--gap );
336
+ box-sizing : border-box;
317
337
}
318
338
319
339
.benchmark {
320
340
position : relative;
321
341
flex : 1 ;
322
342
max-width : 20% ;
323
- min-width : 200 px ;
343
+ min-width : var ( --width ) ;
324
344
text-align : left;
325
345
color : var (--text-color-very-subtle );
326
346
font-size : 1.6rem ;
327
- margin : 0 1.6 rem 3 rem 0 ;
328
-
347
+ scroll- margin-top : 20 vh ;
348
+ scroll-margin-bottom : 20 vh ;
329
349
}
330
350
331
351
.benchmark h4 ,
@@ -359,9 +379,6 @@ a.button {
359
379
background-color : transparent;
360
380
background-image : none;
361
381
-webkit-touch-callout : revert;
362
- -webkit-user-select : text;
363
- -moz-user-select : text;
364
- -ms-user-select : text;
365
382
user-select : text;
366
383
}
367
384
@@ -545,15 +562,4 @@ dt:target {
545
562
# jetstreams {
546
563
background-size : 200% ;
547
564
}
548
-
549
-
550
- article ,
551
- .summary {
552
- padding-top : 10rem ;
553
- margin : 0 1rem ;
554
- }
555
-
556
- a .button {
557
- padding : 0.3rem 6rem 0.5rem ;
558
- }
559
- }
565
+ }
0 commit comments