Vorlage:Titelliste/styles.css

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
.titelliste-zebra > tbody > tr:nth-of-type(odd):not(:last-child) {
	background: #f7f7f7;
}
.titelliste-zebra > tbody > tr:nth-of-type(even):not(:last-child) {
	background: white;
}

/* Nachtmodus */
@media screen {
	html.skin-theme-clientpref-night .titelliste-zebra > tbody > tr:nth-of-type(odd):not(:last-child) {
		background: var(--background-color-base);
	}
	html.skin-theme-clientpref-night .titelliste-zebra > tbody > tr:nth-of-type(even):not(:last-child) {
		background: var(--background-color-neutral-subtle);
	}
}
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .titelliste-zebra > tbody > tr:nth-of-type(odd):not(:last-child) {
		background: var(--background-color-base);
	}
	html.skin-theme-clientpref-os .titelliste-zebra > tbody > tr:nth-of-type(even):not(:last-child) {
		background: var(--background-color-neutral-subtle);
	}
}