MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus WikiToYes
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 31: | Zeile 31: | ||
} | } | ||
/*BOOTSTRAP KOMPONENTEN | /*BOOTSTRAP KOMPONENTEN: Accordeon */ | ||
.mw-custom-accordion { | .mw-custom-accordion { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
| Zeile 49: | Zeile 48: | ||
border-top: 1px solid #a2a9b1; | border-top: 1px solid #a2a9b1; | ||
} | } | ||
/*BOOTSTRAP KOMPONENTEN: Alert | |||
<noinclude>{{Dokumentation}}</noinclude> | |||
<includeonly> | |||
<div class="mw-custom-alert mw-custom-alert-{{{type|info}}}" style=" | |||
padding: 12px; | |||
margin: 10px 0; | |||
border-left: 4px solid; | |||
border-radius: 2px; | |||
"> | |||
[[Datei:{{{type|info}}}-icon.svg|20px|left]] | |||
{{{1|}}} | |||
</div> | |||
</includeonly> | |||
Version vom 16. Juli 2025, 15:06 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Obere dunkle Navbar bekommt höheren z-index */
nav.bg-dark.navbar-dark {
position: relative;
z-index: 1050;
}
/* Sticky navbar darunter: geringerer z-index */
.sticky-top {
z-index: 1030 !important;
}
/* Stelle sicher, dass Dropdowns der oberen Leiste drüber liegen */
nav.bg-dark.navbar-dark .dropdown-menu {
z-index: 1060 !important;
position: absolute !important;
}
/* Das folgende CSS versteckt den __TOC__ Befehl (Inhaltsverzeichnis der Seite) das jetzt zugeklappt geöffnet wird.
/* Aufruf auf der Seite <div id="fade-toc" class="toc-fade" style="max-height: 400px; overflow-y: auto;"> __TOC__ </div>
.toc-fade {
opacity: 0;
max-height: 0;
transition: opacity 0.6s ease, max-height 0.6s ease;
overflow: hidden;
}
.toc-fade.shown {
opacity: 1;
max-height: 400px;
}
/*BOOTSTRAP KOMPONENTEN: Accordeon */
.mw-custom-accordion {
border: 1px solid #a2a9b1;
margin-bottom: 15px;
border-radius: 3px;
}
.mw-custom-accordion-header {
background-color: #f8f9fa;
padding: 8px 15px;
cursor: pointer;
font-weight: bold;
}
.mw-custom-accordion-content {
padding: 15px;
display: none;
border-top: 1px solid #a2a9b1;
}
/*BOOTSTRAP KOMPONENTEN: Alert
<noinclude>{{Dokumentation}}</noinclude>
<includeonly>
<div class="mw-custom-alert mw-custom-alert-{{{type|info}}}" style="
padding: 12px;
margin: 10px 0;
border-left: 4px solid;
border-radius: 2px;
">
[[Datei:{{{type|info}}}-icon.svg|20px|left]]
{{{1|}}}
</div>
</includeonly>