MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 153:
/* ======================================================= */
/* 2.
/* ======================================================= */
/* --- A.
/* We keep the container to push content down, but make it invisible */
.header-container.header-chrome {
position: fixed !important;
top: 0 !important; left: 0 !important; right: 0 !important;
right: 0 !important;▼
height: 50px !important;▼
z-index: 1000 !important;
background: transparent !important;▼
pointer-events: none !important; /* Let clicks pass through empty space */
backdrop-filter: blur(4px); ▼
transform: none !important;
transition: none !important;
Line 179 ⟶ 174:
}
/* Push
body.skin-minerva { padding-top:
.mw-body { margin-top:
/* Hide default elements */
.header-container .navigation-drawer { display: none !important; }
/* --- B.
/* Shared style for Home, Search, TOC, and Input Box */
.branding-box,
#searchIcon,
#cps-open-toc,
background-color: rgba(0, 0, 0, 0.6) !important; /* Transparent Black */
▲ backdrop-filter: blur(4px) !important; /* Frosted Glass */
border-radius: 50% !important; /* Perfect Circle */
pointer-events: auto !important; /* Re-enable clicking */
}
/* --- C. BUTTON 1: HOME (Top Left) --- */
.branding-box, .branding-box a {
position: fixed !important;
top:
width: 44px !important; height: 44px !important;
z-index: 1002 !important;
display: flex !important; align-items: center; justify-content: center;
}
.branding-box a { font-size: 0 !important; color: transparent !important; background: transparent !important; box-shadow: none !important; }
.branding-box a::before {
content: "⌂";
font-size:
}
/* ---
#cps-open-toc {
display: flex !important;
position: fixed !important;
top:
right:
left: auto !important; bottom: auto !important;
width:
z-index: 1002 !important;
▲ background: transparent !important;
color: #fff !important;
align-items: center; justify-content: center;
▲ text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
#cps-open-toc .icon { font-size: 20px !important; }
/* ---
#searchIcon {
position: fixed !important;
top:
right:
left: auto !important;
width:
z-index: 1002 !important;
display: flex !important; align-items: center; justify-content: center;
margin: 0 !important; padding: 0 !important; box-shadow: none !important;▼
}
#searchIcon .minerva-icon {
font-size:
}
/* ---
/* 1. Hide
body:not(.mw-mf-search-mode) .minerva-header .search-box {
display: none !important;
}
/* 2. Position
body.mw-mf-search-mode .minerva-header .search-box {
display: block !important;
position: fixed !important;
top: 8px !important; /*
height:
z-index: 1001 !important;
/*
right:
background: transparent !important;
}
/* 3. Style the
body.mw-mf-search-mode .minerva-header .search-box input {
width: 100% !important;
height:
border-radius:
border: none !important;
/* Visuals (Inherits common bubble style + adjustments) */
background-color: rgba(0, 0, 0, 0.
color: #
-webkit-text-fill-color: #
}
/* 4. REMOVE
.minerva-header .search-box .search-box-icon-overlay
▲.minerva-header .search-box .minerva-icon {
display: none !important;
▲ width: 0 !important;
}
/* 5. Placeholder Text
body.mw-mf-search-mode .minerva-header .search-box input::placeholder {
color: rgba(255, 255, 255, 0.7) !important;
Line 295 ⟶ 288:
}
/* 6. Hide
.search-box .search-box-cancel { display: none !important; }
| |||