Difference between revisions of "Wiki/MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→EMERGENCY: disable header overlays & reset height: .vector-header-container::before, .vector-sticky-header::before, #mw-head::before { display: none !important; } .vecto...") |
(Replaced content with "→Safe top-left banner for Vector-2022 (no pseudo-elements): .skin-vector-2022 .vector-header-container { --hf-banner-h: 140px; background-color: var(--hf-bg, #E1DC...") Tag: Replaced |
||
| Line 1: | Line 1: | ||
| − | /* | + | /* Safe top-left banner for Vector-2022 (no pseudo-elements) */ |
| − | + | .skin-vector-2022 .vector-header-container { | |
| − | + | --hf-banner-h: 140px; | |
| − | + | background-color: var(--hf-bg, #E1DCCE); | |
| − | + | background-image: | |
| − | + | url("/wiki/Special:FilePath/BannerImage.png"), | |
| − | + | linear-gradient(to right, rgba(0,0,0,0) 0%, var(--hf-bg, #E1DCCE) 85%); | |
| − | + | background-repeat: no-repeat, no-repeat; | |
| − | .skin-vector-2022 .vector-header-container { | + | background-position: left top, left top; |
| − | + | background-size: auto var(--hf-banner-h), 100% var(--hf-banner-h); | |
| − | + | border-bottom: 2px solid var(--hf-border-strong, #BFB69C); | |
| − | + | min-height: var(--hf-banner-h); | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | --hf- | ||
| − | |||
| − | - | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | background | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | / | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | . | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | background | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | background | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | border- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Revision as of 08:30, 10 October 2025
/* Safe top-left banner for Vector-2022 (no pseudo-elements) */ .skin-vector-2022 .vector-header-container {
--hf-banner-h: 140px;
background-color: var(--hf-bg, #E1DCCE);
background-image:
url("/wiki/Special:FilePath/BannerImage.png"),
linear-gradient(to right, rgba(0,0,0,0) 0%, var(--hf-bg, #E1DCCE) 85%);
background-repeat: no-repeat, no-repeat;
background-position: left top, left top;
background-size: auto var(--hf-banner-h), 100% var(--hf-banner-h);
border-bottom: 2px solid var(--hf-border-strong, #BFB69C);
min-height: var(--hf-banner-h);
}