MediaWiki:Mainpage.css: Difference between revisions
Appearance
CSS block test 3/12 |
CSS block test 4/12 |
||
| Line 43: | Line 43: | ||
  margin: 0 auto 28px; |   margin: 0 auto 28px; | ||
  line-height: 1.65; |   line-height: 1.65; | ||
} | |||
/* ââ Stats row âââââââââââââââââââââââââââââââââââââââââââââ */ | |||
.mw-parser-output #mp-hero-stats { | |||
 display: flex; | |||
 justify-content: center; | |||
 flex-wrap: wrap; | |||
 gap: 14px; | |||
 margin-bottom: 28px; | |||
} | |||
.mw-parser-output .mp-stat { | |||
 display: flex; | |||
 flex-direction: column; | |||
 align-items: center; | |||
 background: rgba(255,255,255,.12); | |||
 border: 1px solid rgba(255,255,255,.22); | |||
 border-radius: 10px; | |||
 padding: 12px 20px; | |||
 min-width: 80px; | |||
} | |||
.mw-parser-output .mp-stat-num { | |||
 font-size: 1.7em; | |||
 font-weight: 800; | |||
 color: #ffffff; | |||
 line-height: 1; | |||
} | |||
.mw-parser-output .mp-stat-label { | |||
 font-size: .72em; | |||
 color: rgba(255,255,255,.72); | |||
 margin-top: 4px; | |||
 text-transform: uppercase; | |||
 letter-spacing: .5px; | |||
} | } | ||
Revision as of 21:44, 29 July 2026
/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
ZelocoreCMS Wiki â Mainpage.css v3.1 (final)
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* ââ Hide page title âââââââââââââââââââââââââââââââââââââââ */
.mw-parser-output #firstHeading,
.mw-parser-output .firstHeading,
.mw-parser-output .mw-page-title-main { display: none !important; }
/* ââ Top banner ââââââââââââââââââââââââââââââââââââââââââââ */
.mw-parser-output #mp-topbanner {
background: linear-gradient(90deg, #eff6ff, #f5f3ff);
border: 1px solid #c7d2fe;
border-radius: 12px;
padding: 10px 20px;
margin-bottom: 18px;
text-align: center;
font-size: 1em;
color: #1e1b4b;
}
.mw-parser-output #mp-topbanner a { color: #2563eb; font-weight: 600; }
/* ââ Hero ââââââââââââââââââââââââââââââââââââââââââââââââââ */
.mw-parser-output #mp-hero {
background: linear-gradient(135deg, #1e1b4b 0%, #2563eb 55%, #7c3aed 100%);
border-radius: 12px;
padding: 48px 32px 38px;
margin-bottom: 26px;
text-align: center;
overflow: hidden;
}
.mw-parser-output #mp-hero-title {
font-size: 2.5em;
font-weight: 800;
color: #ffffff;
margin: 0 0 14px;
text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.mw-parser-output #mp-hero-subtitle {
font-size: 1.06em;
color: rgba(255,255,255,.85);
max-width: 600px;
margin: 0 auto 28px;
line-height: 1.65;
}
/* ââ Stats row âââââââââââââââââââââââââââââââââââââââââââââ */
.mw-parser-output #mp-hero-stats {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 14px;
margin-bottom: 28px;
}
.mw-parser-output .mp-stat {
display: flex;
flex-direction: column;
align-items: center;
background: rgba(255,255,255,.12);
border: 1px solid rgba(255,255,255,.22);
border-radius: 10px;
padding: 12px 20px;
min-width: 80px;
}
.mw-parser-output .mp-stat-num {
font-size: 1.7em;
font-weight: 800;
color: #ffffff;
line-height: 1;
}
.mw-parser-output .mp-stat-label {
font-size: .72em;
color: rgba(255,255,255,.72);
margin-top: 4px;
text-transform: uppercase;
letter-spacing: .5px;
}