MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 453:
/* ======================================================= */
/* 2.
/* ======================================================= */
Line 466:
box-shadow: none !important;
pointer-events: none !important;
transform: none !important;▼
transition: none !important;▼
overflow: visible !important;▼
}
Line 478 ⟶ 475:
.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.2) !important;
opacity: 1 !important;
background-image: none !important;
Line 493 ⟶ 488:
box-shadow: none !important;
backdrop-filter: none !important;
border-radius: 50% !important;
pointer-events: auto !important;
box-sizing: border-box !important;
width: 44px !important;
Line 506 ⟶ 498:
}
/* --- C. BUTTON 1: SEARCH TRIGGER (
#searchIcon {
position: fixed !important;
/*
top: auto !important;
bottom:
left: 10px !important;▼
/*
/* -22px(half home) -30px(gap) -44px(width) = -96px */
max-width: 44px !important;▼
▲ min-width: 0 !important; max-width: 44px !important;
z-index: 1003 !important;
display: flex !important; align-items: center; justify-content: center;
}
#searchIcon .minerva-icon {
font-size: 24px !important;
color: #fff !important;
fill: #fff !important;
filter: brightness(0) invert(1);
margin: 0 !important;▼
}
/* --- D. BUTTON 2: TOC (
#cps-open-toc {
display: flex !important;
position: fixed !important;
/*
top: auto !important;
bottom:
/*
/* +22px(half home) +30px(gap) = +52px */
z-index: 1002 !important;
Line 554 ⟶ 544:
}
#cps-open-toc .icon {
font-size: 30px !important;
Line 560 ⟶ 549:
margin-bottom: 3px !important;
}
#cps-open-toc .label { display: none !important; }
/* --- E. BUTTON 3: HOME (
.branding-box {
position: fixed !important;
/*
top: auto !important;
bottom:
/* HORIZONTAL: Dead Center */
/* Half of 44px width to center it */
min-width: 0 !important; max-width: 44px !important;▼
▲ max-width: 44px !important;
width: 44px !important;
z-index: 1002 !important;
display: flex !important; align-items: center; justify-content: center;
}
/*
.branding-box::after {
content: "⌂";
font-size: 30px !important;
color: #fff !important;
-webkit-text-stroke: 0.5px #fff !important;
margin-top: -6px !important;
display: block !important;
Line 601 ⟶ 582:
}
/*
.branding-box a {
position: absolute !important;
Line 702 ⟶ 683:
/* ======================================================= */
/* FORCE STICKY TOC ON IPAD / TABLET (Keep in
/* ======================================================= */
@media screen and (min-width: 768px) {
#cps-open-toc {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 9999 !important;
/*
position: fixed !important;
top: auto !important;
bottom:
background-color: rgba(0, 0, 0, 0.2) !important;
width: 44px !important;
height: 44px !important;
| |||