Zum Inhalt springen

Vorlage:Klappleiste/styles.css: Unterschied zwischen den Versionen

Aus Helmstedt-Wiki
Die Seite wurde neu angelegt: „div.klappleiste { border: 1px solid var(--dewiki-rahmenfarbe1); clear: both; font-size: 95%; box-sizing: border-box; margin-top: 1.5em; padding: 2px; } div.klappleiste:after { clear: both; content: ""; display: block; } div.klappleiste-bild { float: left; padding: 2px; } div.klappleiste-kopf { background: var(--dewiki-hintergrundfarbe5); color: var(--color-base, #202122); text-align: center; font-weight: bold; } div.klappleiste.mw-collapsed…“
 
Die Seite wurde neu angelegt: „div.klappleiste { border: 1px solid var(--dewiki-rahmenfarbe1); clear: both; font-size: 95%; box-sizing: border-box; margin-top: 1.5em; padding: 2px; } div.klappleiste:after { clear: both; content: ""; display: block; } div.klappleiste-bild { float: left; padding: 2px; } div.klappleiste-kopf { background: var(--dewiki-hintergrundfarbe5); color: var(--color-base, #202122); text-align: center; font-weight: bold; } div.klappleiste.mw-collapsed…“
 
(kein Unterschied)

Aktuelle Version vom 8. Juni 2026, 14:38 Uhr

div.klappleiste {
	border: 1px solid var(--dewiki-rahmenfarbe1);
	clear: both;
	font-size: 95%;
	box-sizing: border-box;
	margin-top: 1.5em;
	padding: 2px;
}
div.klappleiste:after {
	clear: both;
	content: "";
	display: block;
}
div.klappleiste-bild {
	float: left;
	padding: 2px;
}
div.klappleiste-kopf {
	background: var(--dewiki-hintergrundfarbe5);
	color: var(--color-base, #202122);
	text-align: center;
	font-weight: bold;
}
div.klappleiste.mw-collapsed .klappleiste-bild {
	display: none;
}

/* Automatisches Verschmelzen benachbarter Klappleisten, Legacy-Parser */
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;
}

/* Automatisches Verschmelzen benachbarter Klappleisten, Parsoid */
div.klappleiste + span + div.klappleiste {
	margin-top: -1px;
}

/* Dunkelmodus */
@media screen {
	html.skin-theme-clientpref-night .klappleiste-bild span[typeof="mw:File"]:not(.skin-invert-image) img {
		background-color: #c8ccd1;
	}
}
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .klappleiste-bild span[typeof="mw:File"]:not(.skin-invert-image) img {
		background-color: #c8ccd1;
	}
}