Files
blitzkit/packages/website-ue/src/components/AvatarCard/index.module.css
T

80 lines
1.3 KiB
CSS
Raw Normal View History

2026-01-17 13:36:17 -06:00
.card {
2026-01-12 14:13:21 -06:00
display: flex;
flex-direction: column;
align-items: center;
2026-01-13 12:46:34 -06:00
gap: var(--space-4);
2026-01-12 14:13:21 -06:00
2026-01-17 13:36:17 -06:00
.series {
2026-01-14 13:58:53 -06:00
position: relative;
2026-01-12 14:13:21 -06:00
width: 100%;
aspect-ratio: 7 / 8;
2026-01-17 13:36:17 -06:00
.entry {
2026-01-14 13:58:53 -06:00
position: absolute;
2026-01-13 12:46:34 -06:00
2026-01-14 13:58:53 -06:00
border-radius: var(--space-3);
box-shadow: var(--shadow-interactive), var(--shadow-aggressive);
background-size: cover;
background-position: center;
2026-01-16 20:37:11 -06:00
&.skeleton {
top: 0;
left: 0;
width: 100%;
height: 100%;
}
2026-01-14 13:58:53 -06:00
}
2026-01-15 12:55:18 -06:00
.count {
position: absolute;
bottom: var(--space-3);
right: var(--space-3);
2026-01-17 13:36:17 -06:00
box-shadow: var(--shadow-aggressive);
2026-01-15 12:55:18 -06:00
}
2026-01-12 14:13:21 -06:00
}
2026-01-17 13:36:17 -06:00
.label {
2026-01-12 14:13:21 -06:00
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
2026-01-13 20:15:55 -06:00
white-space: nowrap;
2026-01-16 20:37:11 -06:00
width: 100%;
.skeleton {
width: 100%;
}
2026-01-12 14:13:21 -06:00
}
}
2026-01-17 13:36:17 -06:00
.details {
display: flex;
gap: var(--space-4);
align-items: center;
.preview {
display: flex;
flex-direction: column;
align-items: center;
.image {
aspect-ratio: 7 / 8;
width: 8rem;
background-size: cover;
background-position: center;
}
.grade {
margin-top: calc(var(--space-3) * -1);
}
}
.description {
display: flex;
flex-direction: column;
max-width: 20rem;
}
}