Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* === GLOBAL HEADER AREA BURGUNDY === */
/* === Custom Logo for Vector 2022 === */
body {
#p-logo {
     --header-background-color: #800020 !important;
     background-image: url('/resources/assets/transight-logo.jpg');  /* Ensure this path is correct */
     --header-text-color: Black !important;
    background-size: contain;
     background-repeat: no-repeat;
    width: 200px;
    height: 60px;
    margin-left: 20px;
    z-index: 10;
}
}


/* === BURGUNDY BACKGROUND FOR HEADER BAR === */
/* Hide the default MediaWiki logo (text) */
.vector-header,
.vector-header .mw-wiki-logo {
.vector-header-container,
     display: none;
.vector-sticky-header,
.vector-page-toolbar,
.vector-page-toolbar-container {
     background-color: #800020 !important;
    color: white !important;
    border: none !important;
}
}


/* === SEARCH BAR FIX === */
/* === Make entire top header burgundy === */
.vector-search-box {
.vector-header-container {
    background-color: white !important;
    border-radius: 4px;
    padding: 2px;
}
.vector-search-box input {
    color: black !important;
}
.vector-search-box button {
     background-color: #800020 !important;
     background-color: #800020 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
}
/* === TOP TABS (Read, Edit...) === */
.vector-tab,
.vector-tab a {
    background: transparent !important;
    color: white !important;
    font-weight: bold;
}
.vector-tab a:hover {
    border-bottom: 2px solid white !important;
}
/* === HIGHLIGHT SELECTED TAB === */
.vector-tab.selected a {
    border-bottom: 3px solid white !important;
}
}


/* === PERSONAL TOOLS (Editor, User Icon, etc.) === */
/* === Set all page link colors to burgundy === */
.vector-user-menu,
a, a:visited {
.vector-user-menu a {
     color: #800020 !important;
     color: white !important;
}
}


/* === CUSTOM LOGO REPLACEMENT === */
/* === Active link on hover === */
#p-logo {
a:hover {
    background-image: url(/images/Transight_logo.png);  /* <- Update if needed */
     color: #a02c3c !important;
    background-repeat: no-repeat;
    background-size: contain;
    width: 220px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}
 
/* Hide default logo text */
.vector-header .mw-wiki-logo {
     display: none;
}
}

Revision as of 05:43, 23 June 2025

/* === Custom Logo for Vector 2022 === */
#p-logo {
    background-image: url('/resources/assets/transight-logo.jpg');  /* Ensure this path is correct */
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    height: 60px;
    margin-left: 20px;
    z-index: 10;
}

/* Hide the default MediaWiki logo (text) */
.vector-header .mw-wiki-logo {
    display: none;
}

/* === 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;
}

/* === Active link on hover === */
a:hover {
    color: #a02c3c !important;
}