src/pages/Contributors/styles.js
import makeStyles from '@material-ui/core/styles/makeStyles';
export const useStyle = makeStyles((theme) => ({
firstSectionWrapper: {
background: theme.palette.secondary.dark,
color: '#FFE06D',
boxSizing: 'border-box',
backgroundImage: 'url("/images/CTI-Contributors-BG-1.png")',
minHeight: '35vh',
backgroundPositionY: 'bottom',
backgroundSize: 'cover',
backgroundRepeat: 'no-repeat',
textAlign: 'center',
[theme.breakpoints.up('md')]: {
minHeight: '25vh',
},
[theme.breakpoints.down('sm')]: {
fontSize: '32px',
minHeight: '28vh',
},
[theme.breakpoints.down('xl')]: {
minHeight: '16vh',
},
},
banner: {
height: '20px',
width: '100px',
},
textStyle: {
color: theme.palette.text.secondary,
fontWeight: 400,
textAlign: 'center',
marginTop: '-1rem',
},
projectsLink: {
margin: '0',
paddingTop: '70px',
fontSize: '14px',
color: theme.palette.text.secondary,
},
sectionContainer: {
fontFamily: theme.typography.fontFamily,
boxSizing: 'border-box',
margin: '0 auto',
width: '70%',
'& p': {
margin: '0',
},
},
indicator: {
backgroundColor: theme.palette.spectrum.lightBlue,
height: 5,
},
tabVal: {
color: theme.palette.spectrum.darkGray,
[theme.breakpoints.down('sm')]: {
fontSize: '18px',
},
[theme.breakpoints.up('md')]: {
fontSize: '28px',
},
'&:hover': {
color: '#006B95',
opacity: 1,
},
},
tabRoot: {
'&.MuiTab-root': {
color: theme.palette.spectrum.darkGray,
fontSize: 32,
fontWeight: 'bold',
overflow: 'hidden',
textTransform: 'none',
whiteSpace: 'nowrap',
[theme.breakpoints.down('sm')]: {
fontSize: 22,
},
[theme.breakpoints.down('xs')]: {
fontSize: 16,
},
},
'&$tabSelected': {
color: theme.palette.spectrum.lightBlue,
},
},
tabSelected: {},
checkBox: {
marginLeft: '9%',
marginTop: '2%',
},
formControlLabel: {
color: theme.palette.secondary.dark,
fontSize: '24px',
[theme.breakpoints.down('sm')]: {
fontSize: '13px',
},
},
}));