Skip to content

Commit

Permalink
Fix card styles
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Apr 2, 2024
1 parent bf51dac commit bac7b65
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/themes/onvote/components/Card.ts
Expand Up @@ -237,20 +237,13 @@ const imageCard = definePartsStyle({
container: {
...cardCommonStyles.container,
w: '300px',
height: 100,
height: '480px',
display: 'flex',
flexDirection: 'column',
position: 'relative',
justify: 'center',
alignItems: 'center',

boxShadow: 'var(--box-shadow)',
transition: 'box-shadow .2s',

_hover: {
boxShadow: 'var(--box-shadow-darker)',
transition: 'box-shadow .2s ',
},
bgColor: 'transparent',
},

header: {
Expand Down Expand Up @@ -298,18 +291,22 @@ const imageCard = definePartsStyle({
fontWeight: 'bold',
fontSize: { base: '18px' },
mt: 4,
mb: 2,
mb: 6,
textAlign: { base: 'start' },
fontFamily: 'pixeloidsans, monospace',
},

'& p:nth-of-type(2)': {
fontSize: { base: '13px' },
fontSize: { base: '16px' },
},
},

footer: {
...cardCommonStyles.footer,
pb: 3,
'& a': {
fontWeight: '600',
},
},
})

Expand Down

0 comments on commit bac7b65

Please sign in to comment.