Jump to content

MediaWiki:Common.css: Difference between revisions

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


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


/* === Make entire top header burgundy === */
/* === SEARCH BAR === */
.vector-header-container {
.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;
     background-color: #800020 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
}
}


/* === Set all page link colors to burgundy === */
/* === TOP TABS === */
a, a:visited {
.vector-tab,
     color: #800020 !important;
.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;
}
}


/* === Active link on hover === */
/* === Hide the default MediaWiki logo === */
a:hover {
.vector-header .mw-logo img {
     color: #a02c3c !important;
     opacity: 0 !important;
}
}

Revision as of 06:39, 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;
}

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