MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 131: | Line 131: | ||
background: #0847b0; | background: #0847b0; | ||
} | } | ||
/* =============================== */ | /* =============================== */ | ||
/* | /* FULL MOBILE FIX — HERO + SEARCH */ | ||
/* =============================== */ | /* =============================== */ | ||
@media (max-width: 600px) { | |||
. | /* Hero section padding reduced */ | ||
.bw-hero { | |||
padding: 30px 15px; | |||
} | |||
} | |||
/* | /* Heading smaller on mobile */ | ||
. | .bw-welcome { | ||
font-size: 28px; | |||
} | margin-bottom: 8px; | ||
} | |||
/* | /* Subtitle smaller */ | ||
. | .bw-tagline { | ||
font-size: 15px; | |||
margin-bottom: 20px; | |||
} | } | ||
/* | /* STACK search bar + button */ | ||
. | .bw-search-form { | ||
display: flex; | |||
flex-direction: column; | |||
} | width: 100%; | ||
gap: 10px; | |||
align-items: stretch; | |||
} | |||
/* | /* MAKE SEARCH FULL WIDTH */ | ||
. | .bw-search-input { | ||
width: 100% !important; | |||
max-width: 100%; | |||
padding: 12px 14px; | |||
font-size: 16px; | |||
box-sizing: border-box; | |||
} | } | ||
. | /* MAKE BUTTON FULL WIDTH */ | ||
.bw-search-btn { | |||
width: 100% !important; | |||
padding: 12px; | |||
font-size: 16px; | |||
text-align: center; | |||
box-sizing: border-box; | |||
} | |||
} | } | ||