MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 131:
/* 1. DESKTOP FIX (Vector 2022 Skin) */
/* ======================================================= */
/* Confirmed working */
.vector-header-container {
Line 144:
}
body.skin-vector-2022 {
padding-top: 60px;
Line 157 ⟶ 156:
/* A. FIXED HEADER (Normal Reading Mode) */
/*
@media (max-width: 991px) {
body:not(.mw-mf-search-mode) .header-container.header-chrome {
position: fixed !important;
top: 0;
Instead of width: 100%
without adding extra padding that pushes the icon off-edge. */
left: 0 !important;
right: 0 !important;
width: auto !important;
z-index: 99;
background-color: #fff;
border-bottom: 1px solid #eaecf0;
Line 172 ⟶ 176:
/* PADDING COMPENSATOR */
/*
body:not(.mw-mf-search-mode) #mw-mf-page-center {
padding-top:
}
}
/* B. SEARCH MODE (The "
/* When search is active, we must convert the header from "Fixed Bar"
to "Full Screen Overlay" so the input text and results work naturally. */
html.mw-mf-search-mode .header-container.header-chrome,
body.mw-mf-search-mode .header-container.header-chrome {
position:
right: 0 !important;
bottom: 0 !important;
height: 100vh !important; /* Force full height */
width: 100% !important;
z-index: 1000 !important; /* Bring to front */
border: none !important;
overflow: hidden !important;
}
/* C.
/*
.minerva-header .search-box .search {
color: #000 !important;
-webkit-text-fill-color: #000 !important; /* iOS Safari Fix */▼
opacity: 1 !important;
▲ -webkit-text-fill-color: #000 !important;
background-color: #fff !important;
z-index: 1001 !important;
}
| |||