Ardapedia wird von Menschen wie Dir gemacht. Erstelle jetzt Dein kostenloses Benutzerkonto und trage dazu bei, unser Wiki zu verbessern.
Vorlage:Navigationsleiste/styles.css: Unterschied zwischen den Versionen
Aus Ardapedia
Alboin (Diskussion | Beiträge) onlyinclude><includeonly><templatestyles src="Vorlage:Klappleiste/styles.css" /> <div class="klappleiste mw-collapsible {{#if: {{{AUSGEKLAPPT|}}}||mw-collapsed }} {{{class|}}}" {{#if: {{{style|}}}{{{clear|}}}{{{float|}}} | style="{{#if: {{{style|}}} | {{{style|}}}; }} {{#switch: {{{clear|}}} | none = clear:none; | left = clear:left; | right = clear:right; }}<!-- defaults to both by CSS class --> {{#switch: {{{float|}}} Markierung: Manuelle Zurücksetzung |
Alboin (Diskussion | Beiträge) Verbesserungen |
||
| Zeile 1: | Zeile 1: | ||
div. | div.klappleiste { | ||
background-color:#f8f9fa; | |||
border: 1px solid #8e4924; | |||
clear: both; | clear: both; | ||
font-size: 95%; | font-size: 95%; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
margin-top: 1.5em; | margin-top: 1.5em; | ||
padding: 2px; | |||
text-align: center; | |||
} | } | ||
div. | div.klappleiste:after { | ||
clear: both; | clear: both; | ||
content: ""; | content: ""; | ||
display: block; | display: block; | ||
} | } | ||
div. | div.klappleiste-bild { | ||
float: left; | |||
padding: 2px; | |||
} | |||
div.klappleiste-kopf { | |||
background: #ccccff; | |||
color: #202122; | |||
text-align: center; | |||
font-weight: bold; | |||
} | |||
div.klappleiste.mw-collapsed .klappleiste-bild { | |||
display: none; | display: none; | ||
} | } | ||
/* Automatisches Verschmelzen benachbarter | /* Automatisches Verschmelzen benachbarter Klappleisten */ | ||
div. | div.klappleiste + div.klappleiste, | ||
div. | div.klappleiste + link + div.klappleiste, | ||
div. | div.klappleiste + link + link + div.klappleiste, | ||
div. | div.klappleiste + link + style + div.klappleiste, | ||
div. | div.klappleiste + style + div.klappleiste, | ||
div. | div.klappleiste + style + style + div.klappleiste, | ||
div. | div.klappleiste + style + link + div.klappleiste { | ||
margin-top: -1px; | margin-top: -1px; | ||
} | } | ||
Version vom 10. Januar 2026, 15:08 Uhr
div.klappleiste {
background-color:#f8f9fa;
border: 1px solid #8e4924;
clear: both;
font-size: 95%;
box-sizing: border-box;
margin-top: 1.5em;
padding: 2px;
text-align: center;
}
div.klappleiste:after {
clear: both;
content: "";
display: block;
}
div.klappleiste-bild {
float: left;
padding: 2px;
}
div.klappleiste-kopf {
background: #ccccff;
color: #202122;
text-align: center;
font-weight: bold;
}
div.klappleiste.mw-collapsed .klappleiste-bild {
display: none;
}
/* Automatisches Verschmelzen benachbarter Klappleisten */
div.klappleiste + div.klappleiste,
div.klappleiste + link + div.klappleiste,
div.klappleiste + link + link + div.klappleiste,
div.klappleiste + link + style + div.klappleiste,
div.klappleiste + style + div.klappleiste,
div.klappleiste + style + style + div.klappleiste,
div.klappleiste + style + link + div.klappleiste {
margin-top: -1px;
}
