From fa3a12265b26b34b442edd2d5c5e9299dcf15816 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Fri, 21 Jul 2017 14:45:35 -0700 Subject: [PATCH] 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 --- .../src/mediawiki.legacy/commonPrint.css | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) 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 { -- 2.20.1