Skip to content

Commit 436a66d

Browse files
committed
fix: Make hero buttons display in single horizontal line and remove profile card animations
- Change hero-buttons flex-wrap from 'wrap' to 'nowrap' for single line display - Add align-items: center for better button alignment - Remove profile-card 3D rotation on hover for steady appearance - Remove badge transform/scale on hover for steady appearance - Keep responsive mobile behavior (buttons stack vertically on small screens) - All profile card elements now steady as requested
1 parent 9ee3261 commit 436a66d

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

css/style.css

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ ul {
462462
display: flex;
463463
gap: 1rem;
464464
margin-top: 2rem;
465-
flex-wrap: wrap;
465+
flex-wrap: nowrap;
466+
align-items: center;
466467
}
467468

468469
.btn {
@@ -571,13 +572,12 @@ ul {
571572
border-radius: var(--radius-xl);
572573
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
573574
text-align: center;
574-
transform-style: preserve-3d;
575-
transition: transform var(--transition-slow);
576575
border: 2px solid rgba(102, 126, 234, 0.4);
576+
/* NO ANIMATION - steady card */
577577
}
578578

579579
.profile-card:hover {
580-
transform: rotateY(5deg) rotateX(5deg);
580+
/* Removed 3D rotation for steady appearance */
581581
}
582582

583583
.profile-icon {
@@ -624,14 +624,12 @@ ul {
624624
font-size: 0.875rem;
625625
font-weight: 600;
626626
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
627-
transition: all var(--transition-normal);
628627
border: 1px solid rgba(255, 255, 255, 0.2);
629628
/* NO ANIMATION - steady badges */
630629
}
631630

632631
.badge:hover {
633-
transform: translateX(10px) scale(1.05);
634-
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
632+
/* Removed transform for steady appearance */
635633
}
636634

637635
/* ===================================

0 commit comments

Comments
 (0)