File tree Expand file tree Collapse file tree 4 files changed +51
-4
lines changed Expand file tree Collapse file tree 4 files changed +51
-4
lines changed Original file line number Diff line number Diff line change 15
15
16
16
< body id ="idx ">
17
17
18
+ < main >
19
+ < header >
20
+ < div >
21
+ < h1 > rustup</ h1 >
22
+ < h2 > An installer for the systems programming language < a href ="https://www.rust-lang.org "> Rust</ a > </ h2 >
23
+ </ div >
24
+ </ header >
18
25
< a id ="platform-button " class ="display-none " href ="# ">
19
26
click or press "n" to cycle platforms
20
27
</ a >
217
224
</ div >
218
225
</ div >
219
226
220
- < p >
227
+ < p id =" help " >
221
228
Need help?< br > Ask on < a href ="https://discord.gg/rust-lang "> #beginners in the Rust Discord</ a > < br >
222
229
or in the < a href ="https://users.rust-lang.org "> Rust Users Forum</ a > .
223
230
</ p >
232
239
·
233
240
< a href ="https://rust-lang.github.io/rustup/ "> about rustup</ a >
234
241
</ p >
242
+ </ main >
235
243
236
244
< script src ="rustup.js "> </ script >
237
245
</ body >
Original file line number Diff line number Diff line change 31
31
src : local ('Work Sans Medium' ), url ("fonts/WorkSans-Medium.ttf" ) format ('truetype' );
32
32
}
33
33
34
+ @font-face {
35
+ font-family : 'Alfa Slab One' ;
36
+ font-style : normal;
37
+ font-weight : 400 ;
38
+ src : local ('Alfa Slab One' ),
39
+ url ("fonts/AlfaSlabOne-Regular.woff2" ) format ('woff2' ),
40
+ url ("fonts/AlfaSlabOne-Regular.woff" ) format ('woff' );
41
+ }
42
+
34
43
body {
35
44
margin-top : 2em ;
36
45
background-color : white;
45
54
font-weight : 400 ;
46
55
}
47
56
57
+ header > div {
58
+ display : flex;
59
+ flex-direction : column;
60
+ align-items : flex-start;
61
+ }
62
+
63
+ header > div > h1 {
64
+ font-family : "Alfa Slab One" , serif;
65
+ color : black;
66
+ font-size : 4rem ;
67
+ margin-bottom : 0 ;
68
+ margin-top : 1rem ;
69
+ line-height : 1 ;
70
+ font-weight : 300 ;
71
+ letter-spacing : 1px ;
72
+ }
73
+
74
+ header > div > h2 {
75
+ color : black;
76
+ font-size : 2rem ;
77
+ font-weight : 300 ;
78
+ }
79
+
48
80
a {
49
81
color : # 428bca ;
50
82
text-decoration : none;
@@ -54,11 +86,12 @@ a:hover {
54
86
color : rgb (42 , 100 , 150 );
55
87
}
56
88
57
- body # idx > * {
89
+ main {
90
+ width : 80% ;
91
+ max-width : 1200px ;
92
+ padding : 0 20px ;
58
93
margin-left : auto;
59
94
margin-right : auto;
60
- text-align : center;
61
- width : 35em ;
62
95
}
63
96
64
97
body # idx p {
@@ -195,9 +228,15 @@ hr {
195
228
line-height : 2rem ;
196
229
}
197
230
231
+ # help {
232
+ font-size : 20px ;
233
+ text-align : center;
234
+ }
235
+
198
236
# about {
199
237
font-size : 16px ;
200
238
line-height : 2em ;
239
+ text-align : center;
201
240
}
202
241
203
242
# about > img {
You can’t perform that action at this time.
0 commit comments