Created
May 15, 2020 12:35
-
-
Save JenyaIII-sudo/3dc041f978869d8ddc521858d9b59914 to your computer and use it in GitHub Desktop.
Material UI styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { makeStyles } from "@material-ui/core/styles"; | |
import backgroundHeader from "../../images/hivan-arvizu-soyhivan-MAnhvw0nDDY-unsplash.jpg"; | |
const useStyles = makeStyles(theme => ({ | |
nav: { | |
display: "flex", | |
justifyContent: "space-between", | |
alignItems: "center" | |
}, | |
main: { | |
height: "100vh" | |
}, | |
headerSearch: { | |
height: "100%", | |
display: "flex", | |
alignItems: "center" | |
}, | |
firstLink: { | |
fontSize: "23px", | |
padding: "8px 20px" | |
}, | |
filterBar: { | |
height: "10%", | |
borderBottom: "1px solid", | |
display: "flex", | |
alignItems: "center" | |
}, | |
logo: { | |
alignSelf: "flex-start", | |
fontSize: "59px", | |
margin: "0px", | |
backgroundSize: "cover", | |
backgroundPosition: "center", | |
height: "7vh" | |
}, | |
filterLoginIn: { | |
paddingRight: "59px", | |
display: "flex" | |
}, | |
bgForHeaderAndStoriesBlock: { | |
background: `url(${backgroundHeader})`, | |
backgroundPosition: "center", | |
backgroundRepeat: "no-repeat", | |
backgroundSize: "cover" | |
} | |
})); | |
export default useStyles; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment