X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki%2Fpage%2Fgallery.css;h=6a331b6cd7d97f213bd6c5ba8a16783c68e4f8d0;hb=53a3adaa00108196def942a1148e3967cda9c137;hp=31def27b2a7dd799754260f7bcd3312dcbf58cf8;hpb=d17eeb742a26c2567de96872c0419b39b97cde56;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki/page/gallery.css b/resources/src/mediawiki/page/gallery.css index 31def27b2a..6a331b6cd7 100644 --- a/resources/src/mediawiki/page/gallery.css +++ b/resources/src/mediawiki/page/gallery.css @@ -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; + } +}