chore: update my stays to new MVP design

This commit is contained in:
Matilda Landström
2024-04-26 14:53:17 +02:00
parent 38d65f7b37
commit 861ad26f21
8 changed files with 30 additions and 76 deletions

View File

@@ -1,64 +1,39 @@
.stay {
background-color: var(--some-grey-color, #ababab);
background-color: var(--some-grey-color, #c2bdba);
border-radius: 0.8rem;
display: grid;
flex-grow: 1;
flex-shrink: 0;
flex-basis: 32rem;
grid-template-rows: 1fr 9rem;
height: 28rem;
}
.imageContainer {
align-items: center;
display: grid;
justify-content: center;
position: relative;
}
.badge {
background-color: var(--some-white-color, #fff);
border-radius: 4rem;
left: 1.5rem;
padding: 0.6rem 1.4rem;
position: absolute;
top: 1.5rem;
}
.time {
color: var(--some-black-color, #000);
font-family: var(--ff-fira-sans);
font-size: 1.2rem;
font-weight: 400;
height: 34rem;
}
.footer {
background-color: var(--some-white-color, #fff);
background-color: var(--some-grey-color, #ebe8e6);
border-bottom: 0.1rem solid var(--some-grey-color, #d9d9d9);
border-left: 0.1rem solid var(--some-grey-color, #d9d9d9);
border-right: 0.1rem solid var(--some-grey-color, #d9d9d9);
border-radius: 0 0 0.8rem 0.8rem;
display: inline-block;
height: 9rem;
padding: 1.5rem 2rem;
height: 12rem;
padding: 4rem 2.5rem;
overflow: hidden;
margin-top: auto;
text-align: center;
width: 100%;
}
.hotel {
overflow: hidden;
text-wrap: nowrap;
text-overflow: ellipsis;
font-size: 1.5rem;
padding: 0;
margin: 0;
}
.container {
align-items: center;
display: grid;
display: flex;
gap: 2rem;
grid-template-columns: auto 1fr;
justify-content: flex-start;
justify-content: center;
}
.date,
@@ -66,4 +41,11 @@
align-items: center;
display: flex;
gap: 0.6rem;
font-size: small;
}
@media screen and (min-width: 950px) {
.footer {
padding: 2rem 2.5rem;
}
}