MediaWiki:Common.css
Appearance
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.
/* CSS placed here will be applied to all skins */ /* Center and style the main page logo */ .mainpage-logo { text-align: center; margin: 20px 0; } .mainpage-logo img { max-width: 100%; height: auto; } /* Responsive tables */ table { width: 100%; overflow-x: auto; display: block; } /* === Force desktop view even on mobile === */ html { zoom: 1 !important; } body, .mw-body { font-size: 16px !important; line-height: 1.6; -webkit-text-size-adjust: none !important; } /* Optional: force fixed width layout for all screens */ #content, #bodyContent, .mw-body, .mw-content-ltr { width: 1024px; margin: 0 auto; padding: 20px; box-sizing: border-box; } /* Prevent responsive collapsing of sidebar/navigation */ #mw-head-base, #mw-panel, #mw-navigation, .vector-menu-portal { display: block !important; } /* Logo scaling */ .mainpage-logo img { width: auto; height: auto; max-width: 100%; }