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