MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 153:
/* ======================================================= */
/* 2. FIXED TOP
/* ======================================================= */
/* --- A.
/* We style the header strictly when NOT searching */▼
position: fixed !important;
top: 0 !important;
Line 168 ⟶ 167:
border-bottom: 1px solid #eaecf0 !important;
/*
justify-content: center;▼
transform: none !important; /* Stop hiding on scroll */▼
transition: none !important;
overflow: visible !important; /* Allow search drawer to hang out the bottom */
}
/* Push page content down
body.skin-minerva {
padding-top: 50px !important;
}▼
.mw-body {
}
/* Hide
body:not(.mw-mf-search-mode) .minerva-header .search-box {
display: none !important;
}
/* --- B.
.branding-box, .branding-box a {
position: fixed !important;
top: 0 !important;
body:not(.mw-mf-search-mode) .branding-box {▼
display: flex !important;
align-items
▲}
font-size: 0 !important; color: transparent !important;▼
}
font-size: 28px;
color: #000;
margin-top: -4px;
}
/*
position:
top: 0
transform: translateX(-50%) !important;
width: 60px
height: 50px !important;
z-index: 1002 !important;
display: flex !important;
align-items
background: transparent !important;
border: none
margin: 0 !important; padding: 0 !important;
box-shadow: none !important;
}
font-size: 24px
color: #000;
opacity: 0.7;
}
/*
display: flex !important;
position:
top: 3px
width: 44px !important;
height: 44px !important;
z-index: 1002 !important;
background: transparent !important;
color: #000 !important;
Line 235 ⟶ 246:
}
/* ---
/* 1.
/* We force the entire form wrapper to drop down below the header */
body.mw-mf-search-mode
display: block !important;
▲ display: none !important;
}▼
▲body.mw-mf-search-mode .header-container.header-chrome {
position: fixed !important;
top:
height: auto !important;
}
/*
body.mw-mf-search-mode .minerva-header .search-box {
display: block !important;
padding:
background-color: #f0f0f0 !important; /* Grey drawer background */
border-bottom: 1px solid #ccc;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
box-sizing: border-box !important;
}
/*
body.mw-mf-search-mode .minerva-header .search-box input {
padding-left: 10px !important;
background: #fff !important;
color: #000 !important;
border: 1px solid #ccc !important;
border-radius: 4px !important;
opacity: 1 !important;
▲}
/* 4. Hide duplicate icons inside the drawer */
body.mw-mf-search-mode .minerva-header .search-box .search-box-icon-overlay {
display: none !important;
}
opacity: 0.2 !important;
pointer-events: none;
}
| |||