Common.css: Difference between revisions
From abexilas.skywiki.org
No edit summary Tag: Reverted |
No edit summary Tags: Manual revert Reverted |
||
Line 3: | Line 3: | ||
/* Default to the white image for light theme */ | /* Default to the white image for light theme */ | ||
.theme-sensitive-image { | .theme-sensitive-image { | ||
content: url(https://abexilas.skywiki.org/wiki/File:Number_2.png); | content: url("https://abexilas.skywiki.org/wiki/File:Number_2.png"); | ||
} | } | ||
Line 9: | Line 9: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
.theme-sensitive-image { | .theme-sensitive-image { | ||
content: url(https://abexilas.skywiki.org/wiki/File:1111111111111111111.png); | content: url("https://abexilas.skywiki.org/wiki/File:1111111111111111111.png"); | ||
} | } | ||
} | } |
Revision as of 23:02, 5 December 2024
/* CSS placed here will be applied to all skins */
/* Default to the white image for light theme */
.theme-sensitive-image {
content: url("https://abexilas.skywiki.org/wiki/File:Number_2.png");
}
/* Override to use the darkened image for dark theme */
@media (prefers-color-scheme: dark) {
.theme-sensitive-image {
content: url("https://abexilas.skywiki.org/wiki/File:1111111111111111111.png");
}
}