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 (Full Width)
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 SECTION (Kept exactly as requested)
============================================ */
#mw-panel {
padding-top: 0 !important;
}
#p-logo {
margin: 0 !important;
padding: 0 !important;
width: 300px !important;
height: 80px !important;
}
#p-logo a {
display: block !important;
height: 80px !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;
}
/* ============================================
WIKIVERSE FULL-WIDTH COMPONENTS
============================================ */
.wv-hero {
background: linear-gradient(135deg, #3b1d6e 0%, #6a3bd6 55%, #9b6bf0 100%);
color: #fff;
text-align: center;
padding: 60px 40px;
border-radius: 12px;
margin-bottom: 30px;
width: 100%;
box-sizing: border-box;
box-shadow: 0 10px 30px rgba(106, 59, 214, 0.15);
}
.wv-hero h1 {
font-size: 48px;
margin: 0 0 10px;
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: 14px;
letter-spacing: 3px;
text-transform: uppercase;
color: #b89cf2;
margin-top: 8px;
}
.wv-grid {
display: flex;
flex-wrap: wrap;
gap: 24px;
margin-bottom: 30px;
width: 100%;
}
.wv-card {
flex: 1 1 300px; /* Increased flex base for wider screens */
background: #fff;
border: 1px solid #e3d6fb;
border-top: 4px solid #6a3bd6;
border-radius: 10px;
padding: 24px;
box-shadow: 0 4px 15px rgba(106, 59, 214, 0.08);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wv-card:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(106, 59, 214, 0.12);
}
.wv-card h3 {
color: #3b1d6e;
font-size: 20px;
margin: 0 0 12px;
border-bottom: 2px solid #f1e9fd;
padding-bottom: 10px;
}
.wv-card ul {
margin: 0;
padding-left: 20px;
color: #4a3870;
font-size: 16px;
line-height: 1.7;
}
.wv-stats {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
background: #fff;
border: 1px solid #e3d6fb;
border-radius: 12px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(106, 59, 214, 0.08);
width: 100%;
box-sizing: border-box;
}
.wv-stat {
text-align: center;
padding: 10px 24px;
flex: 1;
}
.wv-stat .num {
font-size: 36px;
font-weight: 800;
color: #6a3bd6;
}
.wv-stat .lbl {
font-size: 14px;
color: #8a78b5;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
}
.wv-cta {
background: linear-gradient(135deg, #3b1d6e, #6a3bd6);
color: #fff;
border-radius: 12px;
padding: 40px;
text-align: center;
margin-bottom: 30px;
box-shadow: 0 6px 20px rgba(59, 29, 110, 0.25);
width: 100%;
box-sizing: border-box;
}
.wv-cta h2 {
margin: 0 0 10px;
font-size: 28px;
color: #fff;
}
.wv-cta p {
color: #d8c7fb;
margin-bottom: 20px;
font-size: 18px;
}
.wv-btn {
display: inline-block;
background: #fff;
color: #3b1d6e;
padding: 12px 28px;
border-radius: 30px;
font-weight: 700;
font-size: 15px;
margin: 6px;
text-decoration: none;
transition: background 0.2s ease;
}
.wv-btn:hover {
background: #f1e9fd;
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: 12px 28px;
border-radius: 30px;
font-weight: 600;
font-size: 15px;
margin: 6px;
text-decoration: none;
transition: background 0.2s ease;
}
.wv-btn-outline:hover {
background: rgba(255, 255, 255, 0.25);
text-decoration: none;
}
.wv-section {
background: #fff;
border: 1px solid #e3d6fb;
border-radius: 12px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(106, 59, 214, 0.08);
width: 100%;
box-sizing: border-box;
}
.wv-section h2 {
color: #3b1d6e;
font-size: 22px;
margin: 0 0 16px;
border-bottom: 2px solid #f1e9fd;
padding-bottom: 12px;
}
/* =========================
WIKIVERSE BASE TYPOGRAPHY (Full Width)
========================= */
body,
.mw-body,
.vector-body {
font-family: 'Inter', sans-serif !important;
font-size: 16px;
line-height: 1.8;
color: #202122;
background: #ffffff;
}
/* FORCE FULL WIDTH LAYOUT */
.mw-parser-output {
max-width: 100% !important; /* Overrides the previous 1100px limit */
width: 100%;
box-sizing: border-box;
}
h1,
.firstHeading {
font-family: 'Inter', sans-serif !important;
font-size: 2.4rem;
font-weight: 700;
color: #111827;
}
h2 {
font-family: 'Inter', sans-serif !important;
font-size: 1.8rem;
font-weight: 600;
color: #1f2937;
border-bottom: 2px solid #dbeafe;
padding-bottom: 8px;
margin-top: 36px;
}
h3 {
font-family: 'Inter', sans-serif !important;
font-size: 1.3rem;
font-weight: 600;
color: #374151;
}
a {
color: #2563eb;
text-decoration: none;
}
a:hover {
color: #1d4ed8;
text-decoration: underline;
}
/* ===== Premium Infobox ===== */
.wikiverse-infobox {
float: right;
width: 350px; /* Slightly wider to match high-level layout */
margin: 0 0 24px 24px;
border: 1px solid #cbd5e1;
border-radius: 10px;
overflow: hidden;
background: #ffffff;
border-collapse: collapse;
box-shadow: 0 4px 15px rgba(0,0,0,.08);
}
.wikiverse-infobox th {
background: #e0f2fe;
color: #0f172a;
padding: 12px;
border: 1px solid #cbd5e1;
font-weight: 600;
}
.wikiverse-infobox td {
padding: 10px;
border: 1px solid #cbd5e1;
background: #fff;
}
.wikiverse-infobox img {
border-radius: 8px;
}
/* ===== Biography Lead Section ===== */
.bio-lead {
font-size: 18px; /* Bumped up for readability on wide screens */
line-height: 1.9;
color: #374151;
}
/* ===== Tables ===== */
.wikitable {
width: 100%;
border-collapse: collapse;
border: 1px solid #d1d5db;
margin: 20px 0;
}
.wikitable th {
background: #eff6ff;
color: #1e3a8a;
font-weight: 600;
padding: 12px;
border: 1px solid #d1d5db;
}
.wikitable td {
padding: 12px;
border: 1px solid #d1d5db;
}
/* ===== Project Cards ===== */
.project-card {
background: #f8fafc;
border-left: 4px solid #2563eb;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
width: 100%;
box-sizing: border-box;
}
/* ===== TOC ===== */
.toc {
background: #f8fafc;
border: 1px solid #dbeafe;
border-radius: 10px;
padding: 15px;
display: inline-block; /* Keeps TOC tidy instead of stretching full width */
min-width: 300px;
}
/* ===== Categories ===== */
.catlinks {
background: #f8fafc;
border: 1px solid #dbeafe;
border-radius: 10px;
padding: 15px;
margin-top: 40px;
width: 100%;
box-sizing: border-box;
}
/* ===== Code Blocks ===== */
pre,
code {
border-radius: 8px;
padding: 12px;
}
/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
.wikiverse-infobox {
float: none;
width: 100%;
margin: 20px 0;
}
body,
.mw-body,
.vector-body {
font-size: 15px;
}
h1, .firstHeading {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
.wv-hero {
padding: 40px 20px;
}
.wv-stats {
flex-direction: column;
gap: 20px;
}
}