Skip to content

Commit 8d9cb6a

Browse files
committed
feat: add GitHub link to navigation and update color scheme for improved aesthetics
1 parent 16d20b0 commit 8d9cb6a

2 files changed

Lines changed: 29 additions & 24 deletions

File tree

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@
9393
<path d="M6.94 8.5a1.78 1.78 0 1 1 0-3.56 1.78 1.78 0 0 1 0 3.56ZM5.4 9.9h3.1V19H5.4V9.9Zm5 0h2.97v1.24h.04c.41-.78 1.42-1.6 2.92-1.6 3.12 0 3.7 2.06 3.7 4.74V19h-3.1v-4.13c0-.98-.02-2.25-1.37-2.25-1.37 0-1.58 1.07-1.58 2.18V19h-3.1V9.9Z"/>
9494
</svg>
9595
</a>
96+
<a href="https://github.com/devshafi" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
97+
<svg viewBox="0 0 24 24" aria-hidden="true">
98+
<path d="M12 2a10 10 0 0 0-3.16 19.49c.5.09.68-.21.68-.48v-1.67c-2.77.6-3.35-1.17-3.35-1.17-.46-1.16-1.12-1.47-1.12-1.47-.91-.62.07-.61.07-.61 1.01.07 1.54 1.04 1.54 1.04.9 1.53 2.36 1.09 2.94.84.09-.65.35-1.09.64-1.34-2.21-.25-4.53-1.1-4.53-4.91 0-1.09.39-1.98 1.03-2.68-.1-.25-.45-1.27.1-2.65 0 0 .84-.27 2.75 1.02a9.54 9.54 0 0 1 5 0c1.9-1.29 2.74-1.02 2.74-1.02.56 1.38.21 2.4.11 2.65.64.7 1.03 1.59 1.03 2.68 0 3.82-2.33 4.66-4.55 4.9.36.31.68.91.68 1.84v2.73c0 .27.18.58.69.48A10 10 0 0 0 12 2Z"/>
99+
</svg>
100+
</a>
96101
</div>
97102
</nav>
98103
</div>

