X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fsrc%2Fmediawiki%2Fpage%2Fgallery.css;h=6a331b6cd7d97f213bd6c5ba8a16783c68e4f8d0;hb=24ebca2251f94a20acee53e583d65aa7fac2c15d;hp=31def27b2a7dd799754260f7bcd3312dcbf58cf8;hpb=0ab1808578a42cb7d26cf0350a12443663fa6fc4;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; + } +}