Jump to content

MediaWiki:Common.css

From WikiBachiller
Revision as of 14:26, 23 January 2026 by Badmin (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.
/* CSS placed here will be applied to all skins */

#footer { display: none; }
#mw-panel .body { visibility: hidden; }

/* Hide the sidebar completely */
#mw-panel {
    display: none !important;
}

/* Hide the top toolbox / actions menu */
#p-tb, #p-cactions {
    display: none !important;
}

/* Hide the footer */
#footer {
    display: none !important;
}

/* Optional: hide languages box */
#p-lang {
    display: none !important;
}

/* Hide personal toolbar / search box */
#p-personal, #search {
    display: none !important;
}

/* Hide breadcrumbs or page tools */
#siteSub, #contentSub {
    display: none !important;
}

/* ===== ADDITIONAL HIDE FOR MODERN SKINS ===== */

/* Sidebar (all panels) */
#mw-panel,
.vector-menu-content,
.portal,
#p-navigation,
#p-interaction,
#p-tb,
#p-cactions,
#p-personal,
#p-lang {
    display: none !important;
}

/* Footer */
#footer, .mw-footer {
    display: none !important;
}

/* Breadcrumbs / page tools */
#siteSub,
#contentSub,
.breadcrumb,
.mw-indicators {
    display: none !important;
}

/* Page header / tabs / action menu */
#ca-view, #ca-edit, .vectorMenu, .mw-portlet {
    display: none !important;
}

/* Search box */
#search, #searchInput, .vector-search-box {
    display: none !important;
}

/* Additional skin-specific containers */
#p-views, #p-cactions, .mw-ui-portlet, .vector-menu {
    display: none !important;
}