MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Sascha (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Sascha (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* 1. DER ÄUSSERE CONTAINER (Das Parent-Element) */ | |||
#vector-toc-pinned-container, | |||
.vector-pinned-container { | |||
/* 1. | |||
.vector- | |||
background-color: rgba(27, 34, 45, 0.94) !important; | background-color: rgba(27, 34, 45, 0.94) !important; | ||
border: 1px solid rgba(88, 145, 255, 0.3) !important; | border: 1px solid rgba(88, 145, 255, 0.3) !important; | ||
border-radius: 15px !important; | border-radius: 15px !important; | ||
/* ABSTAND: Rundum gleichmäßiger Abstand zum inneren Inhalt */ | |||
padding: 20px !important; | |||
/* HÖHE: Damit es nicht so niedrig ist (min-height oder Flex-Anpassung) */ | |||
min-height: 300px; | |||
display: flex; | |||
flex-direction: column; | |||
box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; | box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; | ||
margin-top: | margin-top: 25px !important; | ||
} | } | ||
/* | /* 2. DAS INNERE ELEMENT (Das eigentliche TOC) */ | ||
#vector-toc { | |||
padding: | background: transparent !important; /* Hintergrund kommt vom Parent */ | ||
border: none !important; /* Doppel-Rahmen vermeiden */ | |||
padding: 0 !important; /* Padding kommt vom Parent */ | |||
margin: 0 !important; | |||
width: 100% !important; | |||
} | } | ||
/* | /* 3. LISTEN-STYLING (Inhaltsverzeichnis-Links) */ | ||
.vector-toc-list-item { | |||
background-color: transparent !important; | |||
.vector-toc- | padding: 5px 0 !important; | ||
background: transparent !important; | |||
} | } | ||
.vector-toc-link { | |||
color: #e2e8f0 !important; | |||
} | } | ||
.vector-toc-link:hover { | |||
color: #5891ff !important; | color: #5891ff !important; | ||
background: | background-color: rgba(88, 145, 255, 0.1) !important; | ||
border-radius: 5px; | |||
} | } | ||
/* | /* 4. BUTTONS ENTFERNEN (Wie gewünscht) */ | ||
. | .vector-pinnable-header-toggle-button, | ||
.vector-toc-toggle { | |||
display: none !important; | |||
} | } | ||
Version vom 28. April 2026, 22:33 Uhr
/* 1. DER ÄUSSERE CONTAINER (Das Parent-Element) */
#vector-toc-pinned-container,
.vector-pinned-container {
background-color: rgba(27, 34, 45, 0.94) !important;
border: 1px solid rgba(88, 145, 255, 0.3) !important;
border-radius: 15px !important;
/* ABSTAND: Rundum gleichmäßiger Abstand zum inneren Inhalt */
padding: 20px !important;
/* HÖHE: Damit es nicht so niedrig ist (min-height oder Flex-Anpassung) */
min-height: 300px;
display: flex;
flex-direction: column;
box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
margin-top: 25px !important;
}
/* 2. DAS INNERE ELEMENT (Das eigentliche TOC) */
#vector-toc {
background: transparent !important; /* Hintergrund kommt vom Parent */
border: none !important; /* Doppel-Rahmen vermeiden */
padding: 0 !important; /* Padding kommt vom Parent */
margin: 0 !important;
width: 100% !important;
}
/* 3. LISTEN-STYLING (Inhaltsverzeichnis-Links) */
.vector-toc-list-item {
background-color: transparent !important;
padding: 5px 0 !important;
}
.vector-toc-link {
color: #e2e8f0 !important;
}
.vector-toc-link:hover {
color: #5891ff !important;
background-color: rgba(88, 145, 255, 0.1) !important;
border-radius: 5px;
}
/* 4. BUTTONS ENTFERNEN (Wie gewünscht) */
.vector-pinnable-header-toggle-button,
.vector-toc-toggle {
display: none !important;
}