2023-12-01 14:45:04 +00:00
|
|
|
:root {
|
|
|
|
--tarot-card-title-background-color: rgb(234, 191, 99);
|
|
|
|
}
|
|
|
|
|
2023-12-02 13:12:22 +00:00
|
|
|
*, *::before, *::after {
|
|
|
|
margin: 0;
|
2023-12-02 10:45:30 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2023-12-01 13:42:30 +00:00
|
|
|
.tarot-card {
|
|
|
|
aspect-ratio: 7 / 12;
|
2023-12-01 14:20:34 +00:00
|
|
|
|
2023-12-01 15:00:11 +00:00
|
|
|
max-height: 80vh;
|
|
|
|
max-width: 80vw;
|
2023-12-02 10:45:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tarot-card__content {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-12-01 15:00:11 +00:00
|
|
|
|
2023-12-01 14:20:34 +00:00
|
|
|
border: 1em solid white;
|
2023-12-01 13:42:30 +00:00
|
|
|
}
|
2023-12-01 14:37:20 +00:00
|
|
|
|
|
|
|
.tarot-card__section {
|
|
|
|
border-left: 0.4rem solid black;
|
|
|
|
border-right: 0.4rem solid black;
|
|
|
|
border-bottom: 0.4rem solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tarot-card__section:nth-child(1) {
|
|
|
|
border-top: 0.4rem solid black;
|
|
|
|
}
|
2023-12-01 14:45:04 +00:00
|
|
|
|
|
|
|
.tarot-card__section--art {
|
|
|
|
height: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tarot-card__art {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tarot-card__section--title {
|
|
|
|
height: 10%;
|
2023-12-01 15:00:11 +00:00
|
|
|
|
2023-12-02 11:29:49 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-12-01 15:00:11 +00:00
|
|
|
|
2023-12-01 14:45:04 +00:00
|
|
|
background: var(--tarot-card-title-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tarot-card__title {
|
|
|
|
margin: 0;
|
2023-12-01 15:00:11 +00:00
|
|
|
|
2023-12-02 11:29:49 +00:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
font-size: clamp(0.8rem, 5vw, 1.2rem);
|
2023-12-01 15:00:11 +00:00
|
|
|
font-family: monospace;
|
|
|
|
font-weight: 900;
|
2023-12-01 14:45:04 +00:00
|
|
|
}
|