MediaWiki:Common.css: відмінності між версіями
(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; } | ||
Версія за 03:42, 21 грудня 2025
/* 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-btn{ text-align:center; margin:20px 0; }
.add-place-btn a{
display:inline-block; background:#2a6df4; color:#fff !important;
padding:10px 14px; border-radius:8px; text-decoration:none;
font-weight:600; box-shadow:0 1px 2px rgba(0,0,0,.12);
}
.add-place-btn a:hover{ background:#1f57c2; }