MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
Line 153:
/* ======================================================= */
/* 2. TOP FLOATING SQUARES (
/* ======================================================= */
Line 178:
.header-container .navigation-drawer { display: none !important; }
/* --- B. COMMON SQUARE STYLE (0.
.branding-box,
#searchIcon,
#cps-open-toc,
body.mw-mf-search-mode .minerva-header .search-box input {
/*
background-color: rgba(0, 0, 0, 0.
/*
border-radius: 8px !important;▼
pointer-events: auto !important;▼
border: none !important;
box-shadow: none !important;
backdrop-filter: none !important;
padding: 0 !important; /* Ensure no hidden padding */▼
▲ border-radius: 8px !important;
▲ pointer-events: auto !important;
/* STANDARD 44px SIZING */
margin: 0 !important;
}
Line 203 ⟶ 208:
#searchIcon {
position: fixed !important;
▲ top: 10px !important;
/* ALIGNMENT: 8px Top */
left: 10px !important;
right: auto !important;
min-height: 0 !important;
max-width: 44px !important;
max-height: 44px !important;
z-index: 1003 !important;
display: flex !important; align-items: center; justify-content: center;
}
/* Search Icon
#searchIcon .minerva-icon {
font-size: 24px !important;
color: #fff !important;
fill: #fff !important;
opacity: 1 !important;
filter: brightness(0) invert(1);
margin: 0 !important;
}
Line 225 ⟶ 238:
display: flex !important;
position: fixed !important;
top:
/*
right: 100px !important;
left: auto !important; bottom: auto !important;
Line 236 ⟶ 249:
}
/* TOC Icon
#cps-open-toc .icon { font-size: 24px !important; }
▲ font-size: 24px !important;
}▼
/* --- E. BUTTON 3: HOME (LEFT OF TOC) --- */
.branding-box
position: fixed !important;
top:
/*
right:
left: auto !important;
z-index: 1002 !important;
display: flex !important;
justify-content: center;
}
/*
.branding-box
▲ display: flex !important;
▲ align-items: center; justify-content: center;
▲ width: 100% !important; height: 100% !important;
▲ padding: 0 !important; margin: 0 !important;
font-size: 0 !important; color: transparent !important; ▼
.branding-box a::before {▼
content: "⌂";
font-size:
color: #fff !important;
-webkit-text-stroke: 1px #fff !important;
margin-top: -
display: block !important;
line-height: 1 !important;
}
/*
position: absolute !important;
width: 100% !important; height: 100% !important;
opacity: 0 !important;
z-index: 2 !important;
▲}
.branding-box a * { display: none !important; }
.branding-box a::before { display: none !important; }
/* --- F. THE SEARCH INPUT --- */
/* 1. Hide initially */
Line 280 ⟶ 300:
display: block !important;
position: fixed !important;
top:
height:
z-index: 1001 !important;
left: 10px !important;
right: 10px !important;
width: auto !important;
padding: 0 !important; margin: 0 !important;
background: transparent !important;
border-radius: 0 !important;
}
/* 3. Style Input Pill */
body.mw-mf-search-mode .minerva-header .search-box input {
width: 100% !important;
height:
border-radius: 8px !important;
box-sizing: border-box !important;
/* Background matches buttons */
background-color: rgba(0, 0, 0, 0.
color: #fff !important;
-webkit-text-fill-color: #fff !important;
font-size: 16px !important;
/* PADDING:
padding-left: 55px !important;
padding-right:
margin: 0 !important;
}
Line 323 ⟶ 345:
}
/* 6. Cancel "X" Button
.search-box .search-box-cancel {
display: block !important;
Line 329 ⟶ 351:
top: 0 !important;
right: 0 !important;
width:
height:
line-height:
text-align: center !important;
color: #fff !important;
| |||