MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================ | /* ============================================ | ||
Wikiverse — Purple Premium Theme | Wikiverse — Purple Premium Theme (Full Width) | ||
Paste this entire file's content into: | Paste this entire file's content into: | ||
MediaWiki:Common.css | MediaWiki:Common.css | ||
============================================ */ | ============================================ */ | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | @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 { | #mw-panel { | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
| Line 35: | Line 37: | ||
#p-logo a, | #p-logo a, | ||
#p-logo .mw-wiki-logo { | #p-logo .mw-wiki-logo { | ||
margin-left: 100 !important; | margin-left: 100 !important; | ||
padding-left: 0 !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: | .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- | .wv-hero h1 { | ||
font-size: 48px; | |||
margin: 0 0 10px; | |||
font-weight: 800; | |||
letter-spacing: -1px; | |||
color: #fff; | |||
} | |||
.wv- | .wv-hero .tag { | ||
font-size: 16px; | |||
.wv- | 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-cta{background:linear-gradient(135deg,#3b1d6e,#6a3bd6);color:#fff;border-radius: | .wv-grid { | ||
.wv-cta h2{margin:0 0 | display: flex; | ||
.wv-cta p{color:#d8c7fb;margin-bottom: | flex-wrap: wrap; | ||
.wv-btn{display:inline-block;background:#fff;color:#3b1d6e;padding: | gap: 24px; | ||
.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: | 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, | body, | ||
| Line 78: | Line 248: | ||
} | } | ||
/* | /* FORCE FULL WIDTH LAYOUT */ | ||
.mw-parser-output { | |||
max-width: 100% !important; /* Overrides the previous 1100px limit */ | |||
width: 100%; | |||
box-sizing: border-box; | |||
} | |||
h1, | h1, | ||
.firstHeading { | .firstHeading { | ||
font-family: 'Inter', sans-serif !important; | font-family: 'Inter', sans-serif !important; | ||
font-size: 2. | font-size: 2.4rem; | ||
font-weight: 700; | font-weight: 700; | ||
color: #111827; | color: #111827; | ||
| Line 90: | Line 265: | ||
h2 { | h2 { | ||
font-family: 'Inter', sans-serif !important; | font-family: 'Inter', sans-serif !important; | ||
font-size: 1. | font-size: 1.8rem; | ||
font-weight: 600; | font-weight: 600; | ||
color: #1f2937; | color: #1f2937; | ||
border-bottom: 2px solid #dbeafe; | border-bottom: 2px solid #dbeafe; | ||
padding-bottom: | padding-bottom: 8px; | ||
margin-top: | margin-top: 36px; | ||
} | } | ||
h3 { | h3 { | ||
font-family: 'Inter', sans-serif !important; | font-family: 'Inter', sans-serif !important; | ||
font-size: 1. | font-size: 1.3rem; | ||
font-weight: 600; | font-weight: 600; | ||
color: #374151; | color: #374151; | ||
} | } | ||
a { | a { | ||
| Line 115: | Line 288: | ||
color: #1d4ed8; | color: #1d4ed8; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* ===== Premium Infobox ===== */ | /* ===== Premium Infobox ===== */ | ||
.wikiverse-infobox { | .wikiverse-infobox { | ||
float: right; | float: right; | ||
width: | width: 350px; /* Slightly wider to match high-level layout */ | ||
margin: 0 0 | margin: 0 0 24px 24px; | ||
border: 1px solid #cbd5e1; | border: 1px solid #cbd5e1; | ||
border-radius: | border-radius: 10px; | ||
overflow: hidden; | overflow: hidden; | ||
background: #ffffff; | background: #ffffff; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
box-shadow: 0 | box-shadow: 0 4px 15px rgba(0,0,0,.08); | ||
} | } | ||
| Line 140: | Line 306: | ||
background: #e0f2fe; | background: #e0f2fe; | ||
color: #0f172a; | color: #0f172a; | ||
padding: | padding: 12px; | ||
border: 1px solid #cbd5e1; | border: 1px solid #cbd5e1; | ||
font-weight: 600; | font-weight: 600; | ||
| Line 146: | Line 312: | ||
.wikiverse-infobox td { | .wikiverse-infobox td { | ||
padding: | padding: 10px; | ||
border: 1px solid #cbd5e1; | border: 1px solid #cbd5e1; | ||
background: #fff; | background: #fff; | ||
| Line 152: | Line 318: | ||
.wikiverse-infobox img { | .wikiverse-infobox img { | ||
border-radius: | border-radius: 8px; | ||
} | } | ||
/* ===== Biography Lead Section ===== */ | /* ===== Biography Lead Section ===== */ | ||
.bio-lead { | .bio-lead { | ||
font-size: | font-size: 18px; /* Bumped up for readability on wide screens */ | ||
line-height: 1.9; | line-height: 1.9; | ||
color: #374151; | color: #374151; | ||
| Line 164: | Line 329: | ||
/* ===== Tables ===== */ | /* ===== Tables ===== */ | ||
.wikitable { | .wikitable { | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid #d1d5db; | border: 1px solid #d1d5db; | ||
margin: | margin: 20px 0; | ||
} | } | ||
| Line 176: | Line 340: | ||
color: #1e3a8a; | color: #1e3a8a; | ||
font-weight: 600; | font-weight: 600; | ||
padding: | padding: 12px; | ||
border: 1px solid #d1d5db; | border: 1px solid #d1d5db; | ||
} | } | ||
.wikitable td { | .wikitable td { | ||
padding: | padding: 12px; | ||
border: 1px solid #d1d5db; | border: 1px solid #d1d5db; | ||
} | } | ||
/* ===== Project Cards ===== */ | /* ===== Project Cards ===== */ | ||
.project-card { | .project-card { | ||
background: #f8fafc; | background: #f8fafc; | ||
border-left: 4px solid #2563eb; | border-left: 4px solid #2563eb; | ||
padding: | padding: 20px; | ||
margin: | margin: 20px 0; | ||
border-radius: | border-radius: 8px; | ||
width: 100%; | |||
box-sizing: border-box; | |||
} | } | ||
/* ===== TOC ===== */ | /* ===== TOC ===== */ | ||
.toc { | .toc { | ||
background: #f8fafc; | background: #f8fafc; | ||
border: 1px solid #dbeafe; | border: 1px solid #dbeafe; | ||
border-radius: | border-radius: 10px; | ||
padding: | padding: 15px; | ||
display: inline-block; /* Keeps TOC tidy instead of stretching full width */ | |||
min-width: 300px; | |||
} | } | ||
/* ===== Categories ===== */ | /* ===== Categories ===== */ | ||
.catlinks { | .catlinks { | ||
background: #f8fafc; | background: #f8fafc; | ||
border: 1px solid #dbeafe; | border: 1px solid #dbeafe; | ||
border-radius: | border-radius: 10px; | ||
padding: | padding: 15px; | ||
margin-top: | margin-top: 40px; | ||
width: 100%; | |||
box-sizing: border-box; | |||
} | } | ||
/* ===== Code Blocks ===== */ | /* ===== Code Blocks ===== */ | ||
pre, | pre, | ||
code { | code { | ||
border-radius: | border-radius: 8px; | ||
padding: 12px; | |||
} | } | ||
/* ===== Mobile ===== */ | /* ===== Mobile Responsiveness ===== */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.wikiverse-infobox { | .wikiverse-infobox { | ||
float: none; | float: none; | ||
width: 100%; | width: 100%; | ||
margin: | margin: 20px 0; | ||
} | } | ||
| Line 237: | Line 402: | ||
} | } | ||
h1 { | h1, .firstHeading { | ||
font-size: | font-size: 2rem; | ||
} | } | ||
h2 { | h2 { | ||
font-size: 1. | font-size: 1.5rem; | ||
} | |||
.wv-hero { | |||
padding: 40px 20px; | |||
} | |||
.wv-stats { | |||
flex-direction: column; | |||
gap: 20px; | |||
} | } | ||
} | } | ||
Revision as of 21:48, 2 July 2026
/* ============================================
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;
}
}