MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Scroll Fade-in Animation */ | |||
@keyframes fadeZoomIn { | |||
from { | |||
opacity: 0; | |||
transform: scale(0.95); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: scale(1); | |||
} | |||
} | |||
.scroll-fade { | .scroll-fade { | ||
opacity: 0; | opacity: 0; | ||
Line 8: | Line 20: | ||
opacity: 1; | opacity: 1; | ||
transform: translateY(0); | transform: translateY(0); | ||
} | |||
/* Fame Card Hover Zoom */ | |||
.fame-card:hover { | |||
transform: scale(1.05); | |||
box-shadow: 0 8px 20px rgba(0,0,0,0.1); | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
} | } |
Revision as of 07:38, 26 April 2025
/* Scroll Fade-in Animation */ @keyframes fadeZoomIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .scroll-fade { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; } .scroll-fade.in-view { opacity: 1; transform: translateY(0); } /* Fame Card Hover Zoom */ .fame-card:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }