Files
blitzkit/packages/website-legacy/src/app/tools/tankopedia/components/TankCard.css.ts
T
2024-09-17 21:43:28 -05:00

46 lines
843 B
TypeScript

import { createVar, style } from '@vanilla-extract/css';
export const cardBackgroundVar = createVar();
export const card = style({
cursor: 'pointer',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: 'var(--space-2)',
background: cardBackgroundVar,
overflow: 'hidden',
});
export const image = style({
height: 64,
width: '100%',
objectPosition: 'center right',
objectFit: 'contain',
});
export const classIcon = style({
width: '1em',
height: '1em',
minWidth: '1em',
minHeight: '1em',
});
export const name = style({
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
});
export const link = style({
color: 'inherit',
textDecoration: 'none',
width: '100%',
display: 'flex',
flexDirection: 'column',
':hover': {
textDecoration: 'underline',
},
});