Fix galleries for Vector
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 31 Jul 2009 13:35:50 +0000 (13:35 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 31 Jul 2009 13:35:50 +0000 (13:35 +0000)
skins/chick/main.css
skins/common/commonPrint.css
skins/common/oldshared.css
skins/common/shared.css
skins/modern/main.css
skins/monobook/main.css

index dd231b9..0de63f7 100644 (file)
@@ -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;
 }
index ecf146d..2e440a1 100644 (file)
@@ -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;
 }       
 
 /*
index ef47135..b585eb7 100644 (file)
@@ -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;
index 127ab6f..1287c9d 100644 (file)
@@ -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;
+}
+
index dedf1a7..9b16977 100644 (file)
@@ -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;
 }
index ab91779..3ca7140 100644 (file)
@@ -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
+}