MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 378:
/* ======================================================= */
/* 2. TOP FLOATING SQUARES (
/* ======================================================= */
Line 403:
.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 {
/* 5% Black Background (Twice as transparent as 0.1) */
background-color: rgba(0, 0, 0, 0.1) !important; ▼
border-radius: 8px !important;
pointer-events: auto !important;
border: none !important;
box-shadow: none !important;
/* Removed Blur as requested */
}
/* --- C. BUTTON 1: SEARCH TRIGGER (
#searchIcon {
position: fixed !important;
top:
left: 10px !important;
right: auto !important;
width: 44px !important; height: 44px !important;▼
/* Size: 40px */
z-index: 1003 !important; /* Highest Z-Index to overlay the bar */▼
display: flex !important; align-items: center; justify-content: center;
margin: 0 !important; padding: 0 !important;
}
/*
#searchIcon .minerva-icon {
font-size:
color: #fff !important;
fill: #fff !important;
Line 437 ⟶ 444:
}
/* --- D. BUTTON 2: TOC (
#cps-open-toc {
display: flex !important;
position: fixed !important;
top:
/* Position: Leave space for the "X" on the right */
left: auto !important; bottom: auto !important;
width: 44px !important; height: 44px !important;▼
/* Size: 40px */
z-index: 1002 !important;
color: #fff !important;
align-items: center; justify-content: center;
}
#cps-open-toc .icon { font-size: 22px !important; }▼
/* Hamburger Icon Size (Increased ~25%) */
/* --- E. BUTTON 3: HOME (Now NEXT TO TOC) --- */▼
#cps-open-toc .icon {
}
.branding-box, .branding-box a {
position: fixed !important;
top:
/* Position: 60px (TOC) + 40px (Width) + 10px (Gap) */
left: auto !important; /* Removed Left positioning */▼
/* Size: 40px */
width: 40px !important; height: 40px !important;
z-index: 1002 !important;
}
/*
.branding-box a {
display: flex !important;
align-items: center; justify-content: center;
width: 100% !important; height: 100% !important;
padding: 0 !important; margin: 0 !important;
Line 472 ⟶ 491:
.branding-box a::before {
content: "⌂";
font-size: 24px !important; /* Matches others */
color: #fff !important;
margin-top: -4px;
display: block !important;
▲ width: auto !important;
}
/* --- F. THE SEARCH INPUT (Overlaid
/* 1. Hide initially */
Line 490 ⟶ 508:
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;
Line 505 ⟶ 522:
body.mw-mf-search-mode .minerva-header .search-box input {
width: 100% !important;
height:
border-radius: 8px !important;
/* Same transparency as buttons */
color: #fff !important;
-webkit-text-fill-color: #fff !important;
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;
Line 529 ⟶ 547:
}
/* 6.
.search-box .search-box-cancel {
display: block !important;
Line 535 ⟶ 553:
top: 0 !important;
right: 0 !important;
width:
height:
line-height:
text-align: center !important;
color: #fff !important;
| |||