Jump to content

MediaWiki:Common.css

From Transight Wiki
Revision as of 05:15, 23 June 2025 by Editor (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.
/* Set top bar background to burgundy */
#mw-head-base,
#mw-head,
#p-personal,
#left-navigation,
#right-navigation {
    background-color: #800020 !important;
    color: white !important;
}

/* Search box styling */
#p-search input,
#p-search button {
    background-color: white !important;
    color: #000 !important;
    border: none !important;
}

/* Logo in header, not sidebar */
#p-logo {
    background-image: url(/images/Transight logo (2).jpg);  /* Update path */
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 60px;
    margin: 0;
}

/* Remove extra borders and burgundy fill on tabs/buttons */
.vector-menu-tabs .selected,
.vector-menu-tabs li a,
.vector-menu .vector-menu-content-list a {
    background-color: transparent !important;
    color: #800020 !important;
    border: none !important;
}

/* Sidebar and toolbars back to default look */
#mw-panel,
#p-tb {
    background-color: #f9f9f9 !important;
    color: #000 !important;
}

/* Remove burgundy box buttons */
.vector-menu .vector-menu-content-list li a {
    background-color: transparent !important;
}

/* Optional: reduce logo block height on pages */
#p-logo {
    position: absolute;
    top: 10px;
    left: 10px;
}