feat: page turner

This commit is contained in:
TrèsAbhi committed 2023-12-03 19:45:43 -06:00
1 parent 579d7570af
commit c5e1a7d6ab
8 files changed
+322 -144

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
import { style } from '@vanilla-extract/css';
import { theme } from '../../../stitches.config';
export const listing = style({});
export const listingShadow = style({
boxShadow: `inset 0 -128px 128px -128px ${theme.colors.appBackground1}`,
[`.${listing}:hover &, .${listing}:active &`]: {
boxShadow: `inset 0 0 0 -128px ${theme.colors.appBackground1}`,
},
});
export const listingLabel = style({
transition: `transform ${theme.durations.regular}`,
transform: 'translateY(0)',
[`.${listing}:hover &, .${listing}:active &`]: {
transform: 'translateY(200%)',
},
});
export const listingImage = style({
transition: `transform ${theme.durations.regular}`,
transform: 'translateX(25%) translateY(0)',
[`.${listing}:hover &, .${listing}:active &`]: {
transform: 'translateX(25%) translateY(10%)',
},
});