Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 47: Line 47:
}
}


/* === Fix user menu/login text color to BLACK === */
/* LOGIN / USERNAME TEXT */
 
.vector-header .vector-user-links a,
/* Top-right menu trigger (login or username) */
.vector-header .vector-user-links a:visited,
.vector-user-menu .vector-user-menu-trigger > a,
.vector-header .vector-user-links .mw-ui-icon {
.vector-user-menu .vector-user-menu-trigger > button {
    color: black !important;
    fill: black !important;
}
 
/* Dropdown content items */
.vector-user-menu .vector-menu-content a {
     color: black !important;
     color: black !important;
     fill: black !important;
     fill: black !important;
}
}


/* Force icon (user icon, bell, etc.) to black */
/* SVG icons (user icon, bell, etc.) */
.vector-user-menu .mw-ui-icon,
.vector-header .vector-user-links svg,
.vector-user-menu svg,
.vector-header .vector-user-links path {
.vector-user-menu svg path {
     fill: black !important;
     fill: black !important;
     stroke: black !important;
     stroke: black !important;
}
}


/* Reset visited state */
/* DROPDOWN MENU (if shown after login) */
.vector-user-menu a:visited {
.vector-header .vector-user-menu .vector-menu-content,
.vector-header .vector-user-menu .vector-menu-content a {
     color: black !important;
     color: black !important;
}
    fill: black !important;
 
     background-color: white !important;
/* Optional: dropdown background color */
.vector-user-menu .vector-menu-content {
     background-color: #ffffff !important;
}
}



Revision as of 09:16, 23 June 2025

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

/* LOGIN / USERNAME TEXT */
.vector-header .vector-user-links a,
.vector-header .vector-user-links a:visited,
.vector-header .vector-user-links .mw-ui-icon {
    color: black !important;
    fill: black !important;
}

/* SVG icons (user icon, bell, etc.) */
.vector-header .vector-user-links svg,
.vector-header .vector-user-links path {
    fill: black !important;
    stroke: black !important;
}

/* DROPDOWN MENU (if shown after login) */
.vector-header .vector-user-menu .vector-menu-content,
.vector-header .vector-user-menu .vector-menu-content a {
    color: black !important;
    fill: black !important;
    background-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: left;
    width: 400px;
    height: 100px;
}

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