Template:Visible anchor/styles.css

From Objectshowpedia
Revision as of 11:35, 2 August 2024 by wikipedia>BrandonXLF (Add @media screen per talk page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-template}} */
.vanchor > :target ~ .vanchor-text {
	background-color: #b1d2ff;
}

@media screen {
	html.skin-theme-clientpref-night .vanchor > :target ~ .vanchor-text {
	    background-color: #0f4dc9;
	}
}

@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .vanchor > :target ~ .vanchor-text {
        background-color: #0f4dc9;
    }
}