MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 378:
/* ======================================================= */
/* 2. TOP FLOATING SQUARES (
/* ======================================================= */
Line 396:
}
/* Push
body.skin-minerva { padding-top: 60px !important; }
.mw-body { margin-top: 10px !important; }
Line 403:
.header-container .navigation-drawer { display: none !important; }
/* --- B. COMMON SQUARE STYLE (0.1 Transparency) --- */
.branding-box,
#searchIcon,
Line 416:
}
/* --- C. BUTTON 1:
#searchIcon {▼
.branding-box, .branding-box a {▼
position: fixed !important;
top: 8px !important;
left: 10px !important; /* MOVED TO LEFT */
right: auto !important;▼
width: 44px !important; height: 44px !important;
z-index:
display: flex !important; align-items: center; justify-content: center;▼
margin: 0 !important; padding: 0 !important;▼
}
/* Tiny Magnifying Glass */
#searchIcon .minerva-icon {▼
.branding-box a { ▼
color: #fff !important;▼
align-items: center; ▼
fill: #fff !important;▼
padding: 0 !important; /* Kill inherited padding */▼
font-size: 0 !important; ▼
color: transparent !important; ▼
}▼
.branding-box a::before {▼
content: "⌂"; ▼
margin-top: -4px;▼
display: block !important;▼
}
/* --- D. BUTTON 2: TOC (
#cps-open-toc {
display: flex !important;
position: fixed !important;
top: 8px !important;
right:
left: auto !important; bottom: auto !important;
width: 44px !important; height: 44px !important;
Line 461 ⟶ 451:
#cps-open-toc .icon { font-size: 22px !important; }
/* --- E. BUTTON 3:
▲.branding-box, .branding-box a {
▲#searchIcon {
position: fixed !important;
top: 8px !important;
right:
left: auto !important; /* Removed Left positioning */
width: 44px !important; height: 44px !important;
z-index: 1002 !important;
▲ display: flex !important; align-items: center; justify-content: center;
▲ margin: 0 !important; padding: 0 !important;
}
/* FIX
▲.branding-box a {
▲#searchIcon .minerva-icon {
▲ fill: #fff !important;
font-size: 0 !important; color: transparent !important;
▲}
▲.branding-box a::before {
▲ content: "⌂";
▲ margin-top: -4px;
▲ display: block !important;
}
/* --- F. THE SEARCH INPUT (
/* 1. Hide initially */
Line 489 ⟶ 486:
}
/* 2. Position
body.mw-mf-search-mode .minerva-header .search-box {
display: block !important;
position: fixed !important;
top: 8px !important;
height:
▲ right: auto !important;
▲ padding: 0 !important; margin: 0 !important;
▲ background: transparent !important;
▲ width: 100% !important;
▲ color: #fff !important;
| |||