MediaWiki:Common.css: Difference between revisions
From Artifacts of Capitalism
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ── Ribbon | /* ── Ribbon behind *just* the header navbar ── */ | ||
.skin-chameleon . | .skin-chameleon .p-header .p-navbar, | ||
.skin-chameleon . | .skin-chameleon .navbar.cmln-navbar { | ||
/* parchment‐beige fallback */ | |||
background-color: #f0ebe3 !important; | background-color: #f0ebe3 !important; | ||
/* ribbon graphic (adjust path if needed) */ | |||
background-image: url("/images/ribbon.png") !important; | background-image: url("/images/ribbon.png") !important; | ||
background-repeat: no-repeat !important; | |||
background-position: center top !important; | background-position: center top !important; | ||
background-size: cover !important; | background-size: cover !important; | ||
min-height: | |||
/* give it enough height for the ribbon image */ | |||
min-height: 60px !important; | |||
} | |||
/* ── Push everything *below* the header ribbon ── */ | |||
.skin-chameleon header.p-header + .o-page { | |||
margin-top: 60px !important; | |||
} | } | ||
Revision as of 16:05, 14 July 2025
/* ── Ribbon behind *just* the header navbar ── */
.skin-chameleon .p-header .p-navbar,
.skin-chameleon .navbar.cmln-navbar {
/* parchment‐beige fallback */
background-color: #f0ebe3 !important;
/* ribbon graphic (adjust path if needed) */
background-image: url("/images/ribbon.png") !important;
background-repeat: no-repeat !important;
background-position: center top !important;
background-size: cover !important;
/* give it enough height for the ribbon image */
min-height: 60px !important;
}
/* ── Push everything *below* the header ribbon ── */
.skin-chameleon header.p-header + .o-page {
margin-top: 60px !important;
}