Jump to content

MediaWiki:Common.css

From Transight Wiki
Revision as of 05:25, 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.
/* Make entire top boundary burgundy */
#mw-page-base,
#mw-head-base,
#mw-head,
#left-navigation,
#right-navigation,
.vector-header-container {
    background-color: #800020 !important;
    color: white !important;
    border: none !important;
}

/* Style the tabs on top (Main Page, Read, etc.) */
.vector-menu-tabs,
.vector-menu-tabs li,
.vector-menu-tabs li a {
    background-color: transparent !important;
    color: white !important;
    font-weight: bold;
    border: none !important;
}

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

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

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

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

/* Top-right user menu fix */
#p-personal {
    padding-top: 10px;
    color: white !important;
}

/* Remove white background for user tools */
#p-personal a {
    color: white !important;
}

/* Optional: Remove empty gap before page title */
#firstHeading {
    margin-top: 1.5em;
}