MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 169: | Line 169: | ||
opacity: 0 !important; | opacity: 0 !important; | ||
} | } | ||
/* | /* --- Transight Footer: harden layout + colors --- */ | ||
/* Make sure the footer spans the page and starts on a new line */ | |||
/* | |||
.ts-footer { | .ts-footer { | ||
background: #C0C0C0; | background: #C0C0C0; | ||
color: # | color: #fff; | ||
width: 100% !important; | |||
clear: both !important; | |||
display: block !important; | |||
padding: 50px 24px; | padding: 50px 24px; | ||
box-sizing: border-box; | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; | ||
font-size: | font-size: 15px; | ||
} | } | ||
.ts-footer, .ts-footer * { box-sizing: border-box; } | |||
.ts-footer__container { | .ts-footer__container { max-width: 1200px; width: 100%; margin: 0 auto; } | ||
} | |||
/* | /* Force 4-column row; some skins reset nav/ul to block — override it */ | ||
.ts-footer__sitemap { | .ts-footer__sitemap { | ||
display: flex; | display: flex !important; | ||
flex-wrap: wrap; | flex-wrap: wrap !important; | ||
gap: 40px; | gap: 32px 40px !important; | ||
align-items: flex-start; | align-items: flex-start !important; | ||
justify-content: space-between; | justify-content: space-between !important; | ||
width: 100% !important; | |||
} | } | ||
/* Column base + bullet reset */ | |||
.ts-footer__col { | .ts-footer__col { | ||
list-style: none; | list-style: none !important; | ||
margin: 0; | margin: 0 !important; | ||
padding: 0; | padding: 0 !important; | ||
min-width: 220px; | flex: 1 1 22% !important; /* ~4 columns, will wrap on small screens */ | ||
min-width: 220px !important; | |||
} | } | ||
/* | /* Titles */ | ||
.ts-footer__title { | .ts-footer__title { | ||
font-size: 16px; | font-size: 16px !important; | ||
letter-spacing: .5px; | letter-spacing: .5px !important; | ||
text-transform: uppercase; | text-transform: uppercase !important; | ||
font-weight: 700; | font-weight: 700 !important; | ||
margin: 0 0 | margin: 0 0 12px 0 !important; | ||
color: #ffffff; | color: #ffffff !important; | ||
} | } | ||
/* | /* Items */ | ||
.ts-footer__col li { margin: 0 0 10px 0; } | .ts-footer__col > li { margin: 0 0 10px 0 !important; } | ||
.ts-footer a { | /* Kill burgundy link override inside footer only */ | ||
color: #f1f1f1; | .ts-footer a, | ||
text-decoration: none; | .ts-footer a:link, | ||
font-size: | .ts-footer a:visited { | ||
font-weight: 400; | color: #f1f1f1 !important; | ||
text-decoration: none !important; | |||
font-size: 15px !important; | |||
font-weight: 400 !important; | |||
} | } | ||
.ts-footer a:hover, | |||
.ts-footer a: | .ts-footer a:focus { | ||
color: #ffd166; | color: #ffd166 !important; | ||
text-decoration: underline; | text-decoration: underline !important; | ||
} | } | ||
/* Bottom | /* Bottom strip */ | ||
.ts-footer__bottom { | .ts-footer__bottom { | ||
border-top: 1px solid rgba(255,255,255,.25); | border-top: 1px solid rgba(255,255,255,.25) !important; | ||
margin-top: 40px; | margin-top: 40px !important; | ||
padding-top: 18px; | padding-top: 18px !important; | ||
display: flex; | display: flex !important; | ||
flex-wrap: wrap; | flex-wrap: wrap !important; | ||
gap: 12px | gap: 12px !important; | ||
justify-content: space-between !important; | |||
justify-content: space-between | |||
} | } | ||
.ts-footer__social | .ts-footer__legal, .ts-footer__social { margin: 0 !important; font-size: 14px !important; } | ||
.ts-footer__social a | .ts-footer__social a { margin-right: 14px !important; } | ||
/* Mobile */ | /* Mobile */ | ||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.ts-footer { padding: 36px 16px; font-size: 14px | .ts-footer { padding: 36px 16px !important; font-size: 14px !important; } | ||
.ts-footer__col { flex: 1 1 48% !important; } | |||
.ts-footer__col { | .ts-footer__bottom { flex-direction: column !important; align-items: flex-start !important; } | ||
.ts-footer__bottom { flex-direction: column; align-items: flex-start; } | |||
} | } | ||
Revision as of 07:24, 1 September 2025
html {
scroll-behavior: smooth;
}
/* Hide the appearance landmark menu completely */
nav.vector-appearance-landmark {
display: none !important;
}
/* Hide the Appearance UI (both the sidebar block and the header trigger) */
nav.vector-appearance-landmark,
#vector-appearance,
#vector-appearance-pinned-container,
[id^="vector-appearance"] {
display: none !important;
}
/* Force wide layout */
body.skin-vector-2022 {
max-width: none !important;
}
/* Force icon on menu button using pseudo element */
#vector-main-menu-dropdown-label::before {
content: "☰";
font-size: 30px;
color: white;
position: centre;
top: 10px;
left: 10px;
z-index: 999;
}
/* Force all user links (login, editor, etc.) to white */
.vector-user-links-main a,
.vector-user-links-main span,
.vector-user-links-main .mw-ui-icon
.vector-header-end {
color: white !important;
fill: white !important;
}
body.skin-vector-2022 .vector-sidebar-container {
display: block !important;
}
body.skin-vector-2022 .vector-menu-toggle-button {
display: none;
}
/* Hide broken SVG to avoid overlapping */
#vector-main-menu-dropdown-label svg {
display: none !important;
}
@keyframes scroll-left {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
ul#footer-icons {
display: none !important;
}
/* Wrapper bar background */
.scroll-banner {
background-color: #680022;
overflow: hidden;
width: 100%;
height: 2.5em; /* Adjust height as needed */
display: flex;
align-items: center;
}
/* Scrolling text style */
.scroll-text {
display: inline-block;
white-space: nowrap;
color: white;
font-weight: bold;
font-size: 25px;
font-family: 'Segoe UI', sans-serif;
font-color:#680022;
animation: scroll-left 25s linear infinite;
padding-left: 100vw;
}
/* === 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: #FFFFFF !important;
position: centre;
color: black !important;
border: none !important;
border-radius: 3px;
}
/* === 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: White!important;
fill: 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;
}
/* --- Transight Footer: harden layout + colors --- */
/* Make sure the footer spans the page and starts on a new line */
.ts-footer {
background: #C0C0C0;
color: #fff;
width: 100% !important;
clear: both !important;
display: block !important;
padding: 50px 24px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 15px;
}
.ts-footer, .ts-footer * { box-sizing: border-box; }
.ts-footer__container { max-width: 1200px; width: 100%; margin: 0 auto; }
/* Force 4-column row; some skins reset nav/ul to block — override it */
.ts-footer__sitemap {
display: flex !important;
flex-wrap: wrap !important;
gap: 32px 40px !important;
align-items: flex-start !important;
justify-content: space-between !important;
width: 100% !important;
}
/* Column base + bullet reset */
.ts-footer__col {
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
flex: 1 1 22% !important; /* ~4 columns, will wrap on small screens */
min-width: 220px !important;
}
/* Titles */
.ts-footer__title {
font-size: 16px !important;
letter-spacing: .5px !important;
text-transform: uppercase !important;
font-weight: 700 !important;
margin: 0 0 12px 0 !important;
color: #ffffff !important;
}
/* Items */
.ts-footer__col > li { margin: 0 0 10px 0 !important; }
/* Kill burgundy link override inside footer only */
.ts-footer a,
.ts-footer a:link,
.ts-footer a:visited {
color: #f1f1f1 !important;
text-decoration: none !important;
font-size: 15px !important;
font-weight: 400 !important;
}
.ts-footer a:hover,
.ts-footer a:focus {
color: #ffd166 !important;
text-decoration: underline !important;
}
/* Bottom strip */
.ts-footer__bottom {
border-top: 1px solid rgba(255,255,255,.25) !important;
margin-top: 40px !important;
padding-top: 18px !important;
display: flex !important;
flex-wrap: wrap !important;
gap: 12px !important;
justify-content: space-between !important;
}
.ts-footer__legal, .ts-footer__social { margin: 0 !important; font-size: 14px !important; }
.ts-footer__social a { margin-right: 14px !important; }
/* Mobile */
@media (max-width: 720px) {
.ts-footer { padding: 36px 16px !important; font-size: 14px !important; }
.ts-footer__col { flex: 1 1 48% !important; }
.ts-footer__bottom { flex-direction: column !important; align-items: flex-start !important; }
}