Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 31: Line 31:
     border: none !important;
     border: none !important;
     border-radius: 4px;
     border-radius: 4px;
}
/* === Make entire top header burgundy === */
.vector-header-container {
    background-color: #800020 !important;
}
/* === Set all page link colors to burgundy === */
a, a:visited {
    color: #800020 !important;
}
}



Revision as of 06:43, 23 June 2025

/* === GLOBAL HEADER AREA BURGUNDY === */
body {
    --header-background-color: #800020 !important;
    --header-text-color: white !important;
    --header-border-color: #800020 !important;
}

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

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

/* === Set all page link colors to burgundy === */
a, a:visited {
    color: #800020 !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%20logo%20(2).jpg"); /* Fix path and encode spaces */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 200px;
    height: 40px;
}

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