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

43 lines
779 B
CSS
Raw Normal View History

2024-11-02 18:23:30 -05:00
.tank-search-card {
2024-11-16 23:11:31 -06:00
user-select: none;
2024-11-02 18:23:30 -05:00
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-2);
background-position: top left;
background-size: contain;
background-repeat: no-repeat;
overflow: hidden;
}
2024-11-16 23:11:31 -06:00
.tank-search-card[data-provide-link='true'] {
cursor: pointer;
}
2024-11-02 18:23:30 -05:00
.tank-search-card .link {
width: 100%;
display: flex;
flex-direction: column;
2024-11-11 12:52:19 -06:00
color: inherit;
2024-11-02 18:23:30 -05:00
}
.tank-search-card .image {
width: 100%;
2024-12-17 21:06:11 -06:00
height: 6rem;
2024-11-02 18:23:30 -05:00
object-position: center right;
object-fit: contain;
2024-12-22 20:28:07 -06:00
filter: drop-shadow(-1px -1px 4px black);
2024-11-02 18:23:30 -05:00
}
.tank-search-card .class-icon {
width: 1em;
height: 1em;
min-width: 1em;
min-height: 1em;
}
.tank-search-card .name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}