Removing ugly whitespace around thumbnails on a non-white background.
authorKrinkle <krinkle@users.mediawiki.org>
Sat, 25 Dec 2010 22:57:38 +0000 (22:57 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sat, 25 Dec 2010 22:57:38 +0000 (22:57 +0000)
* (bug 26423) Margin around thumbnails is forced to be white

skins/common/shared.css

index 3430194..a338141 100644 (file)
@@ -128,6 +128,12 @@ input#wpSummary {
        width: 80%;
 }
 
+/**
+ * Thumbnails
+ */
+/* Transparent instead of white thumb-containers (prevent white around thumbs on non-white backgrounds/templates) */
+div.thumb { border-color: transparent; }
+
 /**
  * Image captions
  */
@@ -939,5 +945,3 @@ ol:lang(bn) li {
 .tipsy-inner { padding: 5px 8px 4px 8px; background-color: #d6f3ff; color: black; border: 1px solid #5dc9f4; max-width: 300px; text-align: left; }
 .tipsy-arrow { position: absolute; background: url( 'images/tipsy-arrow.gif' ) no-repeat top left; width: 13px; height: 13px; }
 .tipsy-se .tipsy-arrow { bottom: -2px; right: 10px; background-position: 0% 100%; }
-
-