MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 378:
 
/* ======================================================= */
/* 2. TOP FLOATING SQUARES (Aligned44px &Standard SizedSize) */
/* ======================================================= */
 
Line 385:
position: fixed !important;
top: 0 !important; left: 0 !important; right: 0 !important;
height: 60px64px !important; /* Adjusted for 44px buttons + margins */
z-index: 1000 !important;
background: transparent !important;
Line 397:
 
/* Push content down */
body.skin-minerva { padding-top: 60px64px !important; }
.mw-body { margin-top: 10px !important; }
 
Line 403:
.header-container .navigation-drawer { display: none !important; }
 
/* --- B. COMMON SQUARE STYLE (44px | 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;
width: 40px !important;
height: 40px !important;
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 */
/* STANDARD 44px SIZING */
box-sizing: border-box !important;
width: 40px44px !important;
height: 40px44px !important;
padding: 0 !important; /* Ensure no hidden padding */
margin: 0 !important;
}
Line 432 ⟶ 430:
right: auto !important;
z-index: 1003 !important; /* Highest Z-Index */
display: flex !important; align-items: center; justify-content: center;
}
 
/* Search Icon Size: 24px */
#searchIcon .minerva-icon {
font-size: 24px !important;
Line 442 ⟶ 440:
fill: #fff !important;
opacity: 1;
filter: brightness(0) invert(1);
margin: 0 !important;
}
Line 452 ⟶ 450:
top: 10px !important;
/* POSITIONPosition: 100px Emptyfrom Spaceright edge */
right: 100px !important;
left: auto !important; bottom: auto !important;
Line 461 ⟶ 459:
}
 
/* TOC Icon Size: 24px */
#cps-open-toc .icon { font-size: 24px !important; }
font-size: 24px !important;
 
/* --- E. BUTTON 3: HOME (LEFT OF TOC) --- */
.branding-box, .branding-box a {
position: fixed !important;
top: 10px !important;
/* POSITIONPosition: 100px (Space) + 40px44px (TOC) + 10px (Gap) */
right: 150px154px !important;
left: auto !important;
z-index: 1002 !important;
font-sizedisplay: 24pxflex !important;
align-items: center; justify-content: center;
justify-content: center;
}
 
/* Centering1. theThe Home Icon (Injected into the Box) */
.branding-box a::after {
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: 24px !important;
Line 492 ⟶ 484:
margin-top: -4px;
display: block !important;
line-height: 1 !important;
 
/* 2. The Link (Invisible clickable cover) */
.branding-box a::before {
position: absolute !important;
paddingtop: 0 !important; marginleft: 0 !important;
width: 100% !important; height: 100% !important;
opacity: 0 !important; /* Invisible */
displayz-index: flex2 !important;
}
/* Hide default contents of the link */
.branding-box a * { display: none !important; }
.branding-box a::before { display: none !important; }
 
/* --- F. THE SEARCH INPUT (Overlaid) --- */
 
/* 1. Hide initially */
Line 506 ⟶ 511:
position: fixed !important;
top: 10px !important;
height: 40px44px !important;
z-index: 1001 !important;
Line 512 ⟶ 517:
right: 10px !important; /* Stretches to Right Edge */
/* Reset dimensions for wrapper */
width: auto !important;
padding: 0 !important; margin: 0 !important;
background: transparent !important;
border-radius: 0 !important; /* Wrapper doesn't need radius */
}
 
/* 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: 40px44px !important;
border-radius: 8px !important;
box-sizing: border-box !important;
Line 532 ⟶ 535:
font-size: 16px !important;
/* PADDING: 40px44px (Button) + 15px11px (Gap) */
padding-left: 55px !important;
padding-right: 50px55px !important;
}
 
Line 554 ⟶ 557:
top: 0 !important;
right: 0 !important;
width: 40px44px !important;
height: 40px44px !important;
line-height: 40px44px !important;
text-align: center !important;
color: #fff !important;