further cleanup to skins. instead of referring the user to docs/skin.txt, why not...
[lhc/web/wiklou.git] / skins / Chick.php
1 <?php
2 /**
3 * Chick: A lightweight Monobook skin with no sidebar, the sidebar links are
4 * given at the bottom of the page instead, as in the unstyled MySkin.
5 *
6 * @file
7 * @ingroup Skins
8 */
9
10 if( !defined( 'MEDIAWIKI' ) )
11 die( -1 );
12
13 /** */
14 require_once( dirname(__FILE__) . '/MonoBook.php' );
15
16 /**
17 * Inherit main code from SkinTemplate, set the CSS and template filter.
18 * @ingroup Skins
19 */
20 class SkinChick extends SkinTemplate {
21 function initPage( OutputPage $out ) {
22 SkinTemplate::initPage( $out );
23 $this->skinname = 'chick';
24 $this->stylename = 'chick';
25 $this->template = 'MonoBookTemplate';
26 }
27
28 function setupSkinUserCss( OutputPage $out ){
29 parent::setupSkinUserCss( $out );
30 // Append to the default screen common & print styles...
31 $out->addStyle( 'chick/main.css', 'screen,handheld' );
32 $out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' );
33 $out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' );
34 $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' );
35 }
36 }