Files
web/apps/scandic-web/components/Blocks/HotelListing/HotelListingItem/hotelListingItem.module.css
Erik Tiekstra a8e52c6c8a fix(SW-1608): Hotel listing synced with design
Approved-by: Matilda Landström
2025-05-26 11:49:51 +00:00

53 lines
825 B
CSS

.container {
background-color: var(--Surface-Primary-Default);
border: 1px solid var(--Border-Default);
border-radius: var(--Corner-radius-md);
overflow: hidden;
color: var(--Text-Default);
}
.image {
width: 100%;
height: 200px;
object-fit: cover;
}
.content {
display: grid;
gap: var(--Space-x2);
padding: var(--Space-x2) var(--Space-x3);
}
.intro {
display: grid;
gap: var(--Space-x05);
}
.captions {
display: flex;
gap: var(--Space-x1);
color: var(--Text-Tertiary);
}
@media screen and (max-width: 767px) {
.ctaDivider {
display: none;
}
}
@media screen and (min-width: 768px) {
.container {
display: grid;
grid-template-columns: minmax(250px, 350px) auto;
}
.image {
height: 100%;
}
.button {
width: min(100%, 200px);
justify-self: end;
}
}