Merge "Improve "selfmove" message's wording"
[lhc/web/wiklou.git] / resources / src / mediawiki / page / gallery.css
index 31def27..6a331b6 100644 (file)
@@ -28,8 +28,6 @@ li.gallerycaption {
 
 li.gallerybox div.thumb {
        text-align: center;
-       border: 1px solid #c8ccd1;
-       background-color: #f8f9fa;
        margin: 2px;
 }
 
@@ -180,3 +178,11 @@ ul.mw-gallery-slideshow li.gallerycarousel {
 .mw-gallery-slideshow-img-container a {
        display: block;
 }
+
+@media screen {
+       /* Background and border colors are defined separately for print mode */
+       li.gallerybox div.thumb {
+               border: 1px solid #c8ccd1;
+               background-color: #f8f9fa;
+       }
+}