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
- margin-top : 2em ;
36
44
background-color : white;
37
- color : # 515151 ;
38
- font-family : "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
45
+ font-family : "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
39
46
font-weight : 300 ;
40
47
font-size : 25px ;
48
+ margin : 0 ;
41
49
}
42
50
43
51
pre {
44
52
font-family : "Fira Mono" , ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono" , "Courier New" , monospace;
45
53
font-weight : 400 ;
46
54
}
47
55
48
- body # idx # pitch > a {
49
- font-weight : 500 ;
50
- line-height : 2em ;
56
+ header > div {
57
+ display : flex;
58
+ flex-direction : column;
59
+ align-items : flex-start;
60
+ }
61
+
62
+ header > div > h1 {
63
+ font-family : "Alfa Slab One" , serif;
64
+ color : black;
65
+ font-size : 4rem ;
66
+ margin-bottom : 0 ;
67
+ margin-top : 1rem ;
68
+ line-height : 1 ;
69
+ font-weight : 300 ;
70
+ letter-spacing : 1px ;
71
+ }
72
+
73
+ header > div > h2 {
74
+ color : black;
75
+ font-size : 2rem ;
76
+ font-weight : 300 ;
51
77
}
52
78
53
79
a {
54
- color : # 428bca ;
55
- text-decoration : none ;
80
+ color : # 0b7261 ;
81
+ text-decoration : underline ;
56
82
}
57
83
58
84
a : hover {
59
- color : rgb (42 , 100 , 150 );
85
+ color : # 0d8b75 ;
86
+ text-decoration : underline;
60
87
}
61
88
62
- body # idx > * {
89
+ main {
63
90
margin-left : auto;
64
91
margin-right : auto;
65
- text-align : center;
66
- width : 35em ;
92
+ width : 80% ;
93
+ max-width : 1200px ;
94
+ padding : 0 20px ;
67
95
}
68
96
69
- body # idx > # pitch {
70
- width : 35rem ;
71
- }
72
-
73
- # pitch em {
74
- font-style : normal;
75
- font-weight : 400 ;
76
- }
77
97
78
98
body # idx p {
79
99
margin-top : 2em ;
@@ -85,7 +105,7 @@ body#idx p.other-platforms-help {
85
105
}
86
106
87
107
.instructions {
88
- background- color: rgb ( 250 , 250 , 250 ) ;
108
+ color : black ;
89
109
margin-left : auto;
90
110
margin-right : auto;
91
111
text-align : center;
@@ -95,12 +115,12 @@ body#idx p.other-platforms-help {
95
115
}
96
116
97
117
.instructions > * {
98
- width : 45rem ;
99
118
margin-left : auto;
100
119
margin-right : auto;
101
120
}
102
121
103
122
hr {
123
+ border-color : # 0b7261 ;
104
124
margin-top : 2em ;
105
125
margin-bottom : 2em ;
106
126
}
@@ -111,29 +131,28 @@ hr {
111
131
# platform-instructions-win-arm64 > p ,
112
132
# platform-instructions-default > p ,
113
133
# platform-instructions-unknown > p {
114
- width : 40 rem ;
134
+ width : 80 % ;
115
135
}
116
136
117
137
.rustup-command ::before {
118
- color : # 999 ;
138
+ color : black ;
119
139
content : " $ " ;
120
- margin-left : 15px ;
140
+ margin-left : 15px ;
121
141
}
122
142
123
143
.rustup-command {
124
- background-color : # 515151 ;
125
- color : white;
144
+ color : black;
126
145
padding : 1rem 1rem 1rem 0 ;
127
- width : 45rem ;
128
146
height : auto;
129
147
text-align : center;
130
148
border-radius : 3px 0 0 3px ;
131
- box-shadow : inset 0px 0px 20px 0px # 333333 ;
149
+ box-shadow : inset 0px 0px 20px 0px # f1eeee ;
132
150
overflow : hidden;
133
151
font-size : 0.6em ;
134
152
white-space : nowrap;
135
153
height : 26px ;
136
154
line-height : 26px ;
155
+ overflow-x : auto;
137
156
}
138
157
139
158
# platform-instructions-unix div .copy-container ,
144
163
# platform-instructions-unknown div .copy-container {
145
164
display : flex;
146
165
align-items : center;
166
+ width : 90% ;
167
+ justify-content : center;
147
168
}
148
169
149
170
# platform-instructions-unix button .copy-button ,
183
204
transition : opacity 0.2s ease-in-out;
184
205
opacity : 0 ;
185
206
font-size : 10px ;
186
- color : green ;
207
+ color : # 0b7261 ;
187
208
width : 41px ;
188
209
height : 15px ;
189
210
position : relative;
198
219
display : block;
199
220
padding-top : 0.4rem ;
200
221
padding-bottom : 0.6rem ;
201
- font-family : "Work Sans" , "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
222
+ font-family : "Work Sans" , "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
202
223
font-weight : 500 ;
203
224
letter-spacing : 0.1rem ;
204
225
}
@@ -209,9 +230,15 @@ hr {
209
230
line-height : 2rem ;
210
231
}
211
232
233
+ # help {
234
+ text-align : center;
235
+ font-size : 20px ;
236
+ }
237
+
212
238
# about {
213
239
font-size : 16px ;
214
240
line-height : 2em ;
241
+ text-align : center;
215
242
}
216
243
217
244
# about > img {
0 commit comments