File tree Expand file tree Collapse file tree 4 files changed +14
-11
lines changed Expand file tree Collapse file tree 4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,15 @@ header h1, section h2 {
49
49
}
50
50
51
51
header h1 {
52
- line-height : 1 ;
53
52
font-size : 10rem ;
54
53
margin-bottom : 0 ;
55
54
margin-top : 0 ;
56
55
}
57
56
57
+ header {
58
+ padding : 30px 0 60px 0 ;
59
+ }
60
+
58
61
header .button.button-primary.button-download {
59
62
background-color : $yellow ;
60
63
border-color : $yellow ;
@@ -63,7 +66,7 @@ header .button.button-primary.button-download {
63
66
padding : 20px ;
64
67
height : auto ;
65
68
font-size : 2em ;
66
- margin-top : 25 px ;
69
+ margin-top : 20 px ;
67
70
}
68
71
69
72
header .button.button-primary.button-download {
@@ -81,7 +84,7 @@ h2.subtitle {
81
84
}
82
85
83
86
section {
84
- padding : 30px 0 ;
87
+ padding : 30px 0 60 px 0 ;
85
88
}
86
89
87
90
ul {
@@ -565,7 +568,7 @@ blockquote::before {
565
568
.button.button-primary.button-download {
566
569
padding : 5px ;
567
570
font-size : 1.5em ;
568
- margin-top : 0 ;
571
+ margin-top : 20 px ;
569
572
}
570
573
}
571
574
}
Original file line number Diff line number Diff line change 1
1
{{ #*inline " page" }}
2
- <header class =" pt4 pb4 -ns" >
2
+ <header class =" mb6 -ns" >
3
3
<div class =" container flex flex-column flex-row-l justify-between-l" >
4
4
<div class =" mw8-l" >
5
5
<h1 >Rust</h1 >
6
- <h2 class =" f2 f1-ns" >
6
+ <h2 class =" mt4 f2 f1-ns" >
7
7
The programming language that empowers <em >everyone</em > to become a
8
8
systems programmer.
9
9
</h2 >
10
10
</div >
11
- <div >
11
+ <div class = " mt4 mt0-l " >
12
12
<a class =" button button-primary button-download ph4 mt0" href =" /learn/get-started" >
13
13
Get started
14
14
</a >
Original file line number Diff line number Diff line change 7
7
<span class =" pl4 db dn-l" >{{!-- spacer --}} </span >
8
8
</a >
9
9
10
- <ul class =" nav list w-100 w-auto-l flex flex-none flex-row flex-wrap justify-center justify-end-l items-center pv2 ph4-ns pl0 " >
10
+ <ul class =" nav list w-100 w-auto-l flex flex-none flex-row flex-wrap justify-center justify-end-l items-center pv2 ph4-ns" >
11
11
<li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /learn" >Learn</a ></li >
12
12
<li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /tools" >Tools</a ></li >
13
13
<li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /governance" >Governance</a ></li >
Original file line number Diff line number Diff line change 9
9
<div class =" flex flex-column flex-row-l pv4 pv0-l" >
10
10
<section class =" flex flex-column mw8 measure-wide-l pv3 pt4-ns pr4-l" >
11
11
<h3 class =" f2 f1-l" >Performance</h3 >
12
- <p class =" mb0 f3 lh-copy" >
12
+ <p class =" f3 lh-copy" >
13
13
Rust is blazingly fast and memory-efficient: with no runtime or
14
14
garbage collector, it can power performance-critical services, run on
15
15
embedded devices, and easily integrate with other languages.
16
16
</p >
17
17
</section >
18
18
<section class =" flex flex-column mw8 measure-wide-l pv3 pt4-ns ph3-l" >
19
19
<h3 class =" f2 f1-l" >Reliability</h3 >
20
- <p class =" mb0 f3 lh-copy" >
20
+ <p class =" f3 lh-copy" >
21
21
Rust’s rich type system and ownership model guarantee memory-safety
22
22
and thread-safety — and enable you to eliminate many other
23
23
classes of bugs at compile-time.
24
24
</p >
25
25
</section >
26
26
<section class =" flex flex-column mw8 measure-wide-l pv3 pt4-ns pl4-l" >
27
27
<h3 class =" f2 f1-l" >Productivity</h3 >
28
- <p class =" mb0 f3 lh-copy" >
28
+ <p class =" f3 lh-copy" >
29
29
Rust has great documentation, a friendly compiler with useful error
30
30
messages, and top-notch tooling — an integrated package manager
31
31
and build tool, a multi-editor language server, an auto-formatter, and
You can’t perform that action at this time.
0 commit comments