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 18:51, 20 February 2026 by QuadraticFour (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.
/* =========================
   Hide Unused Citizen Toggles
========================= */

#skin-client-prefs-skin-theme,
#skin-client-prefs-citizen-feature-pure-black {
    display: none !important;
}


/* =========================
   Base Infobox Structure
========================= */

.lt-infobox {
    max-width: 320px;
    float: right;
    margin: 0 0 1rem 1.5rem;
    padding: 0;
}

.lt-infobox-title {
    text-align: center;
    letter-spacing: 2px;
}

.lt-infobox-image img {
    width: 100%;
    display: block;
}

.lt-infobox-section {
    padding: 4px 12px;
}

.lt-infobox-row {
    display: flex;
    justify-content: space-between;
}

.lt-infobox-label,
.lt-infobox-value {
    font-size: 17px;
}


/* =========================
   Velvet Theme
========================= */

/* Velvet Floating Grid */
html.lt-theme-default body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background-image:
        linear-gradient(rgba(139,155,180,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,155,180,0.05) 1px, transparent 1px);

    background-size: 40px 40px;

    animation: lt-grid-drift 5s linear infinite;
}

@keyframes lt-grid-drift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 40px 40px, 40px 40px;
    }
}

html.lt-theme-default {

    /* Body Text */
    color: #d6e2ff;
}

html.lt-theme-default body {
    background-image:
        linear-gradient(rgba(139,155,180,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,155,180,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}


/* Velvet Headers */

html.lt-theme-default h1,
html.lt-theme-default h2,
html.lt-theme-default .mw-page-title-main {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #8fb4ff;
    letter-spacing: 2px;
}

html.lt-theme-default .mw-page-title-main {
    font-size: 50px;
    text-shadow: 0 0 6px rgba(143,180,255,0.4);
}

html.lt-theme-default h2 {
    border-bottom: 2px solid #8fb4ff;
    padding-bottom: 6px;
    text-shadow: 0 0 6px rgba(143,180,255,0.4);
}

/* Velvet Wordmark Typography */
html.lt-theme-default .mw-logo-wordmark {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #8fb4ff;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(143,180,255,0.35);
}

/* Velvet Footer Body */
html.lt-theme-default .mw-footer.citizen-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at top center,
            rgba(143,180,255,0.12) 0%,
            transparent 70%
        );

    opacity: 0.5;
}

html.lt-theme-default .mw-footer.citizen-footer {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(8,12,28,0.9) 0%,
            rgba(3,6,15,1) 100%
        );
    border-top: 1px solid rgba(143,180,255,0.25);
    box-shadow:
        inset 0 20px 40px rgba(0,0,0,0.5);
}

html.lt-theme-default .citizen-footer__desc,
html.lt-theme-default #footer-tagline {
    color: rgba(214,226,255,0.75);
}


/* ======== Velvet Infobox ======== */

/* Velvet Breathing Glow */
@keyframes lt-velvet-breathe {
    0% {
        box-shadow: 0 0 10px rgba(143,180,255,0.10);
    }
    50% {
        box-shadow: 0 0 22px rgba(143,180,255,0.22);
    }
    100% {
        box-shadow: 0 0 10px rgba(143,180,255,0.10);
    }
}

html.lt-theme-default .lt-infobox {
    background: #050814;
    border: 1px solid #8fb4ff;
    outline: 1px solid #8fb4ff;
    outline-offset: -6px;
    box-shadow: 0 0 14px rgba(143,180,255,0.15);
    animation: lt-velvet-breathe 6s ease-in-out infinite;
}

html.lt-theme-default .lt-infobox-title {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #8fb4ff;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 14px 10px 10px 10px;
    border-bottom: 1px solid rgba(143,180,255,0.4);
    font-size: 25px;
    text-shadow: 0 0 6px rgba(143,180,255,0.4);
}

html.lt-theme-default .lt-infobox-image {
    padding: 6px;
    border-bottom: 1px solid rgba(143,180,255,0.3);
}

html.lt-theme-default .lt-infobox-row {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(143,180,255,0.25);
}

html.lt-theme-default .lt-infobox-row:last-child {
    border-bottom: none;
}

html.lt-theme-default .lt-infobox-label {
    color: #8fb4ff;
    font-family: "Courier New", monospace;
    letter-spacing: 1px;
}

html.lt-theme-default .lt-infobox-value {
    font-family: "Courier New", monospace;
    color: #d6e2ff;
}


/* Scoped Velvet Links */

html.lt-theme-default a {
    color: #8fb4ff;
}