doc: add styles in FeaturedMovies

This commit is contained in:
Leon Xu
2022-09-03 13:02:43 -07:00
parent c66081b6ca
commit 39bcb30710
+40
View File
@@ -0,0 +1,40 @@
import { makeStyles } from '@mui/styles';
export default makeStyles((theme) => ({
featuredCardContainer: {
marginBottom: '20px',
display: 'flex',
justifyContent: 'center',
height: '490px',
textDecoration: 'none',
},
card: {
width: '100%',
display: 'flex',
justifyContent: 'flex-end',
flexDirection: 'column',
},
cardRoot: {
position: 'relative',
},
cardMedia: {
position: 'absolute',
top: 0,
right: 0,
height: '100%',
width: '100%',
backgroundColor: 'rgba(0,0,0,0.575)',
backgroundBlendMode: 'darken',
},
cardContent: {
color: '#fff',
width: '40%',
[theme.breakpoints.down('sm')]: {
width: '100%',
},
},
cardContentRoot: {
position: 'relative',
backgroundColor: 'transparent',
},
}));