Jump to content

MediaWiki:Common.css

From Transight Wiki
Revision as of 05:23, 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.
/* Extend topmost boundary (entire header area) to full burgundy */
#mw-page-base {
    background-color: #800020 !important;
}

#mw-head-base,
#mw-head,
#left-navigation,
#right-navigation,
.vector-menu-tabs,
#p-personal {
    background-color: transparent !important;
    color: white !important;
}

/* Tabs over transparent background */
.vector-menu-tabs li a {
    background-color: transparent !important;
    color: white !important;
    font-weight: bold;
}

/* Selected tab with underline */
.vector-menu-tabs .selected a {
    border-bottom: 3px solid white !important;
}

/* Logo styling */
#p-logo {
    background-image: url(/images/Transight_logo.jpg); /* Replace with actual path */
    background-size: contain;
    background-repeat: no-repeat;
    width: 220px;
    height: 60px;
    position: absolute;
    top: 10px;
    left: 0;
    margin: 0;
    z-index: 10;
}

/* Search box styling */
#p-search input {
    background-color: white !important;
    color: black !important;
    border: none !important;
    border-radius: 4px;
    padding: 4px 8px;
}

#p-search button {
    background-color: white !important;
    color: #800020 !important;
    border: none !important;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Align login buttons */
#p-personal {
    padding-top: 15px;
}