Add styles for printing wikitables.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 16 May 2010 15:42:46 +0000 (15:42 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 16 May 2010 15:42:46 +0000 (15:42 +0000)
Fixes bug 23507.
Follow up of r48842

RELEASE-NOTES
skins/common/commonPrint.css

index 69c94e6..19a5119 100644 (file)
@@ -164,6 +164,7 @@ in a negative namespace (which is invalid).
 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added new
   variable {{REVISIONMONTH1}} when unpadded version is needed.
 * Special:Userrights didn't recognize user as changing his/her own rights if user did not capitalize first letter of username.
+* (bug 23507) Add styles for printing wikitables
 
 === API changes in 1.17 ===
 * (bug 22738) Allow filtering by action type on query=logevent
index 7efb32b..9f4c509 100644 (file)
@@ -309,6 +309,24 @@ td.diff-context {
 /*
 ** Table rendering
 */
+table.wikitable {
+    margin: 1em 1em 1em 0;
+    border: 1px #aaa solid;
+    border-collapse: collapse;
+}
+.wikitable th, .wikitable td {
+    border: 1px #aaa solid;
+    padding: 0.2em;
+}
+.wikitable th {
+    text-align: center;
+    background: #F9F9F9;
+    font-weight: bold;
+}
+.wikitable caption {
+    font-weight: bold;
+}
 a.sortheader {
     margin: 0px 0.3em;
 }