Created
September 13, 2019 01:56
-
-
Save shadow1349/3d040331769a23acfaacb9bd0243fa65 to your computer and use it in GitHub Desktop.
This file contains 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
.auth-container { | |
flex: 1 1 100%; | |
box-sizing: border-box; | |
flex-direction: column; | |
display: flex; | |
max-width: 50%; | |
// this will catch tablets | |
@media only screen and (max-width: 960px) { | |
flex: 1 1 100%; | |
box-sizing: border-box; | |
flex-direction: column; | |
display: flex; | |
max-width: 90%; | |
} | |
// this will catch mobile phones | |
@media only screen and (max-width: 450px) { | |
flex: 1 1 100%; | |
box-sizing: border-box; | |
flex-direction: column; | |
display: flex; | |
max-width: 100%; | |
} | |
} | |
.auth-row { | |
flex-direction: row; | |
box-sizing: border-box; | |
display: flex; | |
max-height: 100%; | |
place-content: flex-start center; | |
align-items: flex-start; | |
padding-top: 1.5rem; | |
} | |
.auth-sidenav { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
} | |
.auth-background { | |
background: grey; | |
margin: 0; | |
padding: 0; | |
border: 0; | |
background-size: cover; | |
background-position: top center; | |
min-height: calc(100vh + 100px); | |
height: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment