2206
редагувань
Admin (обговорення | внесок) (Прибрано external-link стрілочку з CTA-карток) |
Admin (обговорення | внесок) (Вирівняно висоту CTA-картки з cargo-картками (box-sizing + padding)) |
||
| Рядок 371: | Рядок 371: | ||
.service-card { | .service-card { | ||
box-sizing: border-box; | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Рядок 442: | Рядок 443: | ||
color: #4b5563; | color: #4b5563; | ||
text-decoration: none; | text-decoration: none; | ||
padding: | padding: 16px 20px 18px; | ||
transition: border-color .15s, background .15s, color .15s, transform .15s; | transition: border-color .15s, background .15s, color .15s, transform .15s; | ||
} | } | ||
| Рядок 500: | Рядок 500: | ||
padding-right: 0 !important; | padding-right: 0 !important; | ||
} | } | ||
/* Гарантія однакової висоти CTA-картки і звичайних cargo-карток */ | |||
.services-grid { align-items: stretch; } | |||
.services-grid > a { box-sizing: border-box; align-self: stretch; } | |||
.services-grid > a > .service-card--cta { box-sizing: border-box; } | |||