Merge "Adjust print styles for thumb"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 31 Jul 2017 22:01:28 +0000 (22:01 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 31 Jul 2017 22:01:28 +0000 (22:01 +0000)
resources/src/mediawiki.legacy/commonPrint.css

index cd1ca31..3cd0807 100644 (file)
@@ -252,33 +252,31 @@ div.floatright 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 {