MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 453:
/* ======================================================= */
/* 2. BOTTOM FLOATING SQUARES (
/* ======================================================= */
Line 475:
.header-container .navigation-drawer { display: none !important; }
/* --- B.
.branding-box,
#searchIcon,
#cps-open-toc,
#custom-email-btn, /* The Email Button */
body.mw-mf-search-mode .minerva-header .search-box input {
/* Design: Dark Semi-Transparent Circle */
background-color: rgba(0, 0, 0, 0.2) !important;
opacity: 1 !important;
border: none !important;
box-shadow: none !important;
backdrop-filter: none !important;
pointer-events: auto !important;
/* Dimensions: 44px x 44px */
box-sizing: border-box !important;
width: 44px !important;
Line 496 ⟶ 497:
padding: 0 !important;
margin: 0 !important;
/* Fixed Positioning at Bottom */
position: fixed !important;
top: auto !important;
bottom: 25px !important;
/*
left: 50% !important;
right: auto !important;
/* Flexbox to center the icons inside */
justify-content: center;
z-index: 1002 !important;
}
/* --- C. POSITIONS (Order: Search, Home, ToC, Email) --- */
/* 1. SEARCH (Far Left) */
/* Offset: -150px */
#searchIcon {
margin-left: -150px !important;
z-index: 1003 !important;
}
#searchIcon .minerva-icon {
font-size: 24px !important;
Line 524 ⟶ 530:
}
/*
/* Offset: -86px */
.branding-box {
margin-left: -86px !important;
}
/* Home Icon (⌂) */
.branding-box::after {
content: "⌂";
font-size: 30px !important;
color: #fff !important;
-webkit-text-stroke: 0.5px #fff !important;
margin-top: -6px !important;
line-height: 1 !important;
}
.branding-box a { opacity: 0 !important; position: absolute; inset: 0; }
/* 3. TOC (CENTER ANCHOR) */
/* Offset: -22px (Centered) */
#cps-open-toc {
}
#cps-open-toc .icon {
font-size: 30px !important;
line-height: 1 !important;
margin-bottom: 3px !important;
color: #fff !important;
}
#cps-open-toc .label { display: none !important; }
/*
/* Offset: +42px */
#custom-email-btn {
margin-left: 42px !important;
}
/* Email Icon (Envelope ✉) */
#custom-email-btn::after {
content: "\2709"; /* Unicode for Envelope */
line-height: 1 !important;
}
/* --- D. THE SEARCH INPUT (When Search is Clicked) --- */
/* 1. Hide initially */
Line 608 ⟶ 588:
z-index: 1001 !important;
left: 10px !important;
right: 10px !important;
width: auto !important;
Line 618 ⟶ 598:
/* 3. Style Input Pill */
/* (Note: The input background/shape is handled in Shared Styles above) */
body.mw-mf-search-mode .minerva-header .search-box input {
width: 100% !important;
/* Text Color */
color: #fff !important;
-webkit-text-fill-color: #fff !important;
/* PADDING: 44px (Button) + 11px (Gap) */
Line 635 ⟶ 611:
padding-right: 55px !important;
/* Reset position for the input box specifically */
position: static !important;
margin: 0 !important;
}
Line 683 ⟶ 661:
/* ======================================================= */
/* FORCE STICKY TOC ON IPAD / TABLET (Keep
/* ======================================================= */
@media screen and (min-width: 768px) {
Line 699 ⟶ 677:
left: 50% !important;
right: auto !important;
/* Centered Offset */
margin-left: -22px !important;
background-color: rgba(0, 0, 0, 0.2) !important;
| |||