Skip to content

Commit

Permalink
feat: align website style with www.rust-lang.org/ for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Rustin170506 <[email protected]>
  • Loading branch information
Rustin170506 committed Nov 16, 2024
1 parent c8eddcb commit e4db2e0
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions www/rustup.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ body#idx #pitch > a {
}

a {
color: #428bca;
text-decoration: none;
color: #0b7261;
text-decoration: underline;
}

a:hover {
color: rgb(42, 100, 150);
color: #0d8b75;
text-decoration: underline;
}

body#idx > * {
Expand All @@ -71,8 +72,12 @@ body#idx > #pitch {
}

#pitch em {
background-color: #ffc832;
color: black;
font-style: normal;
font-weight: 400;
font-size: 2.25rem;
font-weight: 500;
letter-spacing: 1px;
}

body#idx p {
Expand All @@ -82,10 +87,15 @@ body#idx p {

body#idx p.other-platforms-help {
font-size: 0.6em;
a {
color: white;
text-decoration: underline;
}
}

.instructions {
background-color: rgb(250, 250, 250);
background-color: #0b7261;
color: white;
margin-left: auto;
margin-right: auto;
text-align: center;
Expand All @@ -100,7 +110,13 @@ body#idx p.other-platforms-help {
margin-right: auto;
}

.instructions > a {
color: white;
text-decoration: underline;
}

hr {
border-color: #0b7261;
margin-top: 2em;
margin-bottom: 2em;
}
Expand All @@ -115,13 +131,12 @@ hr {
}

.rustup-command::before {
color: #999;
color: white;
content: " $ ";
margin-left: 15px;
}

.rustup-command {
background-color: #515151;
color: white;
padding: 1rem 1rem 1rem 0;
width: 45rem;
Expand Down Expand Up @@ -183,7 +198,7 @@ hr {
transition: opacity 0.2s ease-in-out;
opacity: 0;
font-size: 10px;
color: green;
color: #0b7261;
width: 41px;
height: 15px;
position: relative;
Expand All @@ -201,6 +216,7 @@ hr {
font-family: "Work Sans", "Fira Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 500;
letter-spacing: 0.1rem;
color: white;
}

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

0 comments on commit e4db2e0

Please sign in to comment.