MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Gerard (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Gerard (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
GLOBAL: Basis-CSS für alle Benutzeroberflächen | GLOBAL: Basis-CSS für alle Benutzeroberflächen | ||
============================================================ */ | ============================================================ */ | ||
/* Toolbox (p-tb) ausblenden */ | /* Toolbox (p-tb) ausblenden */ | ||
| Zeile 68: | Zeile 53: | ||
============================================================ */ | ============================================================ */ | ||
#p-navigation .vector-menu-heading::before, | #p-navigation .vector-menu-heading::before, | ||
#p-TS-Universum .vector-menu-heading::before, | #p-TS-Universum .vector-menu-heading::before, | ||
| Zeile 83: | Zeile 67: | ||
} | } | ||
#p-navigation .vector-menu-heading::before { | #p-navigation .vector-menu-heading::before { | ||
background-image: url("/Wiki_TS/images/f/f0/Kontakt.png"); | background-image: url("/Wiki_TS/images/f/f0/Kontakt.png"); | ||
| Zeile 101: | Zeile 84: | ||
/* ============================================================ | /* ============================================================ | ||
SIDEBAR-DESIGN (Vector‑2022) | SIDEBAR-DESIGN (Vector‑2022) – SAUBER ISOLIERT | ||
============================================================ */ | ============================================================ */ | ||
/* Sidebar-Container */ | |||
nav#mw-panel.mw-sidebar { | nav#mw-panel.mw-sidebar { | ||
background-color: #FFBF00 !important; | background-color: #FFBF00 !important; | ||
| Zeile 111: | Zeile 95: | ||
} | } | ||
/* Sidebar-Portlets */ | |||
nav#mw-panel.mw-sidebar .vector-menu-portal { | nav#mw-panel.mw-sidebar .vector-menu-portal { | ||
background-color: #FFDE6C !important; | background-color: #FFDE6C !important; | ||
border-radius: 4px !important; | border-radius: 4px !important; | ||
padding: 6px !important; | padding: 6px !important; | ||
margin: 4px 0 !important; | |||
} | } | ||
/* Sidebar-Header */ | /* Sidebar-Header – nur links */ | ||
# | #mw-panel .vector-menu-heading { | ||
background | background: #FFBF00 !important; | ||
border- | color: #000 !important; | ||
font-weight: bold !important; | |||
padding: 4px 6px !important; | |||
padding-right: 12px !important; | |||
border-radius: 5px !important; | |||
transition: background 0.2s ease; | |||
} | } | ||
/* | /* Sidebar-Header eingeklappt */ | ||
#mw-panel .vector-menu-heading.collapsed { | |||
background: #FFDE6C !important; | |||
color: #000 !important; | |||
font-weight: normal !important; | |||
} | } | ||
/* Sidebar-Pfeile */ | |||
#mw-panel .vector-menu-heading::after { | |||
content: " ▾"; | content: " ▾"; | ||
float: right; | float: right; | ||
} | } | ||
#mw-panel .vector-menu-heading.collapsed::after { | |||
content: " ▸"; | content: " ▸"; | ||
} | } | ||
.mw- | /* Sidebar-Inhalt */ | ||
padding- | #mw-panel .vector-menu-content { | ||
background: #FFDE6C !important; | |||
border-radius: 5px !important; | |||
padding: 3px !important; | |||
margin: 0 !important; | |||
} | |||
/* Sidebar-Links */ | |||
#mw-panel .vector-menu-content-list li a { | |||
border-radius: 3px !important; | |||
padding: 2px 2px; | |||
} | |||
/* ============================================================ | |||
TOP-MENÜ (oben rechts) wieder neutralisieren | |||
============================================================ */ | |||
#p-personal .vector-menu-heading, | |||
#p-personal .vector-menu-content, | |||
.vector-user-menu .vector-menu-heading, | |||
.vector-notifications .vector-menu-heading, | |||
.vector-notifications .vector-menu-content { | |||
background: transparent !important; | |||
color: inherit !important; | |||
border: none !important; | |||
} | } | ||
| Zeile 161: | Zeile 172: | ||
} | } | ||
.cdx-thumbnail__placeholder { | .cdx-thumbnail__placeholder { | ||
background-image: url("/Wiki_BlueX/images/c/c6/Sokratesicon.png") !important; | background-image: url("/Wiki_BlueX/images/c/c6/Sokratesicon.png") !important; | ||
| Zeile 168: | Zeile 178: | ||
} | } | ||
.cdx-thumbnail__image { | .cdx-thumbnail__image { | ||
filter: none !important; | filter: none !important; | ||
| Zeile 174: | Zeile 183: | ||
} | } | ||
.cdx-menu-item[title*="Begriffsklärung"] .cdx-thumbnail__placeholder { | .cdx-menu-item[title*="Begriffsklärung"] .cdx-thumbnail__placeholder { | ||
opacity: 1 !important; | opacity: 1 !important; | ||
| Zeile 181: | Zeile 189: | ||
} | } | ||
@keyframes pulseAura { | @keyframes pulseAura { | ||
0% { transform: scale(1); opacity: 1; } | 0% { transform: scale(1); opacity: 1; } | ||
| Zeile 201: | Zeile 208: | ||
border-bottom: 2px solid #7bb8ff !important; | border-bottom: 2px solid #7bb8ff !important; | ||
} | } | ||
Version vom 26. Mai 2026, 16:01 Uhr
/* ============================================================
GLOBAL: Basis-CSS für alle Benutzeroberflächen
============================================================ */
/* Toolbox (p-tb) ausblenden */
#p-tb {
display: none !important;
}
/* Footer-Logo (Zeitlos) – Abstand & Ausrichtung */
.vector-footer-poweredby .mw-footer-icon img[src$="banner-cc.png"] {
margin-left: 8px !important;
margin-right: 8px !important;
}
.vector-footer-poweredby .mw-footer-icon img {
vertical-align: middle !important;
position: relative;
top: -4px;
}
/* Hintergrundfarben (Seitenrahmen) */
#mw-page-base,
body {
background-color: #B0E2FF;
}
/* MediaWiki-Hilfe-Links ausblenden */
.mw-indicators,
.mw-indicator,
.mw-helplink {
display: none !important;
}
/* TOC-Limiter */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* Automatisches Verschmelzen benachbarter Navigationsleisten */
div.NavFrame + div.NavFrame {
border-top-style: hidden;
margin-top: 0;
}
/* ============================================================
SIDEBAR-ICONS (Vector‑2011 & Vector‑2022)
============================================================ */
#p-navigation .vector-menu-heading::before,
#p-TS-Universum .vector-menu-heading::before,
#p-Drix .vector-menu-heading::before,
#p-Extern .vector-menu-heading::before {
content: "";
display: inline-block;
width: 1.2em;
height: 1.2em;
margin-right: 0.05em;
background-size: contain;
background-repeat: no-repeat;
vertical-align: -0.18em;
}
#p-navigation .vector-menu-heading::before {
background-image: url("/Wiki_TS/images/f/f0/Kontakt.png");
}
#p-TS-Universum .vector-menu-heading::before {
background-image: url("/Wiki_TS/images/c/c3/T-Star.png");
}
#p-Drix .vector-menu-heading::before {
background-image: url("/Wiki_TS/images/a/a6/Drix.png");
}
#p-Extern .vector-menu-heading::before {
background-image: url("/Wiki_TS/images/6/66/Spezielles.png");
}
/* ============================================================
SIDEBAR-DESIGN (Vector‑2022) – SAUBER ISOLIERT
============================================================ */
/* Sidebar-Container */
nav#mw-panel.mw-sidebar {
background-color: #FFBF00 !important;
padding: 12px !important;
border-radius: 6px !important;
border: 1px solid #d6c48a !important;
}
/* Sidebar-Portlets */
nav#mw-panel.mw-sidebar .vector-menu-portal {
background-color: #FFDE6C !important;
border-radius: 4px !important;
padding: 6px !important;
margin: 4px 0 !important;
}
/* Sidebar-Header – nur links */
#mw-panel .vector-menu-heading {
background: #FFBF00 !important;
color: #000 !important;
font-weight: bold !important;
padding: 4px 6px !important;
padding-right: 12px !important;
border-radius: 5px !important;
transition: background 0.2s ease;
}
/* Sidebar-Header eingeklappt */
#mw-panel .vector-menu-heading.collapsed {
background: #FFDE6C !important;
color: #000 !important;
font-weight: normal !important;
}
/* Sidebar-Pfeile */
#mw-panel .vector-menu-heading::after {
content: " ▾";
float: right;
}
#mw-panel .vector-menu-heading.collapsed::after {
content: " ▸";
}
/* Sidebar-Inhalt */
#mw-panel .vector-menu-content {
background: #FFDE6C !important;
border-radius: 5px !important;
padding: 3px !important;
margin: 0 !important;
}
/* Sidebar-Links */
#mw-panel .vector-menu-content-list li a {
border-radius: 3px !important;
padding: 2px 2px;
}
/* ============================================================
TOP-MENÜ (oben rechts) wieder neutralisieren
============================================================ */
#p-personal .vector-menu-heading,
#p-personal .vector-menu-content,
.vector-user-menu .vector-menu-heading,
.vector-notifications .vector-menu-heading,
.vector-notifications .vector-menu-content {
background: transparent !important;
color: inherit !important;
border: none !important;
}
/* ============================================================
THUMBNAIL-OPTIK (Sokrates-Effekt)
============================================================ */
.cdx-menu-item__thumbnail,
.cdx-thumbnail__image,
.cdx-thumbnail__placeholder {
width: 50px !important;
height: 50px !important;
background-position: center !important;
background-size: contain !important;
}
.cdx-thumbnail__placeholder {
background-image: url("/Wiki_BlueX/images/c/c6/Sokratesicon.png") !important;
opacity: 0.35 !important;
filter: blur(1.2px) brightness(1.4) contrast(0.7) !important;
}
.cdx-thumbnail__image {
filter: none !important;
opacity: 1 !important;
}
.cdx-menu-item[title*="Begriffsklärung"] .cdx-thumbnail__placeholder {
opacity: 1 !important;
filter: none !important;
animation: pulseAura 3.2s ease-in-out infinite;
}
@keyframes pulseAura {
0% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.06); opacity: 0.95; }
100% { transform: scale(1); opacity: 1; }
}
/* ============================================================
Vector‑2022 Hauptmenü (optional)
============================================================ */
#vector-main-menu {
background-color: #cfe8ff !important;
border: 2px solid #7bb8ff !important;
}
#vector-main-menu .vector-pinnable-header {
background-color: #d9edff !important;
border-bottom: 2px solid #7bb8ff !important;
}