File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,12 @@ header h1, section h2 {
49
49
}
50
50
51
51
header h1 {
52
+ line-height : 1 ;
52
53
font-size : 10rem ;
53
54
margin-bottom : 0 ;
54
55
margin-top : 0 ;
55
56
}
56
57
57
- header {
58
- padding : 30px 0 60px 0 ;
59
- }
60
-
61
58
header .button.button-primary.button-download {
62
59
background-color : $yellow ;
63
60
border-color : $yellow ;
@@ -66,7 +63,7 @@ header .button.button-primary.button-download {
66
63
padding : 20px ;
67
64
height : auto ;
68
65
font-size : 2em ;
69
- margin-top : 20 px ;
66
+ margin-top : 25 px ;
70
67
}
71
68
72
69
header .button.button-primary.button-download :hover {
@@ -82,7 +79,7 @@ h2.subtitle {
82
79
}
83
80
84
81
section {
85
- padding : 30px 0 60 px 0 ;
82
+ padding : 30px 0 ;
86
83
}
87
84
88
85
ul {
@@ -566,7 +563,7 @@ blockquote::before {
566
563
.button.button-primary.button-download {
567
564
padding : 5px ;
568
565
font-size : 1.5em ;
569
- margin-top : 20 px ;
566
+ margin-top : 0 ;
570
567
}
571
568
}
572
569
}
Original file line number Diff line number Diff line change 1
1
{{ #*inline " page" }}
2
- <header class =" mb6 -ns" >
2
+ <header class =" pt4 pb4 -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 =" mt4 f2 f1-ns" >
6
+ <h2 class =" 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 class = " mt4 mt0-l " >
11
+ <div >
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" >
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 " >
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 =" f3 lh-copy" >
12
+ <p class =" mb0 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 =" f3 lh-copy" >
20
+ <p class =" mb0 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 =" f3 lh-copy" >
28
+ <p class =" mb0 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