From 0eac20fc6d55ab7b55047def162badabc335c9b7 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 31 Jul 2009 13:35:50 +0000 Subject: [PATCH] Fix galleries for Vector --- skins/chick/main.css | 30 ------------------------- skins/common/commonPrint.css | 27 ++++------------------ skins/common/oldshared.css | 41 +--------------------------------- skins/common/shared.css | 38 +++++++++++++++++++++++++++++++ skins/modern/main.css | 41 ---------------------------------- skins/monobook/main.css | 43 +----------------------------------- 6 files changed, 44 insertions(+), 176 deletions(-) diff --git a/skins/chick/main.css b/skins/chick/main.css index dd231b9b9b..0de63f7ee0 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -382,40 +382,10 @@ span.updatedmarker { background-color:#00FF00; } -table.gallery { - border: 1px solid #cccccc; - margin: 2px; - padding: 2px; - background-color:#ffffff; -} - -table.gallery tr { - vertical-align:top; -} - -table.gallery td { - vertical-align:top; - background-color:#f9f9f9; - border: solid 2px white; -} - div.gallerybox { - margin: 2px; width: 150px; } -div.gallerybox div.thumb { - text-align: center; - border: 1px solid #cccccc; - margin: 2px; -} - -div.gallerytext { - overflow: hidden; - font-size: 94%; - padding: 2px 4px; -} - #xjump-to-nav { display: none; } diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index ecf146deef..2e440a1d49 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -211,33 +211,14 @@ span.texhtml { font-family: serif; } #siteNotice { display: none; } -table.gallery { - border: 1px solid #cccccc; - margin: 2px; - padding: 2px; - background-color:#ffffff; -} - -table.gallery tr { - vertical-align:top; -} - div.gallerybox { - border: 1px solid #cccccc; - margin: 2px; - background-color:#f9f9f9; - width: 150px; + border: 1px solid #cccccc; + background-color:#f9f9f9; + width: 150px; } -div.gallerybox div.thumb { - text-align: center; - border: 1px solid #cccccc; - margin: 2px; -} - div.gallerytext { - font-size: 94%; - padding: 2px 4px; + overflow: visible; } /* diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index ef47135107..b585eb7105 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -217,38 +217,8 @@ span.updatedmarker { background-color:#00FF00; } -table.gallery { - border: 1px solid #cccccc; - margin: 2px; - padding: 2px; - background-color:#ffffff; -} - -table.gallery tr { - vertical-align:top; -} - -table.gallery td { - vertical-align:top; - background-color:#f9f9f9; - border: solid 2px white; -} - div.gallerybox { - margin: 2px; - width: 150px; -} - -div.gallerybox div.thumb { - text-align: center; - border: 1px solid #cccccc; - margin: 2px; -} - -div.gallerytext { - overflow: hidden; - font-size: 94%; - padding: 2px 4px; + width: 150px; } span.comment { @@ -344,15 +314,6 @@ table.collapsed tr.collapsable { display: none; } -/* Keep this temporarily so that cached pages will display right */ -table.gallery td.galleryheader { - text-align: center; - font-weight: bold; -} -table.gallery caption { - font-weight: bold; -} - div.multipageimagenavbox { border: solid 1px silver; padding: 4px; diff --git a/skins/common/shared.css b/skins/common/shared.css index 127ab6fd62..1287c9d5ad 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -710,3 +710,41 @@ table.mw_metadata th { table.mw_metadata td { background-color: #fcfcfc; } + +/* Galleries */ +table.gallery { + border: 1px solid #ccc; + margin: 2px; + padding: 2px; + background-color: white; +} + +table.gallery tr { + vertical-align: top; +} + +table.gallery td { + vertical-align: top; + background-color: #f9f9f9; + border: solid 2px white; +} +table.gallery caption { + font-weight: bold; +} + +div.gallerybox { + margin: 2px; +} + +div.gallerybox div.thumb { + text-align: center; + border: 1px solid #ccc; + margin: 2px; +} + +div.gallerytext { + overflow: hidden; + font-size: 94%; + padding: 2px 4px; +} + diff --git a/skins/modern/main.css b/skins/modern/main.css index dedf1a7503..9b16977c20 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -642,47 +642,6 @@ span.updatedmarker { background-color: #0f0; } -table.gallery { - border: 1px solid #ccc; - margin: 2px; - padding: 2px; - background-color: white; -} - -table.gallery tr { - vertical-align: top; -} - -table.gallery td { - vertical-align: top; - background-color: #f9f9f9; - border: solid 2px white; -} -/* Keep this temporarily so that cached pages will display right */ -table.gallery td.galleryheader { - text-align: center; - font-weight: bold; -} -table.gallery caption { - font-weight: bold; -} - -div.gallerybox { - margin: 2px; -} - -div.gallerybox div.thumb { - text-align: center; - border: 1px solid #ccc; - margin: 2px; -} - -div.gallerytext { - overflow: hidden; - font-size: 94%; - padding: 2px 4px; -} - span.comment { font-style: italic; } diff --git a/skins/monobook/main.css b/skins/monobook/main.css index ab91779f1a..3ca714031e 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1135,47 +1135,6 @@ span.updatedmarker { background-color: #0f0; } -table.gallery { - border: 1px solid #ccc; - margin: 2px; - padding: 2px; - background-color: white; -} - -table.gallery tr { - vertical-align: top; -} - -table.gallery td { - vertical-align: top; - background-color: #f9f9f9; - border: solid 2px white; -} -/* Keep this temporarily so that cached pages will display right */ -table.gallery td.galleryheader { - text-align: center; - font-weight: bold; -} -table.gallery caption { - font-weight: bold; -} - -div.gallerybox { - margin: 2px; -} - -div.gallerybox div.thumb { - text-align: center; - border: 1px solid #ccc; - margin: 2px; -} - -div.gallerytext { - overflow: hidden; - font-size: 94%; - padding: 2px 4px; -} - span.comment { font-style: italic; } @@ -1354,4 +1313,4 @@ div.mw-lag-warn-high { /* Sometimes people don't want personal tools to be lowercase! */ .no-text-transform { text-transform: none; -} \ No newline at end of file +} -- 2.20.1