1
1
@import " variables.less" ;
2
2
3
3
* {
4
- -webkit-box-sizing : border-box ;
5
- -moz-box-sizing : border-box ;
6
4
box-sizing : border-box ;
7
5
border : none ;
8
6
margin : 0 ;
@@ -140,6 +138,7 @@ footer {
140
138
padding-top : 2em ;
141
139
padding-bottom : 2em ;
142
140
-webkit-font-smoothing : antialiased ;
141
+ -moz-osx-font-smoothing : grayscale ;
143
142
144
143
.copyright {
145
144
text-align : center ;
@@ -210,6 +209,7 @@ body.index {
210
209
margin-top : -50px ;
211
210
padding-top : 50px ;
212
211
-webkit-font-smoothing : antialiased ;
212
+ -moz-osx-font-smoothing : grayscale ;
213
213
214
214
header {
215
215
background : none ;
@@ -261,6 +261,7 @@ body.index {
261
261
262
262
.prism {
263
263
-webkit-font-smoothing : auto ;
264
+ -moz-osx-font-smoothing : auto ;
264
265
color : white ;
265
266
background : transparent ;
266
267
box-shadow : none ;
@@ -272,31 +273,14 @@ body.index {
272
273
margin-right : -20px ;
273
274
}
274
275
275
- .marketing-col :nth- child(1 ) {
276
- -webkit-animation : fade 1.1s ease-in-out ;
277
- -moz-animation : fade 1.1s ease-in-out ;
278
- animation : fade 1.1s ease-in-out ;
279
- -webkit-animation-fill-mode : both ;
280
- -moz-animation-fill-mode : both ;
281
- animation-fill-mode : both ;
282
- }
283
-
284
- .marketing-col :nth- child(2 ) {
285
- -webkit-animation : fade 1.1s 0.8s ease-in-out ;
286
- -moz-animation : fade 1.1s 0.8s ease-in-out ;
287
- animation : fade 1.1s 0.8s ease-in-out ;
288
- -webkit-animation-fill-mode : both ;
289
- -moz-animation-fill-mode : both ;
290
- animation-fill-mode : both ;
291
- }
276
+ .fadein-cols (3 );
292
277
293
- .marketing-col :nth- child(3 ) {
294
- -webkit-animation : fade 1.1s 1.6s ease-in-out ;
295
- -moz-animation : fade 1.1s 1.6s ease-in-out ;
296
- animation : fade 1.1s 1.6s ease-in-out ;
297
- -webkit-animation-fill-mode : both ;
298
- -moz-animation-fill-mode : both ;
299
- animation-fill-mode : both ;
278
+ .fadein-cols (@n ) when (@n > 0 ) {
279
+ .fadein-cols (@n - 1 );
280
+ .marketing-col :nth- child(@{n} ) {
281
+ animation : fade 1.1s 0.8s * (@n - 1 ) ease-in-out ;
282
+ animation-fill-mode : both ;
283
+ }
300
284
}
301
285
302
286
@keyframes fade {
@@ -524,7 +508,6 @@ section.black content {
524
508
}
525
509
526
510
.button {
527
- background : -webkit-linear-gradient ( #9a9a9a , #646464 );
528
511
background : linear-gradient ( #9a9a9a , #646464 );
529
512
border-radius : 4px ;
530
513
padding : 8px 16px ;
@@ -552,7 +535,6 @@ section.black content {
552
535
}
553
536
554
537
.button.blue {
555
- background : -webkit-linear-gradient ( #77a3d2 , #4783c2 );
556
538
background : linear-gradient ( #77a3d2 , #4783c2 );
557
539
}
558
540
@@ -649,23 +631,17 @@ p + .apiIndex {
649
631
650
632
.apiIndex pre {
651
633
.code-font ();
652
- text-shadow : 0 1px white ;
653
634
direction : ltr ;
654
- text-align : left ;
655
- white-space : pre ;
656
- word-spacing : normal ;
657
- word-break : normal ;
658
-
659
- -moz-tab-size : 2 ;
660
- -o-tab-size : 2 ;
661
- tab-size : 2 ;
662
-
663
635
-webkit-hyphens : none ;
664
636
-moz-hyphens : none ;
665
637
-ms-hyphens : none ;
666
638
hyphens : none ;
667
-
668
- white-space : pre-wrap ;
639
+ tab-size : 2 ;
640
+ text-align : left ;
641
+ text-shadow : 0 1px white ;
642
+ white-space : pre ;
643
+ word-break : normal ;
644
+ word-spacing : normal ;
669
645
}
670
646
671
647
.apiIndex li {
0 commit comments