Jump to content

MediaWiki:Common.css

From Transight Wiki
Revision as of 07:26, 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.
/* === GLOBAL HEADER AREA BURGUNDY === */
body {
    --header-background-color: #680022 !important;
    --header-text-color: white !important;
}

/* === HEADER SECTIONS === */
.vector-header,
.vector-header-container,
.vector-sticky-header {
    background-color: #680022 !important;
    color: white !important;
    border: none !important;
}

.vector-search-box input {
    color: black !important;
}
.vector-search-box button {
    background-color: #680022 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
}
/* === Make entire top header burgundy === */
.vector-header-container {
    background-color: #680022 !important;
}

/* === Set all page link colors to burgundy === */
a, a:visited {
    color: #680022 !important;
}

/* === TOP TABS === */
.vector-tab,
.vector-tab a {
    background: transparent !important;
    color: white !important;
    font-weight: bold;
}
.vector-tab a:hover {
    border-bottom: 2px solid white !important;
}
.vector-tab.selected a {
    border-bottom: 3px solid white !important;
}

/* === USER MENU === */
.vector-user-menu,
.vector-user-menu a {
    color: white !important;
}

/* === CUSTOM LOGO (for Vector-2022) === */
.vector-header .mw-logo {
    background-image: url("/resources/assets/TRANSIGHT_NEW.jpg"); /* Fix path and encode spaces */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 500px;
    height: 100px;
}

/* === Hide the default MediaWiki logo === */
.vector-header .mw-logo img {
    opacity: 0 !important;
}