MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 209: | Line 209: | ||
} | } | ||
/* ========================= | /* ========================= | ||
MOBILE SEARCH | MOBILE INPUTBOX SEARCH FIX | ||
========================= */ | ========================= */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
/* | /* InputBox outer wrapper */ | ||
.mw-inputbox-centered, | |||
.mw-inputbox-inline, | |||
.mw-inputbox { | |||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
padding-left: 12px !important; | |||
padding-right: 12px !important; | |||
} | } | ||
/* | /* The actual input field */ | ||
.mw-inputbox-centered input, | |||
.mw-inputbox-inline input, | |||
.mw-inputbox input { | |||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
display: block !important; | display: block !important; | ||
font-size: 18px !important; | |||
padding: 10px 12px !important; | |||
} | } | ||
/* | /* The search button */ | ||
.mw-inputbox-centered button, | |||
.mw-inputbox-inline button, | |||
.mw-inputbox button, | |||
.mw-inputbox-centered input[type="submit"] { | |||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
margin-top: 10px !important; | |||
font-size: 18px !important; | |||
padding: 10px 0 !important; | |||
} | } | ||
} | } | ||