MediaWiki:Common.css: відмінності між версіями
make banner image responsive (full-width on mobile)
(Restore place-card styles and button styles) |
(make banner image responsive (full-width on mobile)) |
||
| Рядок 23: | Рядок 23: | ||
} | } | ||
.add-place-btn a:hover{ background:#1f57c2; } | .add-place-btn a:hover{ background:#1f57c2; } | ||
/* Banner image — responsive (full width on mobile, native on desktop) */ | |||
.banner-wrapper { width: 100%; } | |||
.banner-wrapper img, | |||
.banner-image img { max-width: 100%; height: auto; display: block; } | |||