Перейти до вмісту

MediaWiki:Common.css: відмінності між версіями

Fix card image sizing with object-fit cover
(Add card styles)
(Fix card image sizing with object-fit cover)
Рядок 8: Рядок 8:
   margin:0 0 14px 0;
   margin:0 0 14px 0;
}
}
.place-card__img{ width:260px; flex:0 0 260px; }
.place-card__img{ width:260px; flex:0 0 260px; height:180px; overflow:hidden; }
.place-card__img img{ border-radius:10px; }
.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__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__meta{ font-size:14px; opacity:.9; margin:0 0 8px 0; }
.place-card__desc{ font-size:14px; line-height:1.35; }
.place-card__desc{ font-size:14px; line-height:1.35; }
70

редагувань