MediaWiki:Common.css

Revision as of 17:21, 20 January 2026 by Arclight (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.
@media (max-width: 600px) {
    .infobox-crt-model {
        float: none !important;
        width: 100% !important;
        margin: 0 0 1em 0 !important;
        max-width: 100% !important;
    }
    
    .infobox-crt-model tbody,
    .infobox-crt-model tbody tr,
    .infobox-crt-model tbody td,
    .infobox-crt-model tbody th {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .infobox-crt-model tbody td,
    .infobox-crt-model tbody th {
        display: table-cell !important;
        word-wrap: break-word !important;
    }
}



// Load Advanced Search module on the search page
if (mw.config.get('wgPageName') === 'Advanced_Search') {
    mw.loader.load('/wiki/MediaWiki:AdvancedSearch.css?action=raw&ctype=text/css', 'text/css');
    mw.loader.load('/wiki/MediaWiki:AdvancedSearch.js?action=raw&ctype=text/javascript');
}
MediaWiki Appliance - Powered by TurnKey Linux