MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ===== | /* ===== CLEAN TOP AREA (remove white gap) ===== */ | ||
.mw-mf-page-center, | |||
.header-container, | |||
.minerva-header { | |||
margin-top: 0 !important; | |||
padding-top: 0 !important; | |||
} | |||
/* Logo | /* ===== Hide top bars on Home page ===== */ | ||
.page-Home .minerva__tabs, | |||
.page-Home .minerva__navigation, | |||
.page-Home .minerva__header { | |||
display: none !important; | |||
} | |||
/* ===== Logo large & centered ===== */ | |||
.page-Home img { | .page-Home img { | ||
max-width: 90% !important; | max-width: 90% !important; | ||
height: auto !important; | height: auto !important; | ||
} | } | ||
/* | /* ===== Big heading ===== */ | ||
.page-Home h1 { | .page-Home h1 { | ||
font-size: 28px !important; | font-size: 28px !important; | ||
text-align: center !important; | |||
} | } | ||
/* Search box | /* ===== Search box full width ===== */ | ||
.page-Home input[type="search"], | .page-Home input[type="search"], | ||
.page-Home input[type="text"] { | .page-Home input[type="text"] { | ||
width: | width: 100% !important; | ||
font-size: 18px !important; | font-size: 18px !important; | ||
padding: | padding: 14px !important; | ||
box-sizing: border-box; | |||
} | } | ||
/* Search | /* ===== Search buttons bigger ===== */ | ||
.page-Home input[type="submit"], | |||
.page-Home input[type="submit"] { | .page-Home button { | ||
font-size: 16px !important; | font-size: 16px !important; | ||
padding: 10px 14px !important; | padding: 10px 14px !important; | ||
} | } | ||
/* | /* ===== Remove footer junk (last edited, license etc.) ===== */ | ||
# | .page-Home #footer-info, | ||
.page-Home #footer-places, | |||
.page-Home .last-modified-bar, | |||
.page-Home .printfooter { | |||
.last-modified-bar, | |||
. | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 14:39, 12 January 2026
/* ===== CLEAN TOP AREA (remove white gap) ===== */
.mw-mf-page-center,
.header-container,
.minerva-header {
margin-top: 0 !important;
padding-top: 0 !important;
}
/* ===== Hide top bars on Home page ===== */
.page-Home .minerva__tabs,
.page-Home .minerva__navigation,
.page-Home .minerva__header {
display: none !important;
}
/* ===== Logo large & centered ===== */
.page-Home img {
max-width: 90% !important;
height: auto !important;
}
/* ===== Big heading ===== */
.page-Home h1 {
font-size: 28px !important;
text-align: center !important;
}
/* ===== Search box full width ===== */
.page-Home input[type="search"],
.page-Home input[type="text"] {
width: 100% !important;
font-size: 18px !important;
padding: 14px !important;
box-sizing: border-box;
}
/* ===== Search buttons bigger ===== */
.page-Home input[type="submit"],
.page-Home button {
font-size: 16px !important;
padding: 10px 14px !important;
}
/* ===== Remove footer junk (last edited, license etc.) ===== */
.page-Home #footer-info,
.page-Home #footer-places,
.page-Home .last-modified-bar,
.page-Home .printfooter {
display: none !important;
}