Skip to content

Commit ba5f12c

Browse files
authored
Update styles.css
1 parent 52f19cf commit ba5f12c

File tree

1 file changed

+97
-93
lines changed

1 file changed

+97
-93
lines changed

styles.css

Lines changed: 97 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Arial', sans-serif;
66
}
77

88
body {
9-
background: linear-gradient(135deg, #1C2526 0%, #2F3A44 100%);
10-
color: #FFFFFF;
9+
background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
10+
color: #F3F4F6;
1111
line-height: 1.6;
1212
min-height: 100vh;
1313
display: flex;
1414
flex-direction: column;
1515
overflow-x: hidden;
1616
}
1717

18+
body.space-theme {
19+
background: linear-gradient(135deg, #000000 0%, #000022 100%);
20+
}
21+
1822
canvas#particles {
1923
position: fixed;
2024
top: 0;
@@ -27,29 +31,42 @@ canvas#particles {
2731

2832
.logo-container {
2933
position: fixed;
30-
top: 1rem;
31-
left: 1rem;
34+
top: 1.5rem;
35+
left: 1.5rem;
3236
z-index: 1000;
3337
}
3438

3539
.logo-container a {
3640
display: block;
37-
transition: transform 0.3s ease;
41+
transition: transform 0.2s ease;
3842
}
3943

4044
.logo-container a:hover {
41-
transform: scale(1.1);
45+
transform: scale(1.05);
4246
}
4347

4448
.logo-container img {
45-
height: 3rem;
49+
height: 2.5rem;
4650
width: auto;
47-
filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
48-
transition: filter 0.3s ease;
51+
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
52+
}
53+
54+
.theme-toggle {
55+
position: fixed;
56+
top: 1.5rem;
57+
right: 1.5rem;
58+
z-index: 1000;
59+
cursor: pointer;
60+
color: #F3F4F6;
61+
font-size: 1rem;
62+
padding: 0.5rem 1rem;
63+
background: rgba(255, 255, 255, 0.1);
64+
border-radius: 0.5rem;
65+
transition: background 0.2s ease;
4966
}
5067

51-
.logo-container a:hover img {
52-
filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
68+
.theme-toggle:hover {
69+
background: rgba(255, 255, 255, 0.2);
5370
}
5471

5572
.main-container {
@@ -58,174 +75,161 @@ canvas#particles {
5875
justify-content: center;
5976
align-items: center;
6077
text-align: center;
61-
background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.7));
6278
position: relative;
63-
overflow: hidden;
6479
z-index: 1;
6580
}
6681

6782
.search-container {
68-
position: relative;
6983
width: 100%;
70-
max-width: 48rem;
71-
background: linear-gradient(145deg, #2a2a2a, #363636);
72-
border-radius: 3.75rem;
73-
padding: 0.75rem;
74-
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 2px 8px rgba(255, 255, 255, 0.1);
75-
transition: box-shadow 0.3s ease, transform 0.3s ease;
84+
max-width: 36rem;
85+
background: rgba(255, 255, 255, 0.05);
86+
border-radius: 9999px;
87+
padding: 0.5rem;
88+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
89+
transition: box-shadow 0.2s ease;
7690
z-index: 10;
7791
display: flex;
7892
align-items: center;
79-
justify-content: center;
80-
backdrop-filter: blur(6px);
93+
backdrop-filter: blur(8px);
8194
}
8295

8396
.search-container:hover,
8497
.search-container:focus-within {
85-
box-shadow: 0 12px 40px rgba(255, 255, 255, 0.25), inset 0 2px 8px rgba(255, 255, 255, 0.15);
86-
transform: translateY(-5px);
98+
box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
8799
}
88100

89101
.search-form {
90102
display: flex;
91103
align-items: center;
92104
width: 100%;
93-
position: relative;
94105
}
95106

96107
.search-input {
97108
width: 100%;
98-
padding: 1.25rem 4.375rem 1.25rem 2rem;
109+
padding: 1rem 3.5rem 1rem 1.5rem;
99110
background: transparent;
100-
border: 2px solid #d0d0d0;
101-
border-radius: 3.75rem;
102-
color: #ffffff;
103-
font-size: 1.25rem;
111+
border: none;
112+
color: #F3F4F6;
113+
font-size: 1.125rem;
104114
outline: none;
105-
transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
115+
transition: box-shadow 0.2s ease;
106116
}
107117

108118
.search-input:focus {
109-
border-color: #B0B0B0;
110-
box-shadow: 0 0 20px rgba(176, 176, 176, 0.5), inset 0 0 8px rgba(255, 255, 255, 0.2);
111-
background: rgba(255, 255, 255, 0.08);
119+
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
112120
}
113121

114122
.search-input::placeholder {
115-
color: #a0a0a0;
116-
font-style: italic;
117-
transition: opacity 0.3s ease;
118-
}
119-
120-
.search-input:focus::placeholder {
121-
opacity: 0.7;
123+
color: #9CA3AF;
122124
}
123125

124126
.search-button {
125127
position: absolute;
126-
right: 0.625rem;
127-
background: linear-gradient(145deg, #B0B0B0, #D0D0D0);
128+
right: 0.75rem;
129+
background: transparent;
128130
border: none;
129-
border-radius: 50%;
130131
cursor: pointer;
131-
padding: 0.875rem;
132-
transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
133-
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
132+
padding: 0.5rem;
133+
transition: transform 0.2s ease;
134134
}
135135

136136
.search-button:hover,
137137
.search-button:focus {
138-
background: linear-gradient(145deg, #D0D0D0, #FFFFFF);
139-
transform: scale(1.15) rotate(5deg);
140-
box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
138+
transform: scale(1.1);
141139
}
142140

143141
.search-button img {
144-
width: 1.875rem;
145-
height: 1.875rem;
146-
filter: invert(0.2);
147-
transition: filter 0.3s ease, transform 0.3s ease;
142+
width: 1.25rem;
143+
height: 1.25rem;
144+
filter: invert(0.7);
145+
transition: filter 0.2s ease;
148146
}
149147

150148
.search-button:hover img,
151149
.search-button:focus img {
152-
filter: invert(0);
153-
transform: rotate(-5deg);
150+
filter: invert(1);
151+
}
152+
153+
.bottom-left-link {
154+
position: fixed;
155+
bottom: 1rem;
156+
left: 1.5rem;
157+
z-index: 1000;
158+
font-size: 0.875rem;
159+
}
160+
161+
.bottom-left-link a {
162+
color: #D1D5DB;
163+
text-decoration: none;
164+
transition: color 0.2s ease;
165+
}
166+
167+
.bottom-left-link a:hover {
168+
color: #FFFFFF;
154169
}
155170

156171
footer {
157-
background-color: #121212;
158-
padding: 1.25rem;
172+
background: transparent;
173+
padding: 1rem;
159174
text-align: center;
160-
color: #B0B0B0;
175+
color: #9CA3AF;
161176
position: fixed;
162177
bottom: 0;
163178
width: 100%;
164-
box-shadow: 0 -2px 6px rgba(0,0,0,0.6);
165179
display: flex;
166180
justify-content: center;
167181
align-items: center;
168182
gap: 0.5rem;
169-
font-size: 1rem;
170-
transition: background-color 0.3s ease;
171-
}
172-
173-
footer:hover {
174-
background-color: #1A1A1A;
183+
font-size: 0.875rem;
184+
border-top: 1px solid rgba(255, 255, 255, 0.1);
175185
}
176186

177187
footer a {
178-
color: #B0B0B0;
188+
color: #D1D5DB;
179189
text-decoration: none;
180-
transition: color 0.3s ease, transform 0.3s ease;
190+
transition: color 0.2s ease;
181191
}
182192

183193
footer a:hover {
184194
color: #FFFFFF;
185-
transform: translateY(-2px);
186-
}
187-
188-
footer img {
189-
width: 1rem;
190-
height: 1rem;
191-
filter: invert(0.8);
192-
transition: filter 0.3s ease;
193195
}
194196

195197
@media (max-width: 600px) {
196198
.search-container {
197199
max-width: 90%;
198-
padding: 0.5rem;
199200
}
200201
.search-input {
201-
font-size: 1.125rem;
202-
padding: 1rem 3.75rem 1rem 1.25rem;
203-
}
204-
.search-button {
205-
padding: 0.75rem;
202+
font-size: 1rem;
203+
padding: 0.875rem 3rem 0.875rem 1rem;
206204
}
207205
.search-button img {
208-
width: 1.625rem;
209-
height: 1.625rem;
206+
width: 1.125rem;
207+
height: 1.125rem;
210208
}
211209
footer {
212-
font-size: 0.875rem;
210+
font-size: 0.75rem;
213211
}
214-
footer img {
215-
width: 0.875rem;
216-
height: 0.875rem;
212+
.logo-container {
213+
top: 1rem;
214+
left: 1rem;
217215
}
218216
.logo-container img {
219-
height: 2.5rem;
217+
height: 2rem;
220218
}
221-
.logo-container {
222-
top: 0.9375rem;
223-
left: 0.9375rem;
219+
.bottom-left-link {
220+
left: 1rem;
221+
font-size: 0.75rem;
222+
}
223+
.theme-toggle {
224+
top: 1rem;
225+
right: 1rem;
226+
font-size: 0.875rem;
227+
padding: 0.375rem 0.75rem;
224228
}
225229
}
226230

227231
@media (min-width: 1200px) {
228232
.search-container {
229-
max-width: 62.5rem;
233+
max-width: 48rem;
230234
}
231235
}

0 commit comments

Comments
 (0)