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

49 lines
745 B
CSS
Raw Normal View History

2026-08-28 16:37:06 -05:00
.wrapper {
--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 {
background-size: auto 75%;
}
}
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;
background-size: auto 100%;
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
}