styles.css

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
--surface-solid: #ffffff;
55
--text: #132033;
66
--muted: #5c6d82;
7-
--accent: #ff7a18;
8-
--accent-2: #0c9d8a;
7+
--accent: #119f5d;
8+
--accent-2: #0f766e;
99
--stroke: rgba(19, 32, 51, 0.12);
1010
--shadow: 0 14px 30px rgba(15, 40, 75, 0.09);
1111
}
@@ -24,8 +24,8 @@ body {
2424
font-family: "Sora", "Segoe UI", sans-serif;
2525
color: var(--text);
2626
background:
27-
radial-gradient(circle at 10% 10%, rgba(255, 122, 24, 0.16), transparent 28%),
28-
radial-gradient(circle at 85% 80%, rgba(12, 157, 138, 0.16), transparent 36%),
27+
radial-gradient(circle at 12% 12%, rgba(17, 159, 93, 0.09), transparent 30%),
28+
radial-gradient(circle at 88% 82%, rgba(15, 118, 110, 0.08), transparent 38%),
2929
linear-gradient(160deg, #f8fbff 0%, #f4f8fc 46%, #ecf3fb 100%);
3030
line-height: 1.65;
3131
}
@@ -90,7 +90,7 @@ ul {
9090
letter-spacing: 0.02em;
9191
font-size: 1rem;
9292
color: #0d1b2c;
93-
background: linear-gradient(120deg, rgba(255, 122, 24, 0.14), rgba(12, 157, 138, 0.14));
93+
background: linear-gradient(120deg, rgba(17, 159, 93, 0.14), rgba(15, 118, 110, 0.14));
9494
border: 1px solid var(--stroke);
9595
padding: 0.38rem 0.72rem;
9696
border-radius: 10px;
@@ -122,24 +122,24 @@ ul {
122122
.nav-link:hover,
123123
.nav-link.active {
124124
color: #0e1726;
125-
background-color: rgba(255, 122, 24, 0.2);
125+
background-color: rgba(17, 159, 93, 0.2);
126126
}
127127

128128
.nav-download {
129129
text-decoration: none;
130130
padding: 0.42rem 0.78rem;
131131
border-radius: 10px;
132-
background: linear-gradient(120deg, var(--accent), #ffb12f);
133-
color: #1a1f26;
132+
background: linear-gradient(120deg, #0f8a55, #0f766e);
133+
color: #f4fffb;
134134
font-weight: 700;
135135
font-size: 0.84rem;
136-
box-shadow: 0 8px 18px rgba(255, 122, 24, 0.26);
136+
box-shadow: 0 8px 18px rgba(15, 138, 85, 0.24);
137137
transition: transform 180ms ease, box-shadow 180ms ease;
138138
}
139139

140140
.nav-download:hover {
141141
transform: translateY(-1px);
142-
box-shadow: 0 10px 20px rgba(255, 122, 24, 0.34);
142+
box-shadow: 0 10px 20px rgba(15, 138, 85, 0.32);
143143
}
144144

145145
.nav-socials {
@@ -163,7 +163,7 @@ ul {
163163

164164
.nav-socials a:hover {
165165
transform: translateY(-1px);
166-
border-color: rgba(12, 157, 138, 0.5);
166+
border-color: rgba(15, 118, 110, 0.5);
167167
background-color: #f1f8ff;
168168
}
169169

@@ -267,9 +267,9 @@ section[id] {
267267
}
268268

269269
.btn-primary {
270-
background: linear-gradient(120deg, var(--accent), #ffb02e);
271-
color: #13171c;
272-
box-shadow: 0 8px 20px rgba(255, 122, 24, 0.28);
270+
background: linear-gradient(120deg, #0f8a55, #0f766e);
271+
color: #f4fffb;
272+
box-shadow: 0 8px 20px rgba(15, 138, 85, 0.26);
273273
}
274274

275275
.btn-ghost {
@@ -322,7 +322,7 @@ article.card {
322322

323323
.publication-card a {
324324
text-decoration: none;
325-
color: #cc5c0d;
325+
color: #0f7a56;
326326
font-weight: 600;
327327
}
328328

@@ -355,7 +355,7 @@ article.card {
355355
.timeline {
356356
display: grid;
357357
gap: 0.85rem;
358-
border-left: 2px solid rgba(0, 194, 168, 0.35);
358+
border-left: 2px solid rgba(15, 118, 110, 0.35);
359359
padding-left: 1rem;
360360
}
361361

@@ -372,7 +372,7 @@ article.card {
372372
height: 0.72rem;
373373
border-radius: 50%;
374374
background: var(--accent-2);
375-
box-shadow: 0 0 0 5px rgba(0, 194, 168, 0.18);
375+
box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.18);
376376
}
377377

378378
.meta {
@@ -401,7 +401,7 @@ article.card {
401401
}
402402

403403
.contact-grid a:hover {
404-
border-color: rgba(255, 122, 24, 0.45);
404+
border-color: rgba(17, 159, 93, 0.45);
405405
}
406406

407407
.contact-icon {
@@ -417,8 +417,8 @@ article.card {
417417
}
418418

419419
.email-icon {
420-
background: #ffe5d1;
421-
color: #b84c00;
420+
background: #dff8eb;
421+
color: #0f7a56;
422422
}
423423

424424
.phone-icon {
@@ -433,8 +433,8 @@ article.card {
433433
}
434434

435435
.location-icon {
436-
background: #efe1ff;
437-
color: #6d2fb0;
436+
background: #e0f5f3;
437+
color: #0b7e78;
438438
}
439439

440440
.site-footer {
@@ -457,15 +457,15 @@ article.card {
457457
height: 360px;
458458
left: -90px;
459459
top: -130px;
460-
background: rgba(255, 122, 24, 0.13);
460+
background: rgba(17, 159, 93, 0.13);
461461
}
462462

463463
.shape-2 {
464464
width: 330px;
465465
height: 330px;
466466
right: -90px;
467467
bottom: -130px;
468-
background: rgba(12, 157, 138, 0.13);
468+
background: rgba(15, 118, 110, 0.13);
469469
}
470470

471471
.reveal {

0 commit comments

Comments
 (0)