MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 153:
/* ======================================================= */
/* 2. TOP FLOATING SQUARES (
/* ======================================================= */
Line 178:
.header-container .navigation-drawer { display: none !important; }
/* --- B. COMMON SQUARE STYLE (0.05 Transparency
.branding-box,
#searchIcon,
#cps-open-toc,
body.mw-mf-search-mode .minerva-header .search-box input {
/* 5% Black Background
background-color: rgba(0, 0, 0, 0.05) !important;
/* Strict Sizing to fix "Bigger Button" bug */
box-sizing: border-box !important;
border-radius: 8px !important;
pointer-events: auto !important;
border: none !important;
box-shadow: none !important;
backdrop-filter: none !important;
padding: 0 !important; /*
}
Line 202 ⟶ 207:
right: auto !important;
z-index: 1003 !important; /*
▲ width: 40px !important; height: 40px !important;
z-index: 1003 !important; /* Highest Z-Index (Above Bar) */▼
display: flex !important; align-items: center; justify-content: center;
margin: 0 !important; padding: 0 !important;▼
}
/*
#searchIcon .minerva-icon {
font-size: 24px !important;
color: #fff !important;
fill: #fff !important;
opacity: 1;
filter: brightness(0) invert(1);
}
/* --- D. BUTTON 2: TOC (
#cps-open-toc {
display: flex !important;
Line 225 ⟶ 227:
top: 10px !important;
/*
right:
left: auto !important; bottom: auto !important;
▲ width: 40px !important; height: 40px !important;
z-index: 1002 !important;
Line 237 ⟶ 236:
}
/*
#cps-open-toc .icon {
font-size: 24px !important;
Line 247 ⟶ 246:
top: 10px !important;
/*
right:
left: auto !important;
width: 40px !important; height: 40px !important;▼
z-index: 1002 !important;
}
Line 266 ⟶ 263:
.branding-box a::before {
content: "⌂";
font-size: 24px !important;
color: #fff !important;
margin-top: -4px;
Line 283 ⟶ 280:
display: block !important;
position: fixed !important;
top: 10px !important;
height: 40px !important;
z-index: 1001 !important;
left: 10px !important; /*
right: 10px !important; /*
/* Reset dimensions for wrapper */
padding: 0 !important; margin: 0 !important;
background: transparent !important;
}
/* 3. Style Input Pill */
body.mw-mf-search-mode .minerva-header .search-box input {
/* Explicitly override the common square style for WIDTH */
width: 100% !important;
height: 40px !important;
border-radius: 8px !important;
box-sizing: border-box !important;
background-color: rgba(0, 0, 0, 0.05) !important;
color: #fff !important;
Line 306 ⟶ 307:
font-size: 16px !important;
/*
padding-left:
padding-right: 50px !important;
}
/* 4. Hide Inner Icon
.minerva-header .search-box .search-box-icon-overlay {
display: none !important;
| |||