MediaWiki:Citizen.css

Aus Lost Dreams Of Tomorrow Wiki

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* ========================================
   CITIZEN – GLASS HEADER + BACKGROUND ONLY
   ======================================== */
:root {
    --opacity-glass: 0.6;
    --backdrop-filter-frosted-glass: blur(12px) saturate(120%);
    --color-surface-0: rgba(0, 0, 0, 0.6);
}

/* ===== Page Background ===== */
body {
    background-color: #000;
    background-image: url(https://lostdreamsoftomorrow.wiki/images/resources/Background.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

/* Mobile Fix */
@media (max-width: 999px) {
    body {
        background-attachment: scroll;
    }
}

/* ===== Glass Header (Citizen) ===== */
.mw-header,
.citizen-header {
    background: var(--color-surface-0) !important;
    backdrop-filter: var(--backdrop-filter-frosted-glass);
    -webkit-backdrop-filter: var(--backdrop-filter-frosted-glass);
    border-bottom: 1px solid rgba(120, 120, 160, 0.35);
}

.mw-header::before,
.citizen-header::before {
    background: none !important;
}

/* ========================================
   CITIZEN – GLASS CONTENT AREA
   ======================================== */
.citizen-body-container {
    background: var(--color-surface-0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(120, 120, 160, 0.35);
    margin-top: 0;
    margin-bottom: 0;
}

.citizen-body-container::before {
    background: none !important;
}

.citizen-body {
    padding: 1.5rem;
}

.citizen-card--content,
.citizen-card {
    background: transparent !important;
    box-shadow: none;
}

.mw-parser-output, .mw-body, .mw-body-content, #bodyContent {
    background-color: transparent !important;
}

#footer-icons a {
    display: none;
}

/* ========================================
   CITIZEN – HEADER INNER + CENTERED
   ======================================== */
.citizen-page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-surface-0);
    backdrop-filter: var(--backdrop-filter-frosted-glass);
    -webkit-backdrop-filter: var(--backdrop-filter-frosted-glass);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(120, 120, 160, 0.35);
    margin-inline: auto;
    max-width: var(--width-layout);
}

.citizen-page-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    width: 100%;
}

.page-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-actions .citizen-button,
.page-actions .citizen-menu {
    flex: none;
}

.page-actions .citizen-dropdown .citizen-menu__card-content {
    background: var(--color-surface-0);
    backdrop-filter: var(--backdrop-filter-frosted-glass);
    -webkit-backdrop-filter: var(--backdrop-filter-frosted-glass);
    border-radius: 8px;
}

/* ===== Mobile Fallback ===== */
@media (max-width: 1119px) {
    .citizen-page-header,
    .citizen-page-header-inner,
    .page-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .page-Main_Page.action-view .citizen-page-header-inner {
        border-top: var(--border-width-base) solid rgba(0, 0, 0, 0.1);
    }
}