MediaWiki:Mainpage.css: Difference between revisions
Appearance
CSS block test 7/12 |
CSS block test 8/12 |
||
| Line 141: | Line 141: | ||
.mw-parser-output .mp-cat-wikiΒ Β Β { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #16a34a; } | .mw-parser-output .mp-cat-wikiΒ Β Β { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #16a34a; } | ||
.mw-parser-output .mp-cat-allΒ Β Β Β { background: linear-gradient(135deg,#f1f5f9,#e2e8f0); border-color: #94a3b8; } | .mw-parser-output .mp-cat-allΒ Β Β Β { background: linear-gradient(135deg,#f1f5f9,#e2e8f0); border-color: #94a3b8; } | ||
/* ββ Two-column layout βββββββββββββββββββββββββββββββββββββ */ | |||
.mw-parser-output #mp-upper { | |||
Β display: flex; | |||
Β flex-wrap: wrap; | |||
Β gap: 18px; | |||
Β margin-bottom: 26px; | |||
Β align-items: flex-start; | |||
} | |||
.mw-parser-output #mp-leftΒ { flex: 1 1 55%; min-width: 300px; } | |||
.mw-parser-output #mp-right { flex: 1 1 38%; min-width: 280px; } | |||
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;
}
/* ββ Hero links ββββββββββββββββββββββββββββββββββββββββββββ */
.mw-parser-output #mp-hero-actions {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}
.mw-parser-output #mp-hero-links a {
display: inline-block;
background: rgba(255,255,255,.15);
color: #ffffff !important;
border: 1px solid rgba(255,255,255,.3);
border-radius: 20px;
padding: 7px 16px;
margin: 3px;
font-size: .9em;
font-weight: 700;
text-decoration: none !important;
}
/* ββ Category cards ββββββββββββββββββββββββββββββββββββββββ */
.mw-parser-output #mp-categories { margin-bottom: 26px; }
.mw-parser-output .mp-section-title {
font-size: 1.1em;
font-weight: 800;
color: #0f172a;
margin-bottom: 12px;
padding-bottom: 7px;
border-bottom: 3px solid #2563eb;
display: inline-block;
}
.mw-parser-output .mp-cat-grid {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.mw-parser-output .mp-cat-card {
flex: 1 1 140px;
border-radius: 12px;
padding: 18px 10px;
text-align: center;
border: 1.5px solid #e2e8f0;
}
.mw-parser-output .mp-cat-card a {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
text-decoration: none !important;
color: inherit !important;
}
.mw-parser-output .mp-cat-icon { font-size: 2.2em; line-height: 1; display: block; }
.mw-parser-output .mp-cat-name { font-size: .87em; font-weight: 800; display: block; margin-top: 3px; }
.mw-parser-output .mp-cat-desc { font-size: .72em; color: #64748b; display: block; line-height: 1.3; }
/* ββ Card color themes βββββββββββββββββββββββββββββββββββββ */
.mw-parser-output .mp-cat-blogging { background: linear-gradient(135deg,#fef3c7,#fde68a); border-color: #f59e0b; }
.mw-parser-output .mp-cat-headless { background: linear-gradient(135deg,#ede9fe,#ddd6fe); border-color: #7c3aed; }
.mw-parser-output .mp-cat-ecommerce { background: linear-gradient(135deg,#dcfce7,#bbf7d0); border-color: #059669; }
.mw-parser-output .mp-cat-enterprise { background: linear-gradient(135deg,#dbeafe,#bfdbfe); border-color: #2563eb; }
.mw-parser-output .mp-cat-opensource { background: linear-gradient(135deg,#fee2e2,#fecaca); border-color: #dc2626; }
.mw-parser-output .mp-cat-saas { background: linear-gradient(135deg,#e0f2fe,#bae6fd); border-color: #0891b2; }
.mw-parser-output .mp-cat-wiki { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #16a34a; }
.mw-parser-output .mp-cat-all { background: linear-gradient(135deg,#f1f5f9,#e2e8f0); border-color: #94a3b8; }
/* ββ Two-column layout βββββββββββββββββββββββββββββββββββββ */
.mw-parser-output #mp-upper {
display: flex;
flex-wrap: wrap;
gap: 18px;
margin-bottom: 26px;
align-items: flex-start;
}
.mw-parser-output #mp-left { flex: 1 1 55%; min-width: 300px; }
.mw-parser-output #mp-right { flex: 1 1 38%; min-width: 280px; }