MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 378:
/* ======================================================= */
/* 2. TOP FLOATING SQUARES (
/* ======================================================= */
/* --- A. HEADER RESET (
.header-container.header-chrome {
position: fixed !important;
Line 387:
height: 60px !important;
z-index: 1000 !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
pointer-events: none !important;
transform: none !important;
transition: none !important;
Line 398 ⟶ 396:
}
/* Push page content
body.skin-minerva { padding-top: 60px !important; }
.mw-body { margin-top: 10px !important; }
Line 405 ⟶ 403:
.header-container .navigation-drawer { display: none !important; }
/* --- B. COMMON SQUARE STYLE
.branding-box,
#searchIcon,
#cps-open-toc,
body.mw-mf-search-mode .minerva-header .search-box input {
background-color: rgba(0, 0, 0, 0.1) !important;
backdrop-filter: blur(2px) !important;
border-radius: 8px !important;
pointer-events: auto !important;
border: none !important;
Line 429 ⟶ 425:
}
/* FIX
.branding-box a {
display: flex !important;
align-items: center;
justify-content: center; /* Horizontally Center */
height: 100% !important;
margin: 0 !important;
font-size: 0 !important;
color: transparent !important;
}
.branding-box a::before {
content: "⌂";
font-size: 24px !important;
color: #fff !important;
margin-top: -4px;
width: 100% !important; /* Ensure icon takes full width for centering */
}
Line 474 ⟶ 473:
}
/* FIX 2:
#searchIcon .minerva-icon {
font-size:
color: #fff !important;
fill: #fff !important;
opacity: 1;
filter: brightness(0) invert(1);
}
Line 490 ⟶ 489:
}
/* 2. Position
body.mw-mf-search-mode .minerva-header .search-box {
display: block !important;
Line 498 ⟶ 497:
z-index: 1001 !important;
/* FIX 3:
▲ left: 64px !important; /* Clears Home Button (10+44+10) */
/* Force width to stop at the search button */
/* 100vw (Full Screen) - 64px (Left Side) - 118px (Right Side Space) */
width: calc(100vw - 182px) !important;
right: auto !important;
padding: 0 !important; margin: 0 !important;
Line 513 ⟶ 515:
border-radius: 8px !important;
background-color: rgba(0, 0, 0, 0.4) !important;
color: #fff !important;
| |||