MediaWiki:Common.css: Difference between revisions
added mobile support |
made sidebar navigation sticky while scrolling |
||
| Line 847: | Line 847: | ||
} | } | ||
/* Sidebar: | /* Sidebar: fixed to the viewport so it stays visible while the page | ||
content scrolls, instead of scrolling away with it. */ | |||
#mw-panel { | #mw-panel { | ||
position: | position: fixed !important; | ||
top: 0 !important; | top: 0 !important; | ||
left: 0 !important; | left: 0 !important; | ||
width: 165px !important; | width: 165px !important; | ||
height: 100vh !important; | |||
overflow-y: auto !important; | |||
padding-top: 0 !important; | padding-top: 0 !important; | ||
z-index: 10 !important; | z-index: 10 !important; | ||