Files
blitzkit/packages/website/src/components/TankCard/index.module.css
T

47 lines
724 B
CSS
Raw Normal View History

2026-08-28 16:37:06 -05:00
.wrapper {
2026-11-21 20:06:39 -06:00
min-width: var(--min-tank-card-size);
2026-08-28 16:37:06 -05:00
--image-height: 6rem;
2026-08-28 10:42:57 -05:00
2026-08-28 16:37:06 -05:00
&[data-compact="true"] {
--image-height: 4rem;
}
2026-08-28 10:42:57 -05:00
2026-08-28 16:37:06 -05:00
.image-wrapper {
overflow: hidden;
2026-08-28 10:42:57 -05:00
2026-08-28 16:37:06 -05:00
box-sizing: border-box;
2026-11-21 19:36:07 -06:00
background-size: auto 75%;
2026-08-28 16:37:06 -05:00
background-repeat: no-repeat;
height: var(--image-height);
}
.name {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
.icon {
width: 1em;
height: 1em;
min-width: 1em;
min-height: 1em;
}
.text {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
2026-10-15 00:38:01 -05:00
.discriminator {
display: flex;
justify-content: center;
gap: var(--space-2);
}
2026-08-28 10:42:57 -05:00
}