MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→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% { bac..." |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | /* mobile screen css */ | ||
@media (max-width:768px){ | |||
.mw-body{ | |||
padding:10px; | |||
} | } | ||
.home-grid{ | |||
flex-direction:column; | |||
} | } | ||
} | } | ||
/* | /* CSS placed here will be applied to all skins */ | ||
.hero | .home-hero{ | ||
background:#2563eb; | |||
color:white; | |||
padding:60px; | |||
text-align:center; | |||
border-radius:10px; | |||
margin-bottom:30px; | |||
} | } | ||
.home-btn{ | |||
. | background:white; | ||
color:#2563eb; | |||
padding:10px 20px; | |||
text-decoration:none; | |||
border-radius:6px; | |||
font-weight:bold; | |||
} | } | ||
. | .home-grid{ | ||
display:flex; | |||
gap:20px; | |||
flex-wrap:wrap; | |||
} | } | ||
.home-card{ | |||
background:#f5f5f5; | |||
padding:20px; | |||
border-radius:10px; | |||
flex:1; | |||
min-width:200px; | |||
} | } | ||
@ | @media (max-width:768px){ | ||
.home-grid{ | |||
flex-direction:column; | |||
} | |||
} | } | ||
Latest revision as of 21:11, 16 March 2026
/* mobile screen css */
@media (max-width:768px){
.mw-body{
padding:10px;
}
.home-grid{
flex-direction:column;
}
}
/* CSS placed here will be applied to all skins */
.home-hero{
background:#2563eb;
color:white;
padding:60px;
text-align:center;
border-radius:10px;
margin-bottom:30px;
}
.home-btn{
background:white;
color:#2563eb;
padding:10px 20px;
text-decoration:none;
border-radius:6px;
font-weight:bold;
}
.home-grid{
display:flex;
gap:20px;
flex-wrap:wrap;
}
.home-card{
background:#f5f5f5;
padding:20px;
border-radius:10px;
flex:1;
min-width:200px;
}
@media (max-width:768px){
.home-grid{
flex-direction:column;
}
}