You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
630 B
PHTML

<?php
/**
* SkinTemplate class for the Timeless skin
*
* @ingroup Skins
*/
class SkinTimeless extends SkinTemplate {
public $skinname = 'timeless', $stylename = 'Timeless',
$template = 'TimelessTemplate', $useHeadElement = true;
/**
* Add CSS via ResourceLoader
*
* @param $out OutputPage
*/
function setupSkinUserCss( OutputPage $out ) {
parent::setupSkinUserCss( $out );
$out->addMeta( 'viewport', 'width=device-width, initial-scale=1.0' );
$out->addModuleStyles( array(
'mediawiki.skinning.content.externallinks',
'skins.timeless'
) );
$out->addModules( array( 'skins.timeless.js' ) );
}
}