MediaWiki:Common.css: Difference between revisions

okay, just had to make sure – now using localized checker image so we're not pulling it from wikimedia.org every time
(testing if this checkerboard still does something; removed comment that doesn't apply to our wiki)
(okay, just had to make sure – now using localized checker image so we're not pulling it from wikimedia.org every time)
Line 7: Line 7:


/* TODO: Localize checkerboard image */
/* TODO: Localize checkerboard image */
@media screen {
@media screen
/* Put a chequered background behind images, only visible if they have transparency,
{
/* Put a checkered background behind images, only visible if they have transparency,
* except on main, user, and portal namespaces
* except on main, user, and portal namespaces
    * NOTE: Somehow this checkerboard doesn't seem to appear on our custom namespaces;
    * that's good, but I don't know why it doesn't -Iritscen
*/
*/
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img
background: #fff url(//wiki.oni2.net/w/images/8/84/Checkmark_16px_blue.png) repeat;
    {
background:#fff url(//wiki.oni2.net/w/images/5/5d/Checker-16x16.png) repeat;
}
}
/* Make the list of references smaller */
/* Make the list of references smaller */
.references {
.references
font-size: 90%;
    {
font-size:90%;
}
}
}
}