r79010 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79009‎ | r79010 | r79011 >
Date:22:57, 25 December 2010
Author:krinkle
Status:resolved
Tags:
Comment:
Removing ugly whitespace around thumbnails on a non-white background.
* (bug 26423) Margin around thumbnails is forced to be white
Modified paths:
  • /trunk/phase3/skins/common/shared.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/shared.css
@@ -129,6 +129,12 @@
130130 }
131131
132132 /**
 133+ * Thumbnails
 134+ */
 135+/* Transparent instead of white thumb-containers (prevent white around thumbs on non-white backgrounds/templates) */
 136+div.thumb { border-color: transparent; }
 137+
 138+/**
133139 * Image captions
134140 */
135141 body.rtl .thumbcaption { text-align: right; }
@@ -939,5 +945,3 @@
940946 .tipsy-inner { padding: 5px 8px 4px 8px; background-color: #d6f3ff; color: black; border: 1px solid #5dc9f4; max-width: 300px; text-align: left; }
941947 .tipsy-arrow { position: absolute; background: url( 'images/tipsy-arrow.gif' ) no-repeat top left; width: 13px; height: 13px; }
942948 .tipsy-se .tipsy-arrow { bottom: -2px; right: 10px; background-position: 0% 100%; }
943 -
944 -

Follow-up revisions

RevisionCommit summaryAuthorDate
r79011Skins override shared.css, merged fix for bug 26423 in r79010 to skins insteadkrinkle23:10, 25 December 2010
r79086Room around thumbs should be margin, not a transparent border....krinkle20:45, 27 December 2010

Status & tagging log