@@ -42,7 +42,7 @@ body.index {
42
42
43
43
& ::before {
44
44
background : url(" /img/graph-wash.png" ) repeat center center ;
45
- content : ' ' ;
45
+ content : " " ;
46
46
height : 100% ;
47
47
position : absolute ;
48
48
top : 0 ;
@@ -65,7 +65,8 @@ body.index {
65
65
nav > a {
66
66
text-shadow : 0 1px 1px @dark-color , 0 0 3px @dark-color ;
67
67
68
- & :hover , & :focus {
68
+ & :hover ,
69
+ & :focus {
69
70
color : white ;
70
71
}
71
72
@@ -112,6 +113,10 @@ body.index {
112
113
animation-fill-mode : both ;
113
114
margin-right : 18px ;
114
115
116
+ @media screen and (max-width : 768px ) {
117
+ margin-top : 3rem ;
118
+ }
119
+
115
120
h1 {
116
121
color : @rhodamine-color ;
117
122
margin : 0 ;
@@ -163,9 +168,10 @@ body.index {
163
168
}
164
169
165
170
.fadein-cols (4 );
166
- .fadein-cols (@n ) when (@n > 1 ) { .fadein-cols (@n - 1 );
171
+ .fadein-cols (@n ) when (@n > 1 ) {
172
+ .fadein-cols (@n - 1 );
167
173
.marketing-col :nth- child(@{n} ) {
168
- animation : fade 1.0 s 0.5s * @n ease-in-out both ;
174
+ animation : fade 1 s 0.5s * @n ease-in-out both ;
169
175
}
170
176
}
171
177
@@ -199,14 +205,16 @@ body.index {
199
205
.headline-font (@size : 17px , @color : white );
200
206
border : solid 1px fadeout (white , 60% );
201
207
border-radius : 6px ;
202
- line-height : 1.0 ;
208
+ line-height : 1 ;
203
209
transition : background 0.1s ease-out , color 0.1s ease-out ;
204
210
padding : 0.6em 1.6em ;
205
211
margin : 0 0.8em ;
206
212
display : inline-block ;
207
213
text-decoration : none ;
208
214
209
- & :hover , & :focus , & :active {
215
+ & :hover ,
216
+ & :focus ,
217
+ & :active {
210
218
color : @text-color ;
211
219
background : white ;
212
220
text-decoration : none ;
@@ -234,17 +242,16 @@ body.index {
234
242
235
243
.darkWash {
236
244
background : #3d464f ;
237
- box-shadow :
238
- inset 0 30px 30px -30px rgba (0 ,0 ,0 ,0.35 ),
239
- inset 0 -20px 30px -30px rgba (0 ,0 ,0 ,0.35 );
245
+ box-shadow : inset 0 30px 30px -30px rgba (0 , 0 , 0 , 0.35 ),
246
+ inset 0 -20px 30px -30px rgba (0 , 0 , 0 , 0.35 );
240
247
overflow : hidden ;
241
248
position : relative ;
242
249
}
243
250
244
251
.window {
245
252
background : white ;
246
253
border-radius : 6px 6px 0 0 ;
247
- box-shadow : 0 0 0 1px rgba (0 ,0 , 0 , 0.1 ), 0 8px 32px rgba (0 ,0 , 0 , 0.12 );
254
+ box-shadow : 0 0 0 1px rgba (0 , 0 , 0 , 0.1 ), 0 8px 32px rgba (0 , 0 , 0 , 0.12 );
248
255
margin : 0 -15px ;
249
256
overflow : hidden ;
250
257
padding-top : 26px ;
@@ -253,8 +260,8 @@ body.index {
253
260
& ::before {
254
261
background : linear-gradient (#f0f0f0 , #dedede );
255
262
border-radius : 6px 6px 0 0 ;
256
- box-shadow : inset 0 2px 2px -2px white , 0 1px rgba (0 ,0 , 0 , 0.4 );
257
- content : ' ' ;
263
+ box-shadow : inset 0 2px 2px -2px white , 0 1px rgba (0 , 0 , 0 , 0.4 );
264
+ content : " " ;
258
265
display : block ;
259
266
height : 25px ;
260
267
position : absolute ;
@@ -304,7 +311,8 @@ body.index {
304
311
flex-direction : column ;
305
312
pointer-events : none ;
306
313
307
- .query , .response {
314
+ .query ,
315
+ .response {
308
316
flex : 1 ;
309
317
}
310
318
@@ -321,10 +329,12 @@ body.index {
321
329
animation : cursor- blink 0.5s infinite linear both alternate ;
322
330
323
331
@keyframes cursor- blink {
324
- 0% , 30% {
332
+ 0% ,
333
+ 30% {
325
334
opacity : 0 ;
326
335
}
327
- 70% , 100% {
336
+ 70% ,
337
+ 100% {
328
338
opacity : 1 ;
329
339
}
330
340
}
@@ -357,7 +367,8 @@ body.index {
357
367
margin-top : 0 ;
358
368
}
359
369
360
- .phone , .server {
370
+ .phone ,
371
+ .server {
361
372
position : absolute ;
362
373
left : 0 ;
363
374
right : 0 ;
@@ -371,7 +382,8 @@ body.index {
371
382
top : 0 ;
372
383
}
373
384
374
- .query , .response {
385
+ .query ,
386
+ .response {
375
387
position : absolute ;
376
388
}
377
389
@@ -385,15 +397,17 @@ body.index {
385
397
top : 230px ;
386
398
}
387
399
388
- 5% , 25% {
400
+ 5% ,
401
+ 25% {
389
402
opacity : 1 ;
390
403
}
391
404
392
405
40% {
393
406
opacity : 0 ;
394
407
}
395
408
396
- 50% , 100% {
409
+ 50% ,
410
+ 100% {
397
411
top : 150px ;
398
412
opacity : 0 ;
399
413
}
@@ -414,11 +428,13 @@ body.index {
414
428
opacity : 0 ;
415
429
}
416
430
417
- 25% , 45% {
431
+ 25% ,
432
+ 45% {
418
433
opacity : 1 ;
419
434
}
420
435
421
- 50% , 100% {
436
+ 50% ,
437
+ 100% {
422
438
opacity : 0 ;
423
439
top : 200px ;
424
440
}
@@ -442,7 +458,8 @@ body.index {
442
458
display : flex ;
443
459
pointer-events : none ;
444
460
445
- .type-system , .query {
461
+ .type-system ,
462
+ .query {
446
463
background : white ;
447
464
flex : 1 ;
448
465
position : relative ;
@@ -495,9 +512,7 @@ body.index {
495
512
.graphiqlVid {
496
513
background : white ;
497
514
border-radius : 6px 6px 0 0 ;
498
- box-shadow :
499
- 0 0 0 1px rgba (0 , 0 , 0 , 0.2 ),
500
- 0 16px 64px rgba (0 , 0 , 0 , 0.6 );
515
+ box-shadow : 0 0 0 1px rgba (0 , 0 , 0 , 0.2 ), 0 16px 64px rgba (0 , 0 , 0 , 0.6 );
501
516
margin : 3em -10px 0 ;
502
517
overflow : hidden ;
503
518
padding-top : 40% ;
@@ -534,7 +549,7 @@ body.index {
534
549
.add {
535
550
.code-font (@color : darken (#eaffea , 75% ));
536
551
& ::before {
537
- content : ' + ' ;
552
+ content : " + " ;
538
553
}
539
554
background : #eaffea ;
540
555
border-left : solid 1px darken (#eaffea , 10% );
@@ -543,13 +558,14 @@ body.index {
543
558
.remove {
544
559
.code-font (@color : darken (#ffecec , 75% ));
545
560
& ::before {
546
- content : ' - ' ;
561
+ content : " - " ;
547
562
}
548
563
background : #ffecec ;
549
564
border-left : solid 1px darken (#ffecec , 10% );
550
565
}
551
566
552
- .add , .remove {
567
+ .add ,
568
+ .remove {
553
569
opacity : 0 ;
554
570
transition : opacity 0.5s ease-in-out ;
555
571
position : absolute ;
@@ -566,15 +582,18 @@ body.index {
566
582
position : relative ;
567
583
width : 5 * @pane-width ;
568
584
569
- .v1 , .v2 , .v3 , .v4 , .v5 {
585
+ .v1 ,
586
+ .v2 ,
587
+ .v3 ,
588
+ .v4 ,
589
+ .v5 {
570
590
border-left : solid 1px #eee ;
571
591
flex : 1 ;
572
592
padding : 4px 6px 18px ;
573
593
position : relative ;
574
594
width : @pane-width ;
575
595
}
576
596
577
-
578
597
& .step0 {
579
598
.v2 {
580
599
opacity : 0 ;
@@ -715,12 +734,11 @@ body.index {
715
734
transition : none ;
716
735
}
717
736
718
- & .step1 , & .step2 {
737
+ & .step1 ,
738
+ & .step2 {
719
739
& > pre :first-child {
720
740
line-height : 4 * 17px ;
721
- transition :
722
- top 0.5s ease-in-out ,
723
- line- height 0.5s ease-in-out ;
741
+ transition : top 0.5s ease-in-out , line- height 0.5s ease-in-out ;
724
742
725
743
& :first-line {
726
744
line-height : 17px ;
@@ -790,14 +808,17 @@ body.index {
790
808
.headline-font (@size : 17px , @color : @text-color );
791
809
border : solid 1px fadeout (black , 60% );
792
810
border-radius : 6px ;
793
- line-height : 1.0 ;
794
- transition : border 0.1s ease-out , background 0.1s ease-out , color 0.1s ease-out ;
811
+ line-height : 1 ;
812
+ transition : border 0.1s ease-out , background 0.1s ease-out ,
813
+ color 0.1s ease-out ;
795
814
padding : 0.65em 1.6em 0.6em ;
796
815
margin : 2em ;
797
816
display : inline-block ;
798
817
text-decoration : none ;
799
818
800
- & :hover , & :focus , & :active {
819
+ & :hover ,
820
+ & :focus ,
821
+ & :active {
801
822
color : white ;
802
823
background : @rhodamine-color ;
803
824
border-color : @rhodamine-color ;
0 commit comments