Skip to content

Commit 8a5ab79

Browse files
committed
style: Simplify website to black and white theme
- Remove all colorful gradients and bright colors - Use clean black and white color scheme - Background: light gray (#f8f9fa) instead of gradient - Container: white with simple border instead of shadow - Headers: pure black (#000) instead of gradient text - Code blocks: black background with white text - Language tags: black background instead of blue - Copy buttons: gray/black instead of blue - Links: black instead of blue - Maintains rustup.rs minimal aesthetic - Tested and working correctly
1 parent 90665c7 commit 8a5ab79

File tree

2 files changed

+20
-24
lines changed

2 files changed

+20
-24
lines changed

static/index.html

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
1616
line-height: 1.6;
1717
color: #333;
18-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
18+
background: #f8f9fa;
1919
min-height: 100vh;
2020
display: flex;
2121
align-items: center;
@@ -24,8 +24,8 @@
2424

2525
.container {
2626
background: white;
27-
border-radius: 12px;
28-
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
27+
border: 1px solid #e1e5e9;
28+
border-radius: 8px;
2929
padding: 3rem;
3030
max-width: 800px;
3131
width: 90%;
@@ -35,12 +35,8 @@
3535
h1 {
3636
font-size: 3rem;
3737
font-weight: 700;
38-
color: #2c3e50;
38+
color: #000;
3939
margin-bottom: 1rem;
40-
background: linear-gradient(135deg, #667eea, #764ba2);
41-
-webkit-background-clip: text;
42-
-webkit-text-fill-color: transparent;
43-
background-clip: text;
4440
}
4541

4642
.subtitle {
@@ -62,19 +58,19 @@
6258
border-radius: 8px;
6359
padding: 2rem;
6460
margin: 2rem 0;
65-
border-left: 4px solid #667eea;
61+
border-left: 4px solid #000;
6662
}
6763

6864
.install-title {
6965
font-size: 1.3rem;
7066
font-weight: 600;
71-
color: #2c3e50;
67+
color: #000;
7268
margin-bottom: 1rem;
7369
}
7470

7571
.code-block {
76-
background: #2c3e50;
77-
color: #ecf0f1;
72+
background: #000;
73+
color: #fff;
7874
padding: 1.5rem;
7975
border-radius: 6px;
8076
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
@@ -88,9 +84,9 @@
8884
position: absolute;
8985
top: 0.5rem;
9086
right: 0.5rem;
91-
background: #667eea;
87+
background: #333;
9288
color: white;
93-
border: none;
89+
border: 1px solid #666;
9490
padding: 0.5rem 1rem;
9591
border-radius: 4px;
9692
cursor: pointer;
@@ -99,7 +95,7 @@
9995
}
10096

10197
.copy-btn:hover {
102-
background: #5a6fd8;
98+
background: #555;
10399
}
104100

105101
.features {
@@ -113,11 +109,11 @@
113109
background: #f8f9fa;
114110
padding: 1.5rem;
115111
border-radius: 8px;
116-
border-top: 3px solid #667eea;
112+
border-top: 3px solid #000;
117113
}
118114

119115
.feature h3 {
120-
color: #2c3e50;
116+
color: #000;
121117
margin-bottom: 0.5rem;
122118
font-size: 1.1rem;
123119
}
@@ -136,7 +132,7 @@
136132
}
137133

138134
.lang-tag {
139-
background: #667eea;
135+
background: #000;
140136
color: white;
141137
padding: 0.4rem 0.8rem;
142138
border-radius: 20px;
@@ -153,7 +149,7 @@
153149
}
154150

155151
.footer a {
156-
color: #667eea;
152+
color: #000;
157153
text-decoration: none;
158154
}
159155

@@ -258,10 +254,10 @@ <h3 class="install-title">Quick Start</h3>
258254
const btn = event.target;
259255
const originalText = btn.textContent;
260256
btn.textContent = 'Copied!';
261-
btn.style.background = '#27ae60';
257+
btn.style.background = '#000';
262258
setTimeout(() => {
263259
btn.textContent = originalText;
264-
btn.style.background = '#667eea';
260+
btn.style.background = '#333';
265261
}, 2000);
266262
}).catch(function(err) {
267263
console.error('Could not copy text: ', err);

static/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ html {
1515
}
1616

1717
::-webkit-scrollbar-thumb {
18-
background: #667eea;
18+
background: #333;
1919
border-radius: 4px;
2020
}
2121

2222
::-webkit-scrollbar-thumb:hover {
23-
background: #5a6fd8;
23+
background: #000;
2424
}
2525

2626
/* Animation for copy button */
@@ -49,7 +49,7 @@ html {
4949

5050
.lang-tag:hover {
5151
transform: scale(1.05);
52-
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
52+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
5353
}
5454

5555
/* Responsive improvements */

0 commit comments

Comments
 (0)