MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 153:
/* ======================================================= */
/* 2. TOP FLOATING BUBBLES (
/* ======================================================= */
/* --- A. HEADER RESET (Make it Invisible) --- */
.header-container.header-chrome {
position: fixed !important;
top: 0 !important; left: 0 !important; right: 0 !important;
height: 60px !important;
z-index: 1000 !important;
Line 167 ⟶ 166:
border: none !important;
box-shadow: none !important;
pointer-events: none !important;
transform: none !important;
Line 174 ⟶ 173:
}
/* Push page content down slightly */
body.skin-minerva { padding-top: 60px !important; }
.mw-body { margin-top: 10px !important; }
Line 181 ⟶ 180:
.header-container .navigation-drawer { display: none !important; }
/* --- B. COMMON BUBBLE STYLE (The 0.1 Transparency) --- */
.branding-box,
#searchIcon,
#cps-open-toc,
body.mw-mf-search-mode .minerva-header .search-box input {
/* VERY Subtle Background (10% Black) */
background-color: rgba(0, 0, 0, 0.6) !important; /* Transparent Black */▼
backdrop-filter: blur(2px) !important; /* Slight blur for readability */
border-radius: 50% !important; /* Perfect Circle */
box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;▼
pointer-events: auto !important; /* Re-enable clicking */
▲
}
Line 197:
.branding-box, .branding-box a {
position: fixed !important;
top: 8px !important;
left: 10px !important;
width: 44px !important; height: 44px !important;
z-index: 1002 !important;
}
/* CENTER FIX: Apply flex to the anchor tag itself */
.branding-box a {
display: flex !important;
align-items: center;
justify-content: center;
width: 100% !important; height: 100% !important;
font-size: 0 !important;
color: transparent !important;
}
.branding-box a::before {
content: "⌂";
font-size:
color: #fff;
margin-top: -3px;
}
Line 213 ⟶ 223:
display: flex !important;
position: fixed !important;
top: 8px !important;
right: 10px !important;
left: auto !important; bottom: auto !important;
width: 44px !important; height: 44px !important;
Line 220 ⟶ 230:
color: #fff !important;
align-items: center; justify-content: center;
text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
#cps-open-toc .icon { font-size:
/* --- E. BUTTON 3: SEARCH TRIGGER (Left of TOC) --- */
#searchIcon {
position: fixed !important;
top: 8px !important;
right: 64px !important; /* 10px
left: auto !important;
width: 44px !important; height: 44px !important;
Line 234 ⟶ 245:
border: none !important; margin: 0 !important; padding: 0 !important;
}
/* COLOR FIX: Force White Icon using Filters */
#searchIcon .minerva-icon {
font-size: 20px !important;
color: #fff !important;
fill: #fff !important;
opacity: 1;
/* This forces black icons to turn white */
filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
Line 249 ⟶ 267:
display: block !important;
position: fixed !important;
top: 8px !important;
height: 44px !important;
z-index: 1001 !important;
/* ALIGNMENT
left: 64px !important;
right: 118px !important;
padding: 0 !important; margin: 0 !important;
Line 265 ⟶ 283:
width: 100% !important;
height: 44px !important;
border-radius: 22px !important;
border: none !important;
/*
background-color: rgba(0, 0, 0, 0.
color: #fff !important;
-webkit-text-fill-color: #fff !important;
Line 277 ⟶ 295:
}
/* 4.
.minerva-header .search-box .search-box-icon-overlay {
display: none !important;
Line 284 ⟶ 302:
/* 5. Placeholder Text */
body.mw-mf-search-mode .minerva-header .search-box input::placeholder {
color: rgba(255, 255, 255, 0.
-webkit-text-fill-color: rgba(255, 255, 255, 0.
}
| |||