Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 1.01 KB

LocalSettings.md

File metadata and controls

30 lines (28 loc) · 1.01 KB

Code to "LocalSettings.php" for using the Stragula flavour to the MediaWiki Chameleon skin

# Chameleon
// Composer
$egChameleonLayoutFile = __DIR__ . '/skins/Stragula/stragula.xml';
$egChameleonExternalStyleModules = [
	__DIR__ . '/skins/Stragula/bootswatch.less' => $wgScriptPath,
	__DIR__ . '/skins/Stragula/variables.less' => $wgScriptPath,
	__DIR__ . '/skins/Stragula/stragula.less' => $wgScriptPath,
	__DIR__ . '/skins/Stragula/smworg.less' => $wgScriptPath
	];
$egChameleonExternalLessVariables = [
	'font-size-base' => '17px',
	'font-size-large' => '19px',
	'font-size-small' => '15px',
	'font-size-h1' => '28px',
	'font-size-h2' => '24px',
	'font-size-h3' => '20px',
	'line-height-base' => '1.5', /* 24 : 16 = */
	'navbar-height' => '80px',
	'navbar-margin-bottom' => '10px',
	'navbar-default-bg' => 'rgba( 94, 157, 200, 1 )',
	'navbar-default-border' => 'rgba( 94, 157, 200, 1 )',
	'nav-tabs-active-link-hover-color' => 'rgba( 255, 255, 255, 1 )',
	];

## Default skin (optional)
$wgDefaultSkin = 'chameleon';