Skip to content

Commit 8469185

Browse files
updated alignments
1 parent 68ddf9f commit 8469185

1 file changed

Lines changed: 25 additions & 8 deletions

File tree

css/style.css

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,36 @@ nav ul {
184184

185185
nav a {
186186
text-decoration: none;
187-
color: var(--secondary-color);
188-
font-weight: 500;
187+
color: #333;
188+
font-weight: 600;
189189
font-size: 1.1rem;
190190
padding: 0.5rem 1rem;
191191
border-radius: 4px;
192-
transition: color 0.2s ease, background-color 0.2s ease;
192+
transition: all 0.2s ease;
193+
position: relative;
193194
}
194195

195196
nav a:hover {
196197
color: var(--primary-color);
197198
background-color: rgba(211, 35, 35, 0.1);
198199
}
199200

201+
nav a::after {
202+
content: '';
203+
position: absolute;
204+
bottom: 0;
205+
left: 50%;
206+
width: 0;
207+
height: 2px;
208+
background-color: var(--primary-color);
209+
transition: all 0.2s ease;
210+
transform: translateX(-50%);
211+
}
212+
213+
nav a:hover::after {
214+
width: 80%;
215+
}
216+
200217
/* Responsive Design */
201218
@media (max-width: 768px) {
202219
.projects-grid {
@@ -218,13 +235,13 @@ nav a:hover {
218235

219236
/* Homepage Specific Styles */
220237
.profile-image {
221-
width: 200px;
222-
height: 200px;
223-
border-radius: 50%;
224-
margin: 0 auto 2rem;
238+
width: 100px;
239+
height: 100px;
240+
border-radius: 30%;
241+
margin: 0 auto 1.5rem;
225242
display: block;
226243
object-fit: cover;
227-
border: 3px solid var(--primary-color);
244+
border: 2px solid var(--primary-color);
228245
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
229246
}
230247

0 commit comments

Comments
 (0)