MediaWiki:Common.css
MediaWiki interface page
More actions
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.
/* ============================================
Wikiverse — Purple Premium Theme
Paste this entire file's content into:
MediaWiki:Common.css
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
/* Logo container */
/* Left sidebar header */
#mw-panel {
padding-top: 0 !important;
}
#p-logo {
margin: 0 !important;
padding: 0 !important;
width: 300px !important;
height: 60px !important;
}
#p-logo a {
display: block !important;
height: 60px !important;
background-image: url("/images/Logo.png") !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
margin: 0 !important;
padding: 0 !important;
}
/* Remove default left spacing */
#p-logo,
#p-logo a,
#p-logo .mw-wiki-logo {
margin-left: 100 !important;
padding-left: 0 !important;
}
.wv-hero{background:linear-gradient(135deg,#3b1d6e 0%,#6a3bd6 55%,#9b6bf0 100%);color:#fff;text-align:center;padding:56px 30px 46px;border-radius:10px;margin-bottom:28px;}
.wv-hero h1{font-size:46px;margin:0 0 6px;font-weight:800;letter-spacing:-1px;color:#fff;}
.wv-hero .tag{font-size:16px;letter-spacing:2px;text-transform:uppercase;color:#d8c7fb;}
.wv-hero .sub{font-size:13px;letter-spacing:3px;text-transform:uppercase;color:#b89cf2;margin-top:6px;}
.wv-grid{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:28px;}
.wv-card{flex:1 1 260px;background:#fff;border:1px solid #e3d6fb;border-top:4px solid #6a3bd6;border-radius:10px;padding:22px;box-shadow:0 3px 12px rgba(106,59,214,0.08);}
.wv-card h3{color:#3b1d6e;font-size:18px;margin:0 0 10px;border-bottom:2px solid #f1e9fd;padding-bottom:8px;}
.wv-card ul{margin:0;padding-left:18px;color:#4a3870;font-size:15px;line-height:1.7;}
.wv-stats{display:flex;justify-content:space-around;flex-wrap:wrap;background:#fff;border:1px solid #e3d6fb;border-radius:10px;padding:24px;margin-bottom:28px;box-shadow:0 3px 12px rgba(106,59,214,0.06);}
.wv-stat{text-align:center;padding:10px 18px;}
.wv-stat .num{font-size:30px;font-weight:800;color:#6a3bd6;}
.wv-stat .lbl{font-size:13px;color:#8a78b5;text-transform:uppercase;letter-spacing:1px;}
.wv-cta{background:linear-gradient(135deg,#3b1d6e,#6a3bd6);color:#fff;border-radius:10px;padding:30px;text-align:center;margin-bottom:28px;box-shadow:0 4px 16px rgba(59,29,110,0.3);}
.wv-cta h2{margin:0 0 6px;font-size:24px;color:#fff;}
.wv-cta p{color:#d8c7fb;margin-bottom:16px;}
.wv-btn{display:inline-block;background:#fff;color:#3b1d6e;padding:10px 24px;border-radius:24px;font-weight:700;font-size:14px;margin:4px;text-decoration:none;}
.wv-btn-outline{display:inline-block;background:rgba(255,255,255,0.12);color:#fff;border:1px solid rgba(255,255,255,0.4);padding:10px 24px;border-radius:24px;font-weight:600;font-size:14px;margin:4px;text-decoration:none;}
.wv-section{background:#fff;border:1px solid #e3d6fb;border-radius:10px;padding:22px 26px;margin-bottom:24px;box-shadow:0 3px 10px rgba(106,59,214,0.06);}
.wv-section h2{color:#3b1d6e;font-size:20px;margin:0 0 14px;border-bottom:2px solid #f1e9fd;padding-bottom:10px;}
/* =========================
WikiVerse Premium Theme
========================= */
/* ===== Base Typography ===== */
body,
.mw-body,
.vector-body {
font-family: 'Inter', sans-serif !important;
font-size: 16px;
line-height: 1.8;
color: #202122;
background: #ffffff;
}
/* ===== Headings ===== */
h1,
.firstHeading {
font-family: 'Inter', sans-serif !important;
font-size: 2.2rem;
font-weight: 700;
color: #111827;
}
h2 {
font-family: 'Inter', sans-serif !important;
font-size: 1.6rem;
font-weight: 600;
color: #1f2937;
border-bottom: 2px solid #dbeafe;
padding-bottom: 6px;
margin-top: 30px;
}
h3 {
font-family: 'Inter', sans-serif !important;
font-size: 1.2rem;
font-weight: 600;
color: #374151;
}
/* ===== Links ===== */
a {
color: #2563eb;
text-decoration: none;
}
a:hover {
color: #1d4ed8;
text-decoration: underline;
}
/* ===== Content Width ===== */
.mw-parser-output {
max-width: 1100px;
}
/* ===== Premium Infobox ===== */
.wikiverse-infobox {
float: right;
width: 320px;
margin: 0 0 20px 20px;
border: 1px solid #cbd5e1;
border-radius: 8px;
overflow: hidden;
background: #ffffff;
border-collapse: collapse;
box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.wikiverse-infobox th {
background: #e0f2fe;
color: #0f172a;
padding: 10px;
border: 1px solid #cbd5e1;
font-weight: 600;
}
.wikiverse-infobox td {
padding: 8px;
border: 1px solid #cbd5e1;
background: #fff;
}
.wikiverse-infobox img {
border-radius: 6px;
}
/* ===== Biography Lead Section ===== */
.bio-lead {
font-size: 17px;
line-height: 1.9;
color: #374151;
}
/* ===== Tables ===== */
.wikitable {
width: 100%;
border-collapse: collapse;
border: 1px solid #d1d5db;
margin: 15px 0;
}
.wikitable th {
background: #eff6ff;
color: #1e3a8a;
font-weight: 600;
padding: 10px;
border: 1px solid #d1d5db;
}
.wikitable td {
padding: 10px;
border: 1px solid #d1d5db;
}
/* ===== Project Cards ===== */
.project-card {
background: #f8fafc;
border-left: 4px solid #2563eb;
padding: 15px;
margin: 15px 0;
border-radius: 6px;
}
/* ===== TOC ===== */
.toc {
background: #f8fafc;
border: 1px solid #dbeafe;
border-radius: 8px;
padding: 10px;
}
/* ===== Categories ===== */
.catlinks {
background: #f8fafc;
border: 1px solid #dbeafe;
border-radius: 8px;
padding: 10px;
margin-top: 30px;
}
/* ===== Code Blocks ===== */
pre,
code {
border-radius: 6px;
}
/* ===== Mobile ===== */
@media (max-width: 768px) {
.wikiverse-infobox {
float: none;
width: 100%;
margin: 15px 0;
}
body,
.mw-body,
.vector-body {
font-size: 15px;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.4rem;
}
}