MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Full top bar to Burgundy (#800020) */
body {
--theme-header-background-color: #800020 !important;
--theme-header-color: white !important;
}
/* Make background of top bar burgundy */
.vector-header,
.vector-header-container,
.vector-header-start,
.vector-header-end {
background-color: #800020 !important;
color: white !important;
}
/* Top tab styles (Main Page, Read, etc.) */
.vector-menu-tabs,
.vector-menu-tabs li,
.vector-menu-tabs li a {
background-color: transparent !important;
color: white !important;
font-weight: bold;
border: none !important;
}
/* Highlight selected tab with underline */
.vector-menu-tabs .selected a {
border-bottom: 2px solid white !important;
}
/* Logo placement: use your logo path */
#p-logo {
background-image: url(/images/Transight_logo.png); /* Adjust this if needed */
background-size: contain;
background-repeat: no-repeat;
width: 220px;
height: 60px;
position: absolute;
top: 5px;
left: 0;
z-index: 10;
}
/* Fix search bar styles */
#p-search input {
background-color: white !important;
color: black !important;
border-radius: 4px;
border: none;
padding: 4px 8px;
}
#p-search button {
background-color: white !important;
color: #800020 !important;
border: none !important;
font-weight: bold;
padding: 4px 8px;
border-radius: 4px;
}
/* Personal links (top-right corner) */
#p-personal a {
color: white !important;
}
/* Prevent white gaps */
#mw-page-base,
#mw-head-base {
background-color: #800020 !important;
}