76 lines
1.1 KiB
CSS
76 lines
1.1 KiB
CSS
.container {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.header {
|
|
display: grid;
|
|
grid-template-areas: "title link";
|
|
grid-template-columns: 1fr max-content;
|
|
}
|
|
|
|
.title {
|
|
grid-area: title;
|
|
font-weight: 600;
|
|
color: var(--some-black-color, #111);
|
|
text-align: center;
|
|
}
|
|
|
|
.link {
|
|
grid-area: link;
|
|
}
|
|
.subtitle {
|
|
margin: 0;
|
|
font-size: 2rem;
|
|
}
|
|
.value {
|
|
color: var(--some-brown-color, #4d001b);
|
|
}
|
|
|
|
.cardContainer {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
.cardSubtitle {
|
|
font-family: var(--ff-fira-sans);
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
line-height: 14.4px;
|
|
text-align: center;
|
|
color: #b05b65;
|
|
margin: 0;
|
|
}
|
|
|
|
.card {
|
|
flex: 1 1 0px;
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 30px;
|
|
border-radius: 4px;
|
|
background-color: var(--Base-Fill-Normal);
|
|
|
|
aspect-ratio: 1/1;
|
|
}
|
|
|
|
@media screen and (min-width: 950px) {
|
|
.card:nth-child(2) {
|
|
grid-area: card2;
|
|
}
|
|
|
|
.card:last-of-type {
|
|
grid-area: card3;
|
|
}
|
|
|
|
.card:nth-child(2) {
|
|
grid-area: card2;
|
|
}
|
|
|
|
.card:last-of-type {
|
|
grid-area: card3;
|
|
}
|
|
}
|