MediaWiki:Common.css: Difference between revisions

no edit summary
(added transparency checkerboard for certain images)
No edit summary
Line 163: Line 163:
   color: black;
   color: black;
}
}
/* Put a chequered background behind images, only visible if they have transparency */
/* Put a chequered background behind images, only visible if they have transparency */
.gallerybox .thumb img,
.gallerybox .thumb img,
.filehistory a img,
.filehistory a img,
#file img {
#file img {
     background: white url("http://huckjones.cz.cc/w/skins/common/images/Checker-16x16.png") repeat;
     background: white url("http://huckjones.tk/w/skins/common/images/Checker-16x16.png") repeat;
}
}
/* But not on articles, user pages, portals or with opt-out. */
/* But not on articles, user pages, portals or with opt-out. */