Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 07:40, 21 December 2025 by SunKeeper (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* SK NavCell floating gamepad on mobile */
@media screen and (max-width: 759px) {

  /* keep the pad above Citizen UI and above the footer */
  body.sk-navpad-on .navcell-ui {
    position: fixed !important;

    /* lift it above phone browser bars */
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 72px) !important;
    transform: translateX(-50%) !important;

    z-index: 2147483647 !important;

    margin: 0 !important;

    background: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  }

  /* stop page content from hiding behind the fixed pad */
  body.sk-navpad-on .navcell {
    padding-bottom: 220px !important;
  }

  /* optional hide mode */
  body.sk-navpad-off .navcell-ui {
    display: none !important;
  }
}