From: jdlrobson Date: Fri, 21 Jul 2017 21:45:35 +0000 (-0700) Subject: Adjust print styles for thumb X-Git-Tag: 1.31.0-rc.0~2525^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22upgrade%22%2C%22reinstall=non%22%29%20.%20%22?a=commitdiff_plain;h=fa3a12265b26b34b442edd2d5c5e9299dcf15816;p=lhc%2Fweb%2Fwiklou.git Adjust print styles for thumb * Remove all borders and margins * Gray thumb caption color * Increasing padding * Aligning to left * Explicitly choose font size Bug: T169823 Change-Id: If32f76f11f260bb33decf1ebe934470acee66ce6 --- diff --git a/resources/src/mediawiki.legacy/commonPrint.css b/resources/src/mediawiki.legacy/commonPrint.css index dec0fe8501..3e5c24fb23 100644 --- a/resources/src/mediawiki.legacy/commonPrint.css +++ b/resources/src/mediawiki.legacy/commonPrint.css @@ -231,33 +231,31 @@ div.floatleft p { */ div.thumb { background-color: transparent; - border: 0; width: auto; - margin-top: 0.5em; - margin-bottom: 0.8em; +} + +div.thumb a { + border-bottom: 0; } div.thumbinner { background-color: #fff; - border: 1pt solid #ccc; - padding: 3px; - font-size: 94%; + border: 0; + border-radius: 2px; + padding: 5px; + font-size: 10pt; + color: #666; text-align: center; /* new block formatting context, * to clear background from floating content */ overflow: hidden; -} - -html .thumbimage { - border: 1pt solid #ccc; + min-width: 100px; } html .thumbcaption { - border: 0; text-align: left; line-height: 1.4; padding: 3px; - font-size: 94%; } img.thumbborder {