From: Platonides Date: Fri, 15 Jan 2010 23:35:50 +0000 (+0000) Subject: (bug 5061) Thumbnail styles in main.css and commonprint.css are too imprecise. X-Git-Tag: 1.31.0-rc.0~38248 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=f9c79a84d05996d15c20fc64372b7981e5018cbf;p=lhc%2Fweb%2Fwiklou.git (bug 5061) Thumbnail styles in main.css and commonprint.css are too imprecise. Use the more precise thumbcaption thumbimage and thumbinner classes for image divs on skins chick, simple and commonPrint.css This just replicates the changes of r18303 on monobook. Patch by Derk-Jan Hartman --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bb442bac68..2f015953db 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -712,6 +712,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 19226) First line renders differently on many UI messages. * (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and skin-specific JS pages +* (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes + for image divs. == API changes in 1.16 == diff --git a/skins/chick/main.css b/skins/chick/main.css index 0de63f7ee0..21100aaa20 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -281,7 +281,7 @@ div.thumb { border-style: solid; border-color: White; width: auto; } -div.thumb div { +div.thumbinner { border:1px solid #cccccc; padding: 3px !important; background-color:#f9f9f9; @@ -289,10 +289,10 @@ div.thumb div { text-align: center; overflow: hidden; } -div.thumb div a img { +html .thumbimage { border:1px solid #cccccc; } -div.thumb div div.thumbcaption { +html .thumbcaption { border: none; text-align: left; line-height: 1.4em; diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index 93a37bec9e..0932fcea3c 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -48,17 +48,17 @@ div.thumb { width: auto; overflow: hidden; } -div.thumb div { +div.thumbinner { border:1px solid #cccccc; padding: 3px !important; background-color:#f9f9f9; font-size: 94%; text-align: center; } -div.thumb div a img { +html .thumbimage { border:1px solid #cccccc; } -div.thumb div div.thumbcaption { +html .thumbcaption { border: none; padding: 0.3em 0 0.1em 0; } diff --git a/skins/simple/main.css b/skins/simple/main.css index 5cf595098a..525c147315 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -281,13 +281,13 @@ div.thumb { margin-bottom: 0.5em; width: auto; } -div.thumb div { +div.thumbinner { padding: 3px !important; text-align: center; overflow: hidden; } -div.thumb div div.thumbcaption { +html .thumbcaption { border: none; text-align: left; line-height: 1.4;