Skip to content

Commit 3784b39

Browse files
Updated and resolved the styles.css as mentioned in your review
1 parent 55ddf1b commit 3784b39

File tree

1 file changed

+38
-33
lines changed

1 file changed

+38
-33
lines changed

style.css

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,13 @@ body.dark .preview-section {
6565
.preview-section {
6666
flex: 2 1 600px;
6767
font-size: 14px;
68-
background: white !important;
69-
color: #2d3748 !important;
68+
background: white;
69+
color: white;
70+
}
71+
72+
body.dark .preview-section {
73+
background: white;
74+
color: white;
7075
}
7176

7277
.form-section h2 {
@@ -189,9 +194,9 @@ textarea {
189194
border-bottom: 2px solid #667eea;
190195
}
191196

192-
.header h1 {
197+
.preview-section .header h1 {
193198
font-size: 2.5rem;
194-
color: #667eea !important;
199+
color: #667eea;
195200
margin-bottom: 0.5rem;
196201
font-weight: 700;
197202
}
@@ -200,7 +205,7 @@ textarea {
200205
display: flex;
201206
flex-wrap: wrap;
202207
gap: 1.5rem;
203-
color: #4a5568 !important;
208+
color: #4a5568;
204209
font-size: 14px;
205210
margin-bottom: 0;
206211
}
@@ -211,12 +216,12 @@ textarea {
211216
gap: 0.3rem;
212217
}
213218

214-
.contact-info a {
215-
color: #667eea !important;
219+
.preview-section .contact-info a {
220+
color: #667eea;
216221
text-decoration: none;
217222
}
218223

219-
.contact-info a:hover {
224+
.preview-section .contact-info a:hover {
220225
text-decoration: underline;
221226
}
222227

@@ -225,17 +230,17 @@ textarea {
225230
transition: transform 0.2s ease, box-shadow 0.2s ease;
226231
}
227232

228-
.section h2 {
233+
.preview-section .section h2 {
229234
font-size: 1.25rem;
230-
color: #667eea !important;
235+
color: #667eea;
231236
border-bottom: 1px solid #e2e8f0;
232237
padding-bottom: 0.5rem;
233238
margin-bottom: 1rem;
234239
font-weight: 700;
235240
}
236241

237-
.section p {
238-
color: #4a5568 !important;
242+
.preview-section .section p {
243+
color: #4a5568;
239244
line-height: 1.7;
240245
margin-bottom: 1rem;
241246
}
@@ -246,24 +251,24 @@ ul {
246251
list-style: none;
247252
}
248253

249-
ul li {
254+
.preview-section ul li {
250255
margin-bottom: 1rem;
251256
position: relative;
252-
color: #2d3748 !important;
257+
color: #2d3748;
253258
line-height: 1.6;
254259
}
255260

256-
ul li::before {
261+
.preview-section ul li::before {
257262
content: "•";
258-
color: #667eea !important;
263+
color: #667eea;
259264
font-weight: bold;
260265
position: absolute;
261266
left: -1.5rem;
262267
top: 0;
263268
}
264269

265-
ul li strong {
266-
color: #2d3748 !important;
270+
.preview-section ul li strong {
271+
color: #2d3748;
267272
font-weight: 600;
268273
}
269274

@@ -272,15 +277,15 @@ ul li ul {
272277
padding-left: 1.2rem;
273278
}
274279

275-
ul li ul li {
280+
.preview-section ul li ul li {
276281
margin-bottom: 0.3rem;
277282
font-size: 0.95rem;
278-
color: #4a5568 !important;
283+
color: #4a5568;
279284
}
280285

281-
ul li ul li::before {
286+
.preview-section ul li ul li::before {
282287
content: "◦";
283-
color: #667eea !important;
288+
color: #667eea;
284289
left: -1.2rem;
285290
}
286291

@@ -295,21 +300,21 @@ ul li ul li::before {
295300
margin-bottom: 0.8rem;
296301
}
297302

298-
.skills-grid strong {
299-
color: #2d3748 !important;
303+
.preview-section .skills-grid strong {
304+
color: #2d3748;
300305
font-weight: 600;
301306
}
302307

303-
.skills-grid span {
304-
color: #4a5568 !important;
308+
.preview-section .skills-grid span {
309+
color: #4a5568;
305310
}
306311

307312
.project-links {
308313
margin: 0.5rem 0;
309314
}
310315

311-
.project-links a {
312-
color: #667eea !important;
316+
.preview-section .project-links a {
317+
color: #667eea;
313318
text-decoration: none;
314319
font-size: 13px;
315320
font-weight: 500;
@@ -319,12 +324,12 @@ ul li ul li::before {
319324
gap: 0.3rem;
320325
}
321326

322-
.project-links a::before {
327+
.preview-section .project-links a::before {
323328
content: "🔗";
324329
font-size: 12px;
325330
}
326331

327-
.project-links a:hover {
332+
.preview-section .project-links a:hover {
328333
text-decoration: underline;
329334
}
330335

@@ -462,7 +467,7 @@ ul li ul li::before {
462467
gap: 0.8rem;
463468
}
464469

465-
.header h1 {
470+
.preview-section .header h1 {
466471
font-size: 2rem;
467472
}
468473
}
@@ -484,12 +489,12 @@ ul li ul li::before {
484489

485490
@media print {
486491
.no-print {
487-
display: none !important;
492+
display: none;
488493
}
489494

490495
.preview-section {
491496
box-shadow: none;
492497
border: none;
493-
background: white !important;
498+
background: white;
494499
}
495500
}

0 commit comments

Comments
 (0)