Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 2: Line 2:
body {
body {
     --header-background-color: #800020 !important;
     --header-background-color: #800020 !important;
     --header-text-color: white !important;
     --header-text-color: Black !important;
    --header-border-color: #800020 !important;
}
}



Revision as of 05:40, 23 June 2025

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

/* === BURGUNDY BACKGROUND FOR HEADER BAR === */
.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 FIX === */
.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 (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.) === */
.vector-user-menu,
.vector-user-menu a {
    color: white !important;
}

/* === CUSTOM LOGO REPLACEMENT === */
#p-logo {
    background-image: url(/images/Transight_logo.png);  /* <- Update if needed */
    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;
}