Files
blitzkit/src/app/tools/tankopedia/page.css.ts
T

88 lines
1.8 KiB
TypeScript
Raw Normal View History

2023-12-01 12:23:17 -06:00
import { style } from '@vanilla-extract/css';
2023-12-03 19:45:43 -06:00
import { theme } from '../../../stitches.config';
2023-12-01 12:23:17 -06:00
2023-12-03 22:09:08 -06:00
export const listing = style({});
2023-12-03 21:44:58 -06:00
2023-12-03 22:09:08 -06:00
export const flag = style({
transitionDuration: theme.durations.regular,
left: '0',
top: '0',
2024-02-06 13:28:05 -06:00
scale: 1.5,
2024-02-09 19:47:26 -06:00
opacity: 0.5,
[`.${listing}:hover &, .${listing}:active &`]: {
opacity: 1,
},
2023-12-03 21:44:58 -06:00
2024-02-06 13:10:28 -06:00
// [`.${listing}:hover &, .${listing}:active &`]: {
// transform: 'translateX(-25%)',
// filter: 'blur(3rem)',
// },
2023-12-03 21:44:58 -06:00
});
2023-12-01 12:23:17 -06:00
export const listingShadow = style({
2024-02-06 13:28:05 -06:00
boxShadow: `inset 64px -80px 64px -64px ${theme.colors.appBackground1}`,
2023-12-01 12:23:17 -06:00
2023-12-03 19:45:43 -06:00
[`.${listing}:hover &, .${listing}:active &`]: {
2024-02-06 13:28:05 -06:00
boxShadow: `inset 0 0 0 -64px ${theme.colors.appBackground1}`,
2023-12-01 12:23:17 -06:00
},
});
export const listingLabel = style({
transition: `transform ${theme.durations.regular}`,
transform: 'translateY(0)',
2024-02-06 13:10:28 -06:00
// [`.${listing}:hover &, .${listing}:active &`]: {
// transform: 'translateY(200%)',
// },
2023-12-01 12:23:17 -06:00
});
export const listingImage = style({
transition: `transform ${theme.durations.regular}`,
2023-12-03 21:44:58 -06:00
position: 'absolute',
left: '50%',
2024-02-06 13:28:05 -06:00
top: '-25%',
2023-12-01 12:23:17 -06:00
2024-02-06 13:10:28 -06:00
// [`.${listing}:hover &, .${listing}:active &`]: {
// transform: 'translate(-25%, 10%)',
// },
2023-12-01 12:23:17 -06:00
});
2023-12-12 23:35:08 -06:00
2024-01-06 17:56:12 -06:00
export const alignTopRight = style({
2023-12-12 23:35:08 -06:00
'@media': {
'screen and (min-width: 400px)': {
position: 'absolute',
right: 16,
top: 16,
},
'screen and (max-width: 399px)': {
// left: 16,
// bottom: 16,
},
},
});
2024-01-26 21:31:59 -06:00
2024-01-26 22:44:15 -06:00
export const characteristics = style({
display: 'flex',
gap: 32,
'@media': {
'screen and (max-width: 800px)': {
flexDirection: 'column',
},
},
2024-01-26 21:31:59 -06:00
});
2024-01-26 22:44:15 -06:00
export const configurationChild = style({
display: 'flex',
gap: 8,
flexDirection: 'column',
});
export const configuration = style({
2024-01-26 21:31:59 -06:00
display: 'flex',
flexDirection: 'column',
2024-01-26 22:44:15 -06:00
gap: 16,
flex: 1,
2024-01-26 21:31:59 -06:00
});