1
- @import ' tachyons-ext' ;
1
+ @import " tachyons-ext" ;
2
2
3
- $body-font : ' Fira Sans' , Helvetica , Arial , sans-serif ;
4
- $header-font : ' Alfa Slab One' , serif ;
3
+ $body-font : " Fira Sans" , Helvetica , Arial , sans-serif ;
4
+ $header-font : " Alfa Slab One" , serif ;
5
5
6
- $gray : #454C52 ;
7
- $red : #C14566 ;
6
+ $gray : #454c52 ;
7
+ $red : #c14566 ;
8
8
$green : #398277 ;
9
- $purple : #403D58 ;
10
- $yellow : #FFD45E ;
9
+ $purple : #403d58 ;
10
+ $yellow : #ffd45e ;
11
11
$border-radius : 4px ;
12
- $link-color : #1EAEDB ;
12
+ $link-color : #1eaedb ;
13
13
$footer-gray : #303030 ;
14
14
15
15
html {
16
- font-size : 62.5%
16
+ font-size : 62.5% ;
17
17
}
18
18
19
19
@media screen and (min-width : 30em ) {
33
33
display : flex ;
34
34
flex-direction : column ;
35
35
& > #main-content {
36
- flex : 1 ;
36
+ flex : 1 ;
37
37
}
38
38
}
39
39
@@ -43,12 +43,12 @@ body {
43
43
}
44
44
45
45
code {
46
- padding : .2rem .5rem ;
47
- margin : 0 .2rem ;
46
+ padding : 0 .2rem 0 .5rem ;
47
+ margin : 0 0 .2rem ;
48
48
font-size : 90% ;
49
49
white-space : nowrap ;
50
- background : #F1F1F1 ;
51
- border : 1px solid #E1E1E1 ;
50
+ background : #f1f1f1 ;
51
+ border : 1px solid #e1e1e1 ;
52
52
border-radius : 4px ;
53
53
overflow : auto ;
54
54
}
@@ -61,7 +61,7 @@ pre > code {
61
61
@mixin code-highlight-white {
62
62
color : white ;
63
63
background-color : rgba (black , 0.3 );
64
- border : 1px solid #E1E1E1 ;
64
+ border : 1px solid #e1e1e1 ;
65
65
border-radius : $border-radius ;
66
66
}
67
67
@@ -80,15 +80,16 @@ button {
80
80
padding : 8px 30px ;
81
81
text-align : center ;
82
82
font-weight : 600 ;
83
- letter-spacing : .1rem ;
83
+ letter-spacing : 0 .1rem ;
84
84
text-transform : uppercase ;
85
85
text-decoration : none ;
86
86
border-radius : 4px ;
87
87
border : 1px solid ;
88
88
cursor : pointer ;
89
89
box-sizing : border-box ;
90
90
91
- & :hover , & :focus {
91
+ & :hover ,
92
+ & :focus {
92
93
outline : 0 ;
93
94
}
94
95
}
@@ -109,7 +110,8 @@ code.code-header {
109
110
margin : 0 0 3px 0 ;
110
111
}
111
112
112
- header h1 , section h2 {
113
+ header h1 ,
114
+ section h2 {
113
115
z-index : 999999 ;
114
116
position : relative ;
115
117
letter-spacing : 1px ;
@@ -137,7 +139,8 @@ section h3 {
137
139
line-height : 1.3 ;
138
140
}
139
141
140
- section p , code {
142
+ section p ,
143
+ code {
141
144
line-height : 1.6 ;
142
145
}
143
146
@@ -151,7 +154,8 @@ header .button.button-download {
151
154
font-size : 2.25rem ;
152
155
margin-top : 20px ;
153
156
154
- & :hover , & :focus {
157
+ & :hover ,
158
+ & :focus {
155
159
border-color : black ;
156
160
}
157
161
}
@@ -181,8 +185,8 @@ section {
181
185
}
182
186
183
187
h2 {
184
- font-family : $body-font ;
185
- font-weight : 800 ;
188
+ font-family : $body-font ;
189
+ font-weight : 800 ;
186
190
}
187
191
188
192
h3 {
@@ -265,7 +269,8 @@ a.brand {
265
269
border-color : $purple ;
266
270
color : white ;
267
271
text-decoration : none ;
268
- & :hover , & :focus {
272
+ & :hover ,
273
+ & :focus {
269
274
border-color : white ;
270
275
}
271
276
}
@@ -289,7 +294,8 @@ a.brand {
289
294
border-color : $purple ;
290
295
color : white ;
291
296
text-decoration : none ;
292
- & :hover , & :focus {
297
+ & :hover ,
298
+ & :focus {
293
299
border-color : white ;
294
300
}
295
301
}
@@ -299,7 +305,7 @@ a.brand {
299
305
}
300
306
301
307
.white {
302
- color : black ;
308
+ color : black ;
303
309
.highlight {
304
310
background-color : $yellow ;
305
311
}
@@ -312,7 +318,8 @@ a.brand {
312
318
border-color : $yellow ;
313
319
color : $gray ;
314
320
text-decoration : none ;
315
- & :hover , & :focus {
321
+ & :hover ,
322
+ & :focus {
316
323
border-color : $gray ;
317
324
}
318
325
}
@@ -336,7 +343,8 @@ a.brand {
336
343
border-color : $red ;
337
344
color : white ;
338
345
text-decoration : none ;
339
- & :hover , & :focus {
346
+ & :hover ,
347
+ & :focus {
340
348
border-color : white ;
341
349
}
342
350
}
@@ -418,7 +426,7 @@ footer .attribution {
418
426
}
419
427
420
428
footer .languages {
421
- color : $gray
429
+ color : $gray ;
422
430
}
423
431
424
432
blockquote {
@@ -431,7 +439,7 @@ blockquote {
431
439
}
432
440
433
441
blockquote ::before {
434
- content : ' “ ' ;
442
+ content : " “ " ;
435
443
color : $gray ;
436
444
font-size : 3em ;
437
445
position : absolute ;
@@ -493,7 +501,8 @@ blockquote::before {
493
501
min-height : 300px ;
494
502
}
495
503
496
- #share-your-experience h3 , #production-domains h3 {
504
+ #share-your-experience h3 ,
505
+ #production-domains h3 {
497
506
padding-bottom : 20px ;
498
507
text-align : center ;
499
508
}
@@ -524,7 +533,6 @@ blockquote::before {
524
533
}
525
534
}
526
535
527
-
528
536
#rust-trademarks {
529
537
img {
530
538
vertical-align : middle ;
@@ -635,8 +643,8 @@ blockquote::before {
635
643
background-color : rgba (white , 0.15 );
636
644
border : 1px solid rgba (white , 0.65 );
637
645
margin-bottom : 20px ;
638
- padding : .2rem .5rem ;
639
- margin : 0 .2rem ;
646
+ padding : 0 .2rem 0 .5rem ;
647
+ margin : 0 0 .2rem ;
640
648
border-radius : 4px ;
641
649
}
642
650
@@ -672,15 +680,15 @@ blockquote::before {
672
680
}
673
681
}
674
682
675
- section header {
676
- padding : {
677
- top : 10px ;
678
- bottom : 30px ;
679
- }
680
- h2 {
681
- font-size : 3rem ;
682
- }
683
+ section header {
684
+ padding : {
685
+ top : 10px ;
686
+ bottom : 30px ;
683
687
}
688
+ h2 {
689
+ font-size : 3rem ;
690
+ }
691
+ }
684
692
685
693
.team {
686
694
text-align : center ;
@@ -744,10 +752,10 @@ blockquote::before {
744
752
}
745
753
746
754
#pb4 {
747
- padding-bottom : 3.8em ;
755
+ padding-bottom : 3.8em ;
748
756
}
749
757
750
758
.max-height-5rem {
751
- /* Tachyons is missing this class */
752
- max-height : 5rem ;
759
+ /* Tachyons is missing this class */
760
+ max-height : 5rem ;
753
761
}
0 commit comments