Template:Visible anchor/styles.css: Difference between revisions
From The Goon Show Depository
m (1 revision imported) |
en>BrandonXLF (Add @media screen per talk page) |
||
Line 2: | Line 2: | ||
.vanchor > :target ~ .vanchor-text { | .vanchor > :target ~ .vanchor-text { | ||
background-color: #b1d2ff; | 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; | |||
} | |||
} | } |
Revision as of 12:35, 2 August 2024
/* {{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;
}
}