File tree Expand file tree Collapse file tree 3 files changed +30
-13
lines changed Expand file tree Collapse file tree 3 files changed +30
-13
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ fn concat_vendor_css(files: Vec<&str>) {
280
280
fn main ( ) {
281
281
compile_sass ( "app" ) ;
282
282
compile_sass ( "fonts" ) ;
283
- concat_vendor_css ( vec ! [ "skeleton" , " tachyons"] ) ;
283
+ concat_vendor_css ( vec ! [ "tachyons" ] ) ;
284
284
285
285
rocket:: ignite ( )
286
286
. attach ( Template :: fairing ( ) )
Original file line number Diff line number Diff line change 22
22
body {
23
23
font-family : $body-font ;
24
24
background-color : white ;
25
+ font-size : 1.5rem ;
26
+ line-height : 1.6 ;
25
27
26
28
/* Ensure the footer is always at the bottom of the screen */
27
29
min-height : 100vh ;
@@ -80,12 +82,15 @@ header h1, section h2 {
80
82
font-family : $header-font ;
81
83
z-index : 999999 ;
82
84
position : relative ;
85
+ letter-spacing : 1px ;
86
+ font-weight : 300 ;
83
87
}
84
88
85
89
header h1 {
86
90
font-size : 8rem ;
87
91
margin-bottom : 0 ;
88
92
margin-top : 0 ;
93
+ line-height : 1.2
89
94
}
90
95
91
96
header .button.button-download {
@@ -122,6 +127,8 @@ section {
122
127
margin : 0 ;
123
128
padding : 0 ;
124
129
letter-spacing : 1px ;
130
+ font-size : 4.2rem ;
131
+ line-height : 1.25 ;
125
132
}
126
133
}
127
134
}
@@ -314,6 +321,7 @@ header h1 {
314
321
left : -10px ;
315
322
width : 120% ;
316
323
max-width : 90vw ;
324
+ line-height : 1.6 ;
317
325
}
318
326
319
327
footer {
@@ -328,6 +336,11 @@ footer {
328
336
ul {
329
337
list-style-type : none ;
330
338
padding-left : 0 ;
339
+ margin-top : 0 ;
340
+ }
341
+
342
+ li {
343
+ margin-bottom : 1rem ;
331
344
}
332
345
333
346
a {
@@ -344,6 +357,8 @@ footer {
344
357
footer h4 {
345
358
font-size : 1.2em ;
346
359
font-weight : 800 ;
360
+ margin-top : 0 ;
361
+ margin-bottom : 2rem ;
347
362
}
348
363
349
364
footer img {
@@ -594,10 +609,6 @@ blockquote::before {
594
609
font-size : 4rem ;
595
610
}
596
611
597
- h2 {
598
- font-size : 3rem ;
599
- }
600
-
601
612
.highlight {
602
613
height : 20px ;
603
614
top : -20px ;
@@ -620,6 +631,10 @@ blockquote::before {
620
631
top : 10px ;
621
632
bottom : 30px ;
622
633
}
634
+
635
+ h2 {
636
+ font-size : 3rem ;
637
+ }
623
638
}
624
639
}
625
640
Original file line number Diff line number Diff line change 1
1
<footer >
2
2
<div class =" w-100 mw-none ph3 mw8-m mw9-l center f3" >
3
- <div class =" row" >
4
- <div class =" four columns mt3 mt0 -l" id =" get-help" >
3
+ <div class =" flex flex-column flex- row-ns pv0-l " >
4
+ <div class =" flex flex-column mw8 w-100 measure-wide-l pv2 pv5-m pv2-ns ph4-m ph4 -l" id =" get-help" >
5
5
<h4 >Get help!</h4 >
6
6
<ul >
7
7
<li ><a href =" https://doc.rust-lang.org" >Documentation</a ></li >
15
15
</select >
16
16
</div >
17
17
</div >
18
- <div class =" four columns mt3 mt0 -l" >
18
+ <div class =" flex flex-column mw8 w-100 measure-wide-l pv2 pv5-m pv2-ns ph4-m ph4 -l" >
19
19
<h4 >Terms and policies</h4 >
20
20
<ul >
21
21
<li ><a href =" /policies/code-of-conduct" >Code of Conduct</a ></li >
25
25
<li ><a href =" /policies" >All Policies</a ></li >
26
26
</ul >
27
27
</div >
28
- <div class =" four columns mt3 mt0 -l" >
28
+ <div class =" flex flex-column mw8 w-100 measure-wide-l pv2 pv5-m pv2-ns ph4-m ph4 -l" >
29
29
<h4 >Social</h4 >
30
- <a href =" https://twitter.com/rustlang" ><img src =" /static/images/twitter.svg" alt =" twitter logo" title =" Twitter" /></a >
31
- <a href =" https://www.youtube.com/channel/UCaYhcUwRBNscFNUKTjgPFiA" ><img style =" padding-top: 6px; padding-bottom:6px" src =" /static/images/youtube.svg" alt =" youtube logo" title =" YouTube" /></a >
32
- <a href =" https://discord.gg/rust-lang" ><img src =" /static/images/discord.svg" alt =" discord logo" title =" Discord" /></a >
33
- <a href =" https://github.com/rust-lang" ><img src =" /static/images/github.svg" alt =" github logo" title =" GitHub" /></a >
30
+ <div class =" flex flex-row flex-wrap" >
31
+ <a href =" https://twitter.com/rustlang" ><img src =" /static/images/twitter.svg" alt =" twitter logo" title =" Twitter" /></a >
32
+ <a href =" https://www.youtube.com/channel/UCaYhcUwRBNscFNUKTjgPFiA" ><img style =" padding-top: 6px; padding-bottom:6px" src =" /static/images/youtube.svg" alt =" youtube logo" title =" YouTube" /></a >
33
+ <a href =" https://discord.gg/rust-lang" ><img src =" /static/images/discord.svg" alt =" discord logo" title =" Discord" /></a >
34
+ <a href =" https://github.com/rust-lang" ><img src =" /static/images/github.svg" alt =" github logo" title =" GitHub" /></a >
35
+ </div >
34
36
</div >
35
37
36
38
</div >
You can’t perform that action at this time.
0 commit comments