This script/stylesheet is for PERSONAL use only!
You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js or MediaWiki:Fandomdesktop.css), as it would violate Fandom's Terms of Use.
(See the customization policy)
TopGlobalNav is a simple stylesheet that moves the global navigation in FandomDesktop to the top. It also optimizes other parts of the skin to support the global navigation move.
Installation
Changelog
- March 9, 2022
-
- 03:17 - Initial revision
- 03:38 - Fixing local nav z-index, adding extra top margin on edit view
- 03:47 - Actually add margin
- 04:02 - Notification dropdown support, sitenotice support; comments on script
- 4:08 - More specific selectors, add support for
?action=submit
- 4:11 -
!important
so that notifs will work on dropdown.
- March 10, 2022
-
- 1:05 - Add support for the user profile menu
- 9:04 - Remove (weird) left margin on search popup
- March 13, 2022
-
- 2:40 - Fix "Wikis" dropdown on global navigation
- 2:45 - Temp undo (wrong stuff added)
- 2:58 - Actually do it properly
- 3:00 - Fix notification "dropdown indicator" (read: remove it :) )
- March 17, 2022
-
- 04:30 - Fix the "side rail module" from underlapping with the stacked navigation bars
- 04:37 - Make notifications scrollable again
- 04:40 - Specific selectors for the dropdowns (notifications and user profile)
- 04:42 - Make notifications stay near the global navigation, instead of it moving down to make room for the local notifications
- March 27, 2022
-
- 04:52 - Change 🔥 FANDOM to actual logo (using code from the FandomMobile skin implementation), make the global navigation links ("Games, Movies, etc") horizontal
- 06:51 - Increased margin of logo
- 11:53 - Source code reformatting
- April 5, 2022
-
- 00:05 - Temp remove the reversation of the profile menu
- May 18, 2022
-
- 00:25 - Made selectors more specific
- October 18, 2022
-
- 03:24 - Remove unnesessary box shadow on the right side of global nav
To-do
- Done -
Change🔥 FANDOM
to actual logo - Add a option to merge the global + local nav, similar to FandomMobile
Compatibility
This stylesheet is compatible with:
...and scripts that only add to /change some parts of the global navigation. It won't work for scripts/stylesheets that change the location/look of the navigation.
See also
Text above can be found here (edit)