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: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 393: Line 393:
/* Mementos Infobox Styling */
/* Mementos Infobox Styling */


/* Underset Red Card */
html.lt-theme-red .lt-infobox {
    position: relative;
}
html.lt-theme-red .lt-infobox::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background: #a00000;
    z-index: -1;
}
/* Main black body */
/* Main black body */
html.lt-theme-red .lt-infobox {
html.lt-theme-red .lt-infobox {
Line 455: Line 469:
html.lt-theme-red .lt-infobox-row {
html.lt-theme-red .lt-infobox-row {
     border-bottom: 2px dotted #888;
     border-bottom: 2px dotted #888;
}
/* Underset Red Card */
html.lt-theme-red .lt-infobox {
    position: relative;
}
html.lt-theme-red .lt-infobox::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background: #a00000;
    z-index: -1;
}
}

Revision as of 22:15, 20 February 2026

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Archivo+Black&family=Oswald&family=Playfair+Display:wght@700&family=Libre+Baskerville:wght@700&family=Bitter:wght@700&family=Cinzel:wght@700&family=IBM+Plex+Mono:wght@600&family=Black+Ops+One&display=swap');
/* =========================
   Hiders
========================= */

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

/* Hide namespace prefix in page title */
html.lt-theme-default .mw-page-title-namespace,
html.lt-theme-default .mw-page-title-separator,
html.lt-theme-red .mw-page-title-namespace,
html.lt-theme-red .mw-page-title-separator {
    display: none;
}


/* =========================
   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
========================= */
/* ======================================== BEGIN 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 h3,
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 – Icy + Breathing */
html.lt-theme-default .mw-logo-wordmark {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #d6e2ff;
    letter-spacing: 2px;
    animation: velvetWordmarkGlow 4s ease-in-out infinite alternate;
}

@keyframes velvetWordmarkGlow {
    from {
        text-shadow:
            0 0 4px rgba(143,180,255,0.3),
            0 0 8px rgba(143,180,255,0.2);
    }
    to {
        text-shadow:
            0 0 8px rgba(143,180,255,0.6),
            0 0 16px rgba(143,180,255,0.4);
    }
}

/* Individual Floating + Rotating Letters */

html.lt-theme-default .velvet-letter {
    display: inline-block;
    animation: velvetFloatRotate 8s ease-in-out infinite alternate;
}

@keyframes velvetFloatRotate {
    0% {
        transform: translateY(0px) rotate(-3.0deg);
    }
    50% {
        transform: translateY(-8px) rotate(3.0deg);
    }
    100% {
        transform: translateY(0px) rotate(0.0deg);
    }
}

/* 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);
}

html.lt-theme-default #footer-places a {
    color: #8fb4ff;
    transition: color 0.2s ease;
}

html.lt-theme-default #footer-places a:hover {
    color: #d6e2ff;
}


/* Velvet Header Shell */

html.lt-theme-default .citizen-header {
    background: #050814;
    border-right: 1px solid rgba(143,180,255,0.25);
    box-shadow: inset -1px 0 0 rgba(143,180,255,0.15);
}

/* Velvet Navigation Links */

html.lt-theme-default .citizen-menu__content-list a {
    color: #d6e2ff;
}

html.lt-theme-default .citizen-menu__content-list a:hover {
    color: #8fb4ff;
    text-shadow: 0 0 6px rgba(143,180,255,0.4);
}

/* Velvet Drawer Panel */

html.lt-theme-default .citizen-drawer__card {
    background: #050814;
    border-left: 1px solid rgba(143,180,255,0.25);
    box-shadow: -4px 0 20px rgba(0,0,0,0.6);
}

html.lt-theme-default .citizen-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(143,180,255,0.4),
        transparent
    );
}

/* Velvet Sticky Header */

html.lt-theme-default .citizen-sticky-header {
    background: rgba(5, 8, 20, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(143,180,255,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

html.lt-theme-default .citizen-sticky-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(143,180,255,0.6),
        transparent
    );
    animation: stickyGlow 6s ease-in-out infinite alternate;
}

@keyframes stickyGlow {
    from { opacity: 0.3; }
    to   { opacity: 0.8; }
}

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

/* ======== 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;
}

/* ======================================== END VELVET THEME ==================================================== */
/* ======================================== BEGIN MEMENTOS THEME ================================================ */
/* =========================
   Mementos Scrapbook Stylers
========================= */
/* Scrapbook Base */

html.lt-theme-red .scrapbook-letter {
    display: inline-block;
    position: relative;
    padding: 0 2px;
}

/* Black Box Letters */

html.lt-theme-red .scrapbook-letter.box-black {
    background: #000;
    color: #fff !important;
    padding: 2px 4px;
}

/* White Box Letters (Rare Accent) */

html.lt-theme-red .scrapbook-letter.box-white {
    background: #fff;
    color: #000 !important;
    padding: 2px 4px;
}

/* Slight rough edge feeling */
html.lt-theme-red .scrapbook-letter.box-black,
html.lt-theme-red .scrapbook-letter.box-white {
    transform-origin: center;
}

.scrap-layer {
    display: none;
}

.scrap-original {
    display: inline;
}
/* Mementos Infobox Styling */

/* Underset Red Card */
html.lt-theme-red .lt-infobox {
    position: relative;
}
html.lt-theme-red .lt-infobox::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background: #a00000;
    z-index: -1;
}
/* Main black body */
html.lt-theme-red .lt-infobox {
    background: #000; /* main meat is black */
    border: 4px solid #ff0000; /* bright Persona red */
    box-shadow: none; /* remove any inherited shadows */
}

/* Tilt the infobox */
html.lt-theme-red .lt-infobox {
    transform: rotate(4deg);
}

html.lt-theme-red .lt-infobox > * {
    transform: rotate(2deg);
}

/* Header Strip */
html.lt-theme-red .lt-infobox-title {
    background: #c10000;
    color: white;
    text-transform: uppercase;
    font-family: 'Anton', sans-serif; /* or scrapbook engine handles it */
    padding: 10px;
}

/* Image Border */
html.lt-theme-red .lt-infobox-image {
    padding: 6px;
    background:
        repeating-linear-gradient(
            45deg,
            #0f0f0f,
            #0f0f0f 10px,
            #292929 10px,
            #292929 20px
        );
}
html.lt-theme-red .lt-infobox-image img {
    width: 92%;
    margin: 0 auto;
    display: block;
}

/* White trapezoid Label thingies */
html.lt-theme-red .lt-infobox-label {
    position: relative;
    font-family: 'Courier New', monospace;
    color: black;
    z-index: 1;
}
html.lt-theme-red .lt-infobox-label::before {
    content: "";
    position: absolute;
    inset: -2px -6px;
    background: white;
    transform: skewX(-15deg);
    z-index: -1;
}

/* Dotted Line Info Borders */
html.lt-theme-red .lt-infobox-row {
    border-bottom: 2px dotted #888;
}