From 6510ce2907560ed9414092a2f9d12cde884a150f Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Sun, 16 May 2010 15:42:46 +0000 Subject: [PATCH] Add styles for printing wikitables. Fixes bug 23507. Follow up of r48842 --- RELEASE-NOTES | 1 + skins/common/commonPrint.css | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 69c94e6764..19a5119807 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index 7efb32b498..9f4c509e65 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -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; } -- 2.20.1