Skip to content

Commit e4db2e0

Browse files
committed
feat: align website style with www.rust-lang.org/ for consistency
Signed-off-by: Rustin170506 <[email protected]>
1 parent c8eddcb commit e4db2e0

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

www/rustup.css

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ body#idx #pitch > a {
5151
}
5252

5353
a {
54-
color: #428bca;
55-
text-decoration: none;
54+
color: #0b7261;
55+
text-decoration: underline;
5656
}
5757

5858
a:hover {
59-
color: rgb(42, 100, 150);
59+
color: #0d8b75;
60+
text-decoration: underline;
6061
}
6162

6263
body#idx > * {
@@ -71,8 +72,12 @@ body#idx > #pitch {
7172
}
7273

7374
#pitch em {
75+
background-color: #ffc832;
76+
color: black;
7477
font-style: normal;
75-
font-weight: 400;
78+
font-size: 2.25rem;
79+
font-weight: 500;
80+
letter-spacing: 1px;
7681
}
7782

7883
body#idx p {
@@ -82,10 +87,15 @@ body#idx p {
8287

8388
body#idx p.other-platforms-help {
8489
font-size: 0.6em;
90+
a {
91+
color: white;
92+
text-decoration: underline;
93+
}
8594
}
8695

8796
.instructions {
88-
background-color: rgb(250, 250, 250);
97+
background-color: #0b7261;
98+
color: white;
8999
margin-left: auto;
90100
margin-right: auto;
91101
text-align: center;
@@ -100,7 +110,13 @@ body#idx p.other-platforms-help {
100110
margin-right: auto;
101111
}
102112

113+
.instructions > a {
114+
color: white;
115+
text-decoration: underline;
116+
}
117+
103118
hr {
119+
border-color: #0b7261;
104120
margin-top: 2em;
105121
margin-bottom: 2em;
106122
}
@@ -115,13 +131,12 @@ hr {
115131
}
116132

117133
.rustup-command::before {
118-
color: #999;
134+
color: white;
119135
content: " $ ";
120136
margin-left: 15px;
121137
}
122138

123139
.rustup-command {
124-
background-color: #515151;
125140
color: white;
126141
padding: 1rem 1rem 1rem 0;
127142
width: 45rem;
@@ -183,7 +198,7 @@ hr {
183198
transition: opacity 0.2s ease-in-out;
184199
opacity: 0;
185200
font-size: 10px;
186-
color: green;
201+
color: #0b7261;
187202
width: 41px;
188203
height: 15px;
189204
position: relative;
@@ -201,6 +216,7 @@ hr {
201216
font-family: "Work Sans", "Fira Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
202217
font-weight: 500;
203218
letter-spacing: 0.1rem;
219+
color: white;
204220
}
205221

206222
/* This is the box that prints navigator.platform, navigator.appVersion values */

0 commit comments

Comments
 (0)