MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 220: Line 220:
}
}
}
}


@media screen {
@media screen {
/* Put a chequered background behind images, only visible if they have transparency,
* except on main, user, and portal namespaces
*/
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(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
}
 
@media screen {
.nochecker .gallerybox .thumb img {
.nochecker .gallerybox .thumb img {
background-image: none;
background-image: none;
}
}
}


.flagicon a > img,
@media (max-width: 640px) {
.flagicon noscript > img {
.flagicon a > img,
max-width: none !important;
.flagicon noscript > img {
max-width: none !important;
}
}
}