MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Adding Compass Rose in center styling |
No edit summary |
||
| Line 1: | Line 1: | ||
/* SK | /* 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; | |||
} | |||
. | |||
. | |||
} | |||
} | } | ||
Revision as of 07:40, 21 December 2025
/* 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;
}
}