From: Derk-Jan Hartman Date: Sun, 16 May 2010 15:42:46 +0000 (+0000) Subject: Add styles for printing wikitables. X-Git-Tag: 1.31.0-rc.0~36828 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=6510ce2907560ed9414092a2f9d12cde884a150f;p=lhc%2Fweb%2Fwiklou.git Add styles for printing wikitables. Fixes bug 23507. Follow up of r48842 --- 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; }