MediaWiki:Mobile.css: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 161: | Line 161: | ||
width: 1200px !important; | width: 1200px !important; | ||
justify-content: space-between !important; | justify-content: space-between !important; | ||
} | |||
/* FORCE FLEXBOX FOR ALL VIEWPORTS */ | |||
#mw-content-block, #cosmos-content, .mw-body { | |||
display: flex !important; | |||
flex-direction: row !important; /* Forces sidebar side-by-side */ | |||
flex-wrap: nowrap !important; | |||
width: 1200px !important; | |||
margin: 0 auto !important; | |||
} | |||
/* Ensure the Rail (Sidebar) isn't hidden by MobileFrontend */ | |||
#cosmos-right-rail, .cosmos-right-rail, .minerva-sidebar { | |||
display: block !important; | |||
visibility: visible !important; | |||
width: 300px !important; | |||
min-width: 300px !important; | |||
opacity: 1 !important; | |||
} | |||
/* Fix the main content width so it doesn't squash the sidebar */ | |||
#cosmos-content-main, #bodyContent { | |||
width: 850px !important; | |||
flex: 0 0 850px !important; | |||
} | } | ||