Created
December 3, 2014 18:12
-
-
Save henryboldi/1e9253c6f85004dea769 to your computer and use it in GitHub Desktop.
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
[class*="fontawesome-"]:before { | |
font-family: 'FontAwesome', sans-serif; | |
} | |
body { | |
background: -moz-linear-gradient(left, #272838, #2b2d41, #393549, #433545); | |
background: -webkit-linear-gradient(left, #272838, #2b2d41, #393549, #433545); | |
background: linear-gradient(to right, #272838, #2b2d41, #393549, #433545); | |
font-family: 'Raleway', sans-serif; | |
} | |
form#login-form { | |
background: #fff; | |
width: 35em; | |
margin: 2em auto; | |
overflow: hidden; | |
position: relative; | |
-moz-border-radius: 0.3em; | |
-webkit-border-radius: 0.3em; | |
border-radius: 0.3em; | |
-moz-box-shadow: 0 0 0.2em #000; | |
-webkit-box-shadow: 0 0 0.2em #000; | |
box-shadow: 0 0 0.2em #000; | |
} | |
form#login-form div.heading { | |
background: #f85f64; | |
color: #fff; | |
text-align: center; | |
text-transform: uppercase; | |
font-weight: bold; | |
padding: 1.5em; | |
} | |
form#login-form div.left { | |
width: 50%; | |
float: left; | |
padding: 1.7em 1.5em 2.5em 1.5em; | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
form#login-form div.right { | |
width: 50%; | |
float: right; | |
padding: 1.7em 1.5em 2.5em 1.5em; | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
form#login-form:before { | |
content: 'or'; | |
color: gray; | |
position: absolute; | |
top: 0; | |
right: 0; | |
left: 0; | |
bottom: 0; | |
margin: auto; | |
height: 0.5em; | |
width: 0.5em; | |
left: -1.5em; | |
top: 1.2em; | |
z-index: 900; | |
} | |
form#login-form:after { | |
content: ''; | |
position: absolute; | |
background: rgba(128, 128, 128, 0.3); | |
top: 0; | |
right: 0; | |
left: 0; | |
bottom: 0; | |
margin: auto; | |
height: 7.25em; | |
width: 0.1em; | |
left: -0.85em; | |
top: -6.8em; | |
-moz-box-shadow: 0 8.8em 0 0 rgba(128, 128, 128, 0.3); | |
-webkit-box-shadow: 0 8.8em 0 0 rgba(128, 128, 128, 0.3); | |
box-shadow: 0 8.8em 0 0 rgba(128, 128, 128, 0.3); | |
} | |
div.left label { | |
display: inline-block; | |
color: gray; | |
font-size: 1.1em; | |
margin-top: 0.6em; | |
} | |
div.left input[type="email"], div.left input[type="password"] { | |
border: 0.1em solid #dfdfdf; | |
padding: 1em; | |
margin: 0.6em 0; | |
-moz-border-radius: 0.2em; | |
-webkit-border-radius: 0.2em; | |
border-radius: 0.2em; | |
-moz-box-shadow: 0 0 0.2em rgba(223, 223, 223, 0.2); | |
-webkit-box-shadow: 0 0 0.2em rgba(223, 223, 223, 0.2); | |
box-shadow: 0 0 0.2em rgba(223, 223, 223, 0.2); | |
-moz-transition: 0.15s all ease-in-out; | |
-o-transition: 0.15s all ease-in-out; | |
-webkit-transition: 0.15s all ease-in-out; | |
transition: 0.15s all ease-in-out; | |
} | |
div.left input[type="email"]:focus, div.left input[type="password"]:focus { | |
outline: none; | |
border: 0.1em solid #bdbdbd; | |
} | |
div.left input[type="submit"] { | |
background: #f85f64; | |
color: #fff; | |
outline: none; | |
text-transform: uppercase; | |
padding: 1.2em; | |
overflow: hidden; | |
border: none; | |
letter-spacing: 0.1em; | |
margin: 0.5em 0; | |
font-weight: bold; | |
-moz-border-radius: 0.4em; | |
-webkit-border-radius: 0.4em; | |
border-radius: 0.4em; | |
-moz-transition: 0.15s all ease-in-out; | |
-o-transition: 0.15s all ease-in-out; | |
-webkit-transition: 0.15s all ease-in-out; | |
transition: 0.15s all ease-in-out; | |
} | |
div.left input[type="submit"]:hover { | |
background: rgba(248, 95, 100, 0.8); | |
} | |
div.right div.connect { | |
color: gray; | |
font-size: 1.1em; | |
text-align: center; | |
} | |
div.right a { | |
display: inline-block; | |
font-size: 1.5em; | |
text-decoration: none; | |
color: white; | |
width: 9em; | |
padding: 0.55em 0.3em; | |
clear: both; | |
text-align: center; | |
margin: 0.5em 0.1em; | |
-moz-border-radius: 0.3em; | |
-webkit-border-radius: 0.3em; | |
border-radius: 0.3em; | |
} | |
div.right a.facebook { | |
background: #3a589a; | |
margin-top: 0.8em; | |
-moz-transition: 0.15s all ease-in-out; | |
-o-transition: 0.15s all ease-in-out; | |
-webkit-transition: 0.15s all ease-in-out; | |
transition: 0.15s all ease-in-out; | |
} | |
div.right a.facebook:hover { | |
background: rgba(58, 88, 154, 0.8); | |
} | |
div.right a.twitter { | |
background: #4099ff; | |
-moz-transition: 0.15s all ease-in-out; | |
-o-transition: 0.15s all ease-in-out; | |
-webkit-transition: 0.15s all ease-in-out; | |
transition: 0.15s all ease-in-out; | |
} | |
div.right a.twitter:hover { | |
background: rgba(64, 153, 255, 0.8); | |
} | |
div.right a.google-plus { | |
background: #e9544f; | |
-moz-transition: 0.15s all ease-in-out; | |
-o-transition: 0.15s all ease-in-out; | |
-webkit-transition: 0.15s all ease-in-out; | |
transition: 0.15s all ease-in-out; | |
} | |
div.right a.google-plus:hover { | |
background: rgba(233, 84, 79, 0.8); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment