Adjust print styles for thumb
authorjdlrobson <jdlrobson@gmail.com>
Fri, 21 Jul 2017 21:45:35 +0000 (14:45 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Mon, 31 Jul 2017 21:21:16 +0000 (14:21 -0700)
* Remove all borders and margins
* Gray thumb caption color
* Increasing padding
* Aligning to left
* Explicitly choose font size

Bug: T169823
Change-Id: If32f76f11f260bb33decf1ebe934470acee66ce6

resources/src/mediawiki.legacy/commonPrint.css

index dec0fe8..3e5c24f 100644 (file)
@@ -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 {