4
4
font-weight : 300 ;
5
5
src : local ('Fira Sans Light' ), url ("fonts/FiraSans-Light.woff" ) format ('woff' );
6
6
}
7
+
7
8
@font-face {
8
9
font-family : 'Fira Sans' ;
9
10
font-style : normal;
10
11
font-weight : 400 ;
11
12
src : local ('Fira Sans' ), url ("fonts/FiraSans-Regular.woff" ) format ('woff' );
12
13
}
14
+
13
15
@font-face {
14
16
font-family : 'Fira Sans' ;
15
17
font-style : normal;
31
33
src : local ('Work Sans Medium' ), url ("fonts/WorkSans-Medium.ttf" ) format ('truetype' );
32
34
}
33
35
36
+ @font-face {
37
+ font-family : 'Alfa Slab One' ;
38
+ font-style : normal;
39
+ font-weight : 400 ;
40
+ src : local ('Alfa Slab One' ),
41
+ url ("fonts/AlfaSlabOne-Regular.woff2" ) format ('woff2' ),
42
+ url ("fonts/AlfaSlabOne-Regular.woff" ) format ('woff' );
43
+ }
44
+
34
45
body {
35
- margin-top : 2em ;
36
46
background-color : white;
37
- color : # 515151 ;
38
- font-family : "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
47
+ font-family : "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
39
48
font-weight : 300 ;
40
49
font-size : 25px ;
50
+ margin : 0 ;
41
51
}
42
52
43
53
pre {
44
54
font-family : "Fira Mono" , ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono" , "Courier New" , monospace;
45
55
font-weight : 400 ;
46
56
}
47
57
48
- body # idx # pitch > a {
49
- font-weight : 500 ;
50
- line-height : 2em ;
58
+ header > div {
59
+ display : flex;
60
+ flex-direction : column;
61
+ align-items : flex-start;
62
+ }
63
+
64
+ header > div > h1 {
65
+ font-family : "Alfa Slab One" , serif;
66
+ color : black;
67
+ font-size : 4rem ;
68
+ margin-bottom : 0 ;
69
+ margin-top : 1rem ;
70
+ line-height : 1 ;
71
+ font-weight : 300 ;
72
+ letter-spacing : 1px ;
73
+ }
74
+
75
+ header > div > h2 {
76
+ color : black;
77
+ font-size : 2rem ;
78
+ font-weight : 300 ;
79
+ }
80
+
81
+ .highlight {
82
+ height : 12px ;
83
+ position : relative;
84
+ top : 0 ;
85
+ width : 100% ;
86
+ max-width : 90vw ;
87
+ line-height : 1.6 ;
88
+ border-radius : 2px ;
89
+ background-color : # ffc832 ;
51
90
}
52
91
53
92
a {
54
- color : # 428bca ;
55
- text-decoration : none ;
93
+ color : # 0b7261 ;
94
+ text-decoration : underline ;
56
95
}
57
96
58
97
a : hover {
59
- color : rgb (42 , 100 , 150 );
98
+ color : # 0d8b75 ;
99
+ text-decoration : underline;
60
100
}
61
101
62
- body # idx > * {
102
+ main {
63
103
margin-left : auto;
64
104
margin-right : auto;
65
- text-align : center;
66
- width : 35em ;
105
+ width : 45em ;
67
106
}
68
107
69
- body # idx > # pitch {
70
- width : 35rem ;
71
- }
72
-
73
- # pitch em {
74
- font-style : normal;
75
- font-weight : 400 ;
76
- }
77
108
78
109
body # idx p {
79
110
margin-top : 2em ;
@@ -84,8 +115,20 @@ body#idx p.other-platforms-help {
84
115
font-size : 0.6em ;
85
116
}
86
117
118
+ # get-started {
119
+ display : flex;
120
+ flex-direction : column;
121
+ align-items : start;
122
+ margin-bottom : 1rem ;
123
+ }
124
+
125
+ # get-started > div > h2 {
126
+ margin : 0 ;
127
+ font-size : 1.5rem ;
128
+ }
129
+
87
130
.instructions {
88
- background- color: rgb ( 250 , 250 , 250 ) ;
131
+ color : black ;
89
132
margin-left : auto;
90
133
margin-right : auto;
91
134
text-align : center;
@@ -94,41 +137,41 @@ body#idx p.other-platforms-help {
94
137
box-shadow : 0px 1px 4px 0px rgb (204 , 204 , 204 );
95
138
}
96
139
97
- .instructions > * {
140
+ .instructions > * {
98
141
width : 45rem ;
99
142
margin-left : auto;
100
143
margin-right : auto;
101
144
}
102
145
103
146
hr {
147
+ border-color : # 0b7261 ;
104
148
margin-top : 2em ;
105
149
margin-bottom : 2em ;
106
150
}
107
151
108
- # platform-instructions-unix > p ,
109
- # platform-instructions-win32 > p ,
110
- # platform-instructions-win64 > p ,
111
- # platform-instructions-win-arm64 > p ,
112
- # platform-instructions-default > p ,
113
- # platform-instructions-unknown > p {
152
+ # platform-instructions-unix > p ,
153
+ # platform-instructions-win32 > p ,
154
+ # platform-instructions-win64 > p ,
155
+ # platform-instructions-win-arm64 > p ,
156
+ # platform-instructions-default > p ,
157
+ # platform-instructions-unknown > p {
114
158
width : 40rem ;
115
159
}
116
160
117
161
.rustup-command ::before {
118
- color : # 999 ;
162
+ color : black ;
119
163
content : " $ " ;
120
- margin-left : 15px ;
164
+ margin-left : 15px ;
121
165
}
122
166
123
167
.rustup-command {
124
- background-color : # 515151 ;
125
- color : white;
168
+ color : black;
126
169
padding : 1rem 1rem 1rem 0 ;
127
170
width : 45rem ;
128
171
height : auto;
129
172
text-align : center;
130
173
border-radius : 3px 0 0 3px ;
131
- box-shadow : inset 0px 0px 20px 0px # 333333 ;
174
+ box-shadow : inset 0px 0px 20px 0px # f1eeee ;
132
175
overflow : hidden;
133
176
font-size : 0.6em ;
134
177
white-space : nowrap;
183
226
transition : opacity 0.2s ease-in-out;
184
227
opacity : 0 ;
185
228
font-size : 10px ;
186
- color : green ;
229
+ color : # 0b7261 ;
187
230
width : 41px ;
188
231
height : 15px ;
189
232
position : relative;
@@ -198,23 +241,29 @@ hr {
198
241
display : block;
199
242
padding-top : 0.4rem ;
200
243
padding-bottom : 0.6rem ;
201
- font-family : "Work Sans" , "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
244
+ font-family : "Work Sans" , "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
202
245
font-weight : 500 ;
203
246
letter-spacing : 0.1rem ;
204
247
}
205
248
206
249
/* This is the box that prints navigator.platform, navigator.appVersion values */
207
- # platform-instructions-unknown > div : first-of-type {
250
+ # platform-instructions-unknown > div : first-of-type {
208
251
font-size : 16px ;
209
252
line-height : 2rem ;
210
253
}
211
254
255
+ # help {
256
+ text-align : center;
257
+ font-size : 20px ;
258
+ }
259
+
212
260
# about {
213
261
font-size : 16px ;
214
262
line-height : 2em ;
263
+ text-align : center;
215
264
}
216
265
217
- # about > img {
266
+ # about > img {
218
267
width : 30px ;
219
268
height : 30px ;
220
269
transform : translateY (11px );
0 commit comments