More actions
No edit summary |
No edit summary |
||
Line 43: | Line 43: | ||
.equipment-card__background img { | .equipment-card__background img { | ||
width: 100px; | width: 100px; | ||
height: | height: 100%; | ||
object-position: center; | object-position: center; | ||
object-fit: contain; | object-fit: contain; | ||
border-radius: 6px 6px 0 0; | |||
} | } | ||
Revision as of 19:58, 22 March 2024
.equipment-card {
padding: 0;
border: 0;
transition: all 0.3s ease;
display: inline-table;
margin-bottom: 4px;
border-radius: 6px;
}
.equipment-card:hover {
box-shadow: 0px 0px 0px 2px #f7bb2b
}
.equipment-card__label {
width: 100px;
color: #ffffff;
background-color: var(--color-pill);
display:flex;
align-items:center;
justify-content:center;
font-family: 'Saira Extra Condensed','Nunito','Saira',system-ui,-apple-system,sans-serif;
font-weight: bold;
font-size: 16px;
font-style: italic;
border-radius: 0 0 6px 6px;
text-transform: uppercase;
overflow: hidden;
}
.equipment-card__label a {
text-decoration: none;
color: #fff;
display: flex;
justify-content: center;
width: 100%;
}
.equipment-card__background {
background: linear-gradient(#808b9a, #d5e2e6);
border-radius: 6px 6px 0 0;
}
.equipment-card__background img {
width: 100px;
height: 100%;
object-position: center;
object-fit: contain;
border-radius: 6px 6px 0 0;
}
@media only screen and (max-width: 640px) {
.equipment-card__label {
width: 95px;
font-size: 15px;
}
.equipment-card__background img {
height: 105px;
width: 95px;
}
}