MediaWiki:Common.css: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


UseCombinedLoginLink true
$UseCombinedLoginLink true




Line 19: Line 19:
body {
body {
font-family: 'Verdana', sans-serif;
font-family: 'Verdana', sans-serif;
}


{
$services = MediaWikiServices::getInstance();
$authManager = $services->getAuthManager();
$useCombinedLoginLink = $this->getConfig()->get( 'UseCombinedLoginLink' );
if ( !$authManager->canCreateAccounts() || !$authManager->canAuthenticateNow() ) {
// don't show combined login/signup link if one of those is actually not available
$useCombinedLoginLink = false;
}

Revision as of 23:25, July 13, 2021

/* CSS placed here will be applied to all skins */

$UseCombinedLoginLink true


$wgDefaultSkin MonoBook

/* Changes the default font used for MediaWiki to Verdana (does not include headings or monospaced text): */
body {
  font-family: "Verdana", sans-serif;
}

/* Changes the default font used for MediaWiki headings to Verdana: */
#content h1, 
#content h2 {
  font-family: "Verdana", sans serif;
}

body {
    font-family: 'Verdana', sans-serif;