MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Hero Section */
.hero-section {
background: linear-gradient(135deg, #0f172a, #1e293b, #2563eb);
background-size: 200% 200%;
animation: gradientMove 8s ease infinite;
padding: 100px 20px;
text-align: center;
color: white;
border-radius: 12px;
}
/* Gradient Animation */
@keyframes gradientMove {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Title Animation */
.hero-title {
font-size: 42px;
font-weight: 700;
animation: fadeInDown 1.2s ease;
}
/* Subtitle */
.hero-subtitle {
font-size: 18px;
margin-top: 15px;
opacity: 0.9;
animation: fadeInUp 1.5s ease;
}
/* Button */
.hero-btn {
display: inline-block;
margin-top: 25px;
padding: 12px 28px;
background: white;
color: #1e293b;
border-radius: 8px;
font-weight: bold;
transition: 0.3s;
}
.hero-btn:hover {
background: #e2e8f0;
transform: translateY(-3px);
}
/* Fade Animations */
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}