MediaWiki:Common.css: Difference between revisions
Apply full-width mystical header background and remove default clouds |
Update header to use bg.png in page-base and ensure solid beige body |
||
| Line 638: | Line 638: | ||
background-color: #e1d5be !important; /* Outer canvas color */ | background-color: #e1d5be !important; /* Outer canvas color */ | ||
background-size: 100% 180px !important; /* Stretch horizontally across the header height */ | background-size: 100% 180px !important; /* Stretch horizontally across the header height */ | ||
} | |||
/* --- 19. Fix Header Banner & Solid Body Canvas --- */ | |||
/* Move the banner image from the body to the dedicated #mw-page-base container. | |||
This explicitly crops the image to the header height (hiding the watermark) | |||
and prevents it from fading or bleeding down behind the main content area. */ | |||
#mw-page-base { | |||
background: url('/resources/assets/bg.png') center center no-repeat !important; | |||
background-size: cover !important; | |||
height: 180px !important; | |||
width: 100% !important; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
z-index: 0; | |||
} | |||
/* Ensure the body is strictly a solid beige color, with NO background image */ | |||
body { | |||
background-image: none !important; | |||
background-color: #e1d5be !important; | |||
} | |||
/* Make sure the content box (#content) has a solid background so it doesn't look faded */ | |||
#content { | |||
background-color: #f1e7d3 !important; | |||
} | } | ||