MediaWiki:Common.css

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
This is an old revision of this page, as edited by The RPG Gamer (talk | contribs) at 23:21, July 13, 2021. It may differ significantly from the current revision.
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

$wgUseCombinedLoginLink 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;
}

protected function useCombinedLoginLink() {
         $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 = true;
         }