Actions

MediaWiki

Common.css: Difference between revisions

Frankly (talk | contribs)
No edit summary
Tags: Manual revert Reverted
Frankly (talk | contribs)
mNo edit summary
Tag: 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/Special:Redirect/file/Number_2.png");
}
}


/* Override to use the darkened image for dark theme */
/* Use the darkened image for dark theme */
@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/Special:Redirect/file/1111111111111111111.png");
     }
     }
}
}