MediaWiki:Citizen.css: Unterschied zwischen den Versionen
Aus Lost Dreams Of Tomorrow Wiki
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 102: | Zeile 102: | ||
} | } | ||
} | } | ||
/* ======================================== | |||
CITIZEN – GLASS HEADER INNER + CENTERED | |||
======================================== */ | |||
/* Glas-Grundlagen */ | |||
:root { | |||
--opacity-glass: 0.6; | |||
--backdrop-filter-frosted-glass: blur(12px) saturate(120%); | |||
--color-surface-0: rgba(0, 0, 0, 0.6); | |||
} | |||
/* Haupt-Header-Container */ | |||
.citizen-page-header-inner { | |||
display: flex; | |||
justify-content: center; /* mittig */ | |||
align-items: center; /* vertikal zentriert */ | |||
flex-wrap: wrap; | |||
gap: var(--space-md); | |||
max-width: var(--width-layout); | |||
margin-inline: auto; | |||
padding-block: var(--space-md); | |||
background: rgba(0, 0, 0, 0.6); /* dunkler Glas-Hintergrund */ | |||
backdrop-filter: blur(12px) saturate(120%); | |||
-webkit-backdrop-filter: blur(12px) saturate(120%); | |||
border-radius: 12px; | |||
border: 1px solid rgba(120, 120, 160, 0.35); | |||
} | |||
/* Falls Citizen ein Overlay benutzt */ | |||
.citizen-page-header-inner::before { | |||
background: none !important; | |||
} | |||
/* Spezifisch für die Main Page */ | |||
@media screen and (max-width: 1119px) { | |||
.page-Main_Page.action-view .citizen-page-header-inner { | |||
justify-content: center; | |||
padding-top: 8px; | |||
padding-bottom: 8px; | |||
border-top: var(--border-width-base) solid rgba(0, 0, 0, 0.1); | |||
} | |||
Version vom 11. Januar 2026, 21:08 Uhr
/* ========================================
CITIZEN – GLASS HEADER + BACKGROUND ONLY
======================================== */
:root {
/* Glas-Grundlagen */
--opacity-glass: 0.6;
--backdrop-filter-frosted-glass: blur(12px) saturate(120%);
/* Surface-Farben transparent machen */
--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: rgba(0, 0, 0, 0.6) !important;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border-bottom: 1px solid rgba(120, 120, 160, 0.35);
}
/* Falls Citizen ein Overlay benutzt */
.mw-header::before,
.citizen-header::before {
background: none !important;
}
/* ========================================
CITIZEN – GLASS CONTENT AREA
======================================== */
/* Haupt-Content-Container */
.citizen-body-container {
background: rgba(0, 0, 0, 0.6) !important;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 12px;
border: 1px solid rgba(120, 120, 160, 0.35);
}
/* Falls Citizen ein Overlay nutzt */
.citizen-body-container::before {
background: none !important;
}
/* Optional: etwas Abstand zum Rand */
.citizen-body {
padding: 1.5rem;
}
.citizen-card--content,
.citizen-card {
background: transparent !important;
box-shadow: none;
}
/*background transparent machen*/
.mw-parser-output, .mw-body, .mw-body-content, #bodyContent {
background-color: transparent !important;
}
/*Content platz entfernen*/
@media screen {
.page-Main_Page.action-view .citizen-body-container {
border-radius: 0px;
margin-top: 0px;
}
}
@media screen and (min-width: 1120px) {
.citizen-footer {
margin-bottom: 0;
margin-top: 0px;
}
}
/*footer icon entfernen*/
@media screen {
#footer-icons a {
display: flex;
align-items: center;
background-color: var(--background-color-base-fixed);
display: none;
}
}
/* ========================================
CITIZEN – GLASS HEADER INNER + CENTERED
======================================== */
/* Glas-Grundlagen */
:root {
--opacity-glass: 0.6;
--backdrop-filter-frosted-glass: blur(12px) saturate(120%);
--color-surface-0: rgba(0, 0, 0, 0.6);
}
/* Haupt-Header-Container */
.citizen-page-header-inner {
display: flex;
justify-content: center; /* mittig */
align-items: center; /* vertikal zentriert */
flex-wrap: wrap;
gap: var(--space-md);
max-width: var(--width-layout);
margin-inline: auto;
padding-block: var(--space-md);
background: rgba(0, 0, 0, 0.6); /* dunkler Glas-Hintergrund */
backdrop-filter: blur(12px) saturate(120%);
-webkit-backdrop-filter: blur(12px) saturate(120%);
border-radius: 12px;
border: 1px solid rgba(120, 120, 160, 0.35);
}
/* Falls Citizen ein Overlay benutzt */
.citizen-page-header-inner::before {
background: none !important;
}
/* Spezifisch für die Main Page */
@media screen and (max-width: 1119px) {
.page-Main_Page.action-view .citizen-page-header-inner {
justify-content: center;
padding-top: 8px;
padding-bottom: 8px;
border-top: var(--border-width-base) solid rgba(0, 0, 0, 0.1);
}