MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 764:
margin-top: 0 !important;
padding-top: 0 !important;
}
/* ======================================================= */
/* TRANSPARENT MOBILE BANNER */
/* ======================================================= */
/* 1. Make the outer container transparent */
.header-container.header-chrome {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* 2. Make the inner header box transparent */
.minerva-header {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* 3. Pull content up so it sits BEHIND the transparent header */
/* Without this, you will still see a white gap at the top */
body.skin-minerva {
padding-top: 0 !important;
}
/* 4. Add top padding to the content body so text doesn't start under the buttons */
.mw-body {
margin-top: 0 !important;
padding-top: 60px !important; /* Adjust this value if needed */
}
| |||