From 2b9e9f6a4a4c3bcfe04270194fd4f9a5b9f5a931 Mon Sep 17 00:00:00 2001 From: Kaldari Date: Wed, 9 Jan 2013 17:05:15 -0800 Subject: [PATCH] Overriding Vector's footer margin when in print mode Otherwise the footer is strangely shifted 10 or 11em to the right on printed versions of pages (exact amount depends on media mode) Change-Id: Ia2123b08bdf1910304c1e1436418a3eb75126a07 --- resources/Resources.php | 1 + skins/vector/print.css | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 skins/vector/print.css diff --git a/resources/Resources.php b/resources/Resources.php index 9987ee1dca..8a760ac3d4 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -97,6 +97,7 @@ return array( 'common/commonInterface.css' => array( 'media' => 'screen' ), 'vector/screen.css' => array( 'media' => 'screen' ), 'vector/screen-hd.css' => array( 'media' => 'screen and (min-width: 982px)' ), + 'vector/print.css' => array( 'media' => 'print' ), ), 'scripts' => 'vector/vector.js', 'remoteBasePath' => $GLOBALS['wgStylePath'], diff --git a/skins/vector/print.css b/skins/vector/print.css new file mode 100644 index 0000000000..1bc0146651 --- /dev/null +++ b/skins/vector/print.css @@ -0,0 +1,3 @@ +div#footer { + margin-left: 0; +} -- 2.20.1