MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 145:
body .last-modified-bar__text {
display: none !important;
}
/* ======================================================= */
/* FLOATING (STICKY) HEADER */
/* ======================================================= */
/* Target the specific header container found in your HTML */
.header-container.header-chrome {
/* Make it stick to the top */
position: -webkit-sticky; /* For Safari/iOS */
position: sticky;
top: 0;
/* Layering:
999 is high enough to sit above article text/images,
but lower than your custom TOC overlay (which is 1001) */
z-index: 999;
/* Visuals:
White background is required so text doesn't scroll "behind" it visibly.
Box-shadow adds a subtle line to separate it from the content */
background-color: #ffffff;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
width: 100%;
}
| |||