MediaWiki:Common.css: відмінності між версіями
Restore place-card styles and button styles
(Add styles for add-place button) |
(Restore place-card styles and button styles) |
||
| Рядок 1: | Рядок 1: | ||
/* Place card */ | |||
.place-card{ | |||
display:flex; | |||
gap:16px; | |||
padding:12px; | |||
border:1px solid #ddd; | |||
border-radius:12px; | |||
background:#fff; | |||
margin:0 0 14px 0; | |||
} | |||
.place-card__img{ width:260px; flex:0 0 260px; height:180px; overflow:hidden; } | |||
.place-card__img img{ width:100%; height:100%; object-fit:cover; border-radius:10px; display:block; } | |||
.place-card__title{ font-size:18px; font-weight:700; margin:0 0 6px 0; } | |||
.place-card__meta{ font-size:14px; opacity:.9; margin:0 0 8px 0; } | |||
.place-card__desc{ font-size:14px; line-height:1.35; } | |||
/* Add-place button */ | /* Add-place button */ | ||
.add-place-btn{ text-align:center; margin:20px 0; } | .add-place-btn{ text-align:center; margin:20px 0; } | ||