Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sandbox/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
.testing {
.test-auto {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e9/Puerta_de_Palmas%2C_Badajoz%2C_Espa%C3%B1a%2C_2020-07-22%2C_DD_82.jpg);
--color-l: green;
--color-d: red;
 
color: var(--color-l);
}
}
.testing2 {
 
background-image: url(https://hacksguidewiki.sfo3.digitaloceanspaces.com/hacksguidewiki/Testfile.jpg);
html.skin-theme-clientpref-dark .test-auto {
color: var(--color-d);
}
 
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .test-auto {
color: var(--color-d);
}
}
}

Revision as of 02:24, 2 May 2024

.test-auto {
	--color-l: green;
	--color-d: red;

	color: var(--color-l);
}

html.skin-theme-clientpref-dark .test-auto {
	color: var(--color-d);
}

@media (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .test-auto {
		color: var(--color-d);
	}
}