File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,19 +184,36 @@ nav ul {
184184
185185nav 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
195196nav 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 : 200 px ;
222- height : 200 px ;
223- border-radius : 50 % ;
224- margin : 0 auto 2 rem ;
238+ width : 100 px ;
239+ height : 100 px ;
240+ border-radius : 30 % ;
241+ margin : 0 auto 1.5 rem ;
225242 display : block;
226243 object-fit : cover;
227- border : 3 px solid var (--primary-color );
244+ border : 2 px solid var (--primary-color );
228245 box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
229246}
230247
You can’t perform that action at this time.
0 commit comments