98 lines
2.0 KiB
CSS
98 lines
2.0 KiB
CSS
.container {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.cardContainer {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.title {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 0;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.card {
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 0 0;
|
|
align-self: stretch;
|
|
border-radius: var(--Corner-radius-Medium);
|
|
background-color: var(--Scandic-Brand-Burgundy);
|
|
text-align: center;
|
|
}
|
|
|
|
.cardInner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: var(--Spacing-x3) var(--Spacing-x3) var(--Spacing-x7);
|
|
gap: var(--x2, 16px);
|
|
align-self: stretch;
|
|
}
|
|
|
|
.mainContentContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--x1, 8px);
|
|
align-self: stretch;
|
|
}
|
|
|
|
/* TODO: Remove once we have the "Chip" (badge?) component. */
|
|
.chip {
|
|
background-color: var(--Scandic-Red-90) !important;
|
|
color: var(--Scandic-Peach-50) !important;
|
|
}
|
|
|
|
.level {
|
|
text-align: center;
|
|
font-family: var(--typography-Script-2-fontFamily);
|
|
font-size: 20px;
|
|
font-weight: var(--typography-Script-2-fontWeight);
|
|
line-height: 110%;
|
|
letter-spacing: 0.4px;
|
|
color: var(--Scandic-Peach-50);
|
|
}
|
|
|
|
.cardSubtitle {
|
|
color: var(--Scandic-Brand-Pale-Peach);
|
|
font-family: var(--typography-Title-5-fontFamily);
|
|
font-size: var(--typography-Title-5-Mobile-fontSize);
|
|
font-weight: 500;
|
|
line-height: var(--typography-Title-5-lineHeight);
|
|
/* TODO: I presume the actual text-transform value should be: var(--typography-Title-5-textCase);
|
|
* - verify why we return "upper" and not uppercase.
|
|
* */
|
|
text-transform: uppercase;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.buttonContainer {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
@media screen and (min-width: 950px) {
|
|
.cardContainer {
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
}
|
|
|
|
.level {
|
|
font-size: var(--typography-Script-2-Desktop-fontSize);
|
|
letter-spacing: 0.48px;
|
|
}
|
|
|
|
.cardSubtitle {
|
|
font-size: var(--typography-Title-5-fontSize);
|
|
}
|
|
}
|