FANDOM


This script is for PERSONAL use only!

You are free to install this script for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:Common.js or MediaWiki:Wikia.js), as it would violate FANDOM's Terms of Use.
(See the customization policy)

DarkScrollingGlobalNav inverses the global navigation bar's colour (making it dark and transparent) while scrolling the page and causes the bar to be always shown, similar to the old global navigation bar's behaviour.

Usage

Add the following line to your global.css page (for personal use on all wikis). It must be at the very top of the page (with any other @import rules you may have) to work.

@import url('//dev.wikia.com/load.php?mode=articles&articles=u:dev:MediaWiki:DarkScrollingGlobalNav.css&only=styles');

You can also copy the contents of the MediaWiki:DarkScrollingGlobalNav.css page to your CSS page, if you prefer.

See also

  • DarkGlobalNav - always use the inverse global navigation bar styling
  • BlackGlobalNavigation - gives a darker neon blue theme to the global navigation
  • Katsuragi - gives a dark purple-grey theme to the global navigation