Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 18:27, 4 August 2026 by Admin (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 */
/* Hide Contents panel */
.vector-toc,
.vector-sticky-toc,
#vector-toc,
#mw-panel-toc,
#toc {
    display: none !important;
}

/* Always expand left sidebar */
.vector-pinned-container,
.vector-main-menu-container {
    display: block !important;
    visibility: visible !important;
}

.vector-main-menu-landmark {
    transform: none !important;
}

/* Remove collapse button */
.vector-main-menu-action {
    display: none !important;
}

/* Sidebar width */
.vector-main-menu {
    width: 270px !important;
}

/* Show logo larger */
.mw-logo {
    max-width: 180px !important;
    margin: 15px auto;
}

.vector-header-container {
    border-bottom: 1px solid #e5e5e5;
}

/* Modern sidebar */
.vector-main-menu {
    background: #ffffff;
    border-right: 1px solid #ececec;
    box-shadow: 4px 0 15px rgba(0,0,0,.05);
}

/* Sidebar links */
.vector-main-menu .vector-menu-content a {
    border-radius: 8px;
    margin: 4px 8px;
    transition: .2s;
}

.vector-main-menu .vector-menu-content a:hover {
    background: #005fd4;
    color: white !important;
}

/* Remove page Contents heading */
.mw-table-of-contents-container {
    display: none !important;
}