r19748 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19747‎ | r19748 | r19749 >
Date:00:34, 4 February 2007
Author:simetrical
Status:old
Tags:
Comment:
* Make CSS for galleries work for cached pages
* Fix CSS for non-Monobook/Monobook handheld
Modified paths:
  • /trunk/phase3/skins/common/common.css (modified) (history)
  • /trunk/phase3/skins/monobook/handheld.css (modified) (history)
  • /trunk/phase3/skins/monobook/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/monobook/handheld.css
@@ -1015,10 +1015,14 @@
10161016 border: solid 2px white;
10171017 }
10181018
 1019+/* Keep this temporarily so that cached pages will display right */
10191020 table.gallery td.galleryheader {
1020 - text-align: center;
 1021+ text-align: center;
10211022 font-weight: bold;
10221023 }
 1024+table.gallery caption {
 1025+ font-weight: bold;
 1026+}
10231027
10241028 div.gallerybox {
10251029 margin: 2px;
Index: trunk/phase3/skins/monobook/main.css
@@ -1306,7 +1306,11 @@
13071307 background-color: #f9f9f9;
13081308 border: solid 2px white;
13091309 }
1310 -
 1310+/* Keep this temporarily so that cached pages will display right */
 1311+table.gallery td.galleryheader {
 1312+ text-align: center;
 1313+ font-weight: bold;
 1314+}
13111315 table.gallery caption {
13121316 font-weight: bold;
13131317 }
Index: trunk/phase3/skins/common/common.css
@@ -286,7 +286,7 @@
287287 }
288288
289289 table.gallery tr {
290 - vertical-align:top;
 290+ vertical-align:top;
291291 }
292292
293293 table.gallery td {
@@ -410,10 +410,14 @@
411411 display: none;
412412 }
413413
 414+/* Keep this temporarily so that cached pages will display right */
414415 table.gallery td.galleryheader {
415 - text-align: center;
 416+ text-align: center;
416417 font-weight: bold;
417418 }
 419+table.gallery caption {
 420+ font-weight: bold;
 421+}
418422
419423 div.multipageimagenavbox {
420424 border: solid 1px silver;