diff options
Diffstat (limited to 'skins/Chick.php')
-rw-r--r-- | skins/Chick.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/skins/Chick.php b/skins/Chick.php index cfbdbc7d..a95a72ce 100644 --- a/skins/Chick.php +++ b/skins/Chick.php @@ -18,12 +18,20 @@ require_once( dirname(__FILE__) . '/MonoBook.php' ); * @ingroup Skins */ class SkinChick extends SkinTemplate { - function initPage( &$out ) { + function initPage( OutputPage $out ) { SkinTemplate::initPage( $out ); $this->skinname = 'chick'; $this->stylename = 'chick'; $this->template = 'MonoBookTemplate'; - $this->fixfiles = array( 'IE50', 'IE55', 'IE60' ); + } + + function setupSkinUserCss( OutputPage $out ){ + parent::setupSkinUserCss( $out ); + // Append to the default screen common & print styles... + $out->addStyle( 'chick/main.css', 'screen,handheld' ); + $out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' ); + $out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' ); + $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' ); } } |