Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 21:45, 2 July 2026 by Admin (talk | contribs)

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: 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 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;
    }
}