Skip to content

Instantly share code, notes, and snippets.

@michaelminter
Created September 20, 2012 03:58
Show Gist options
  • Select an option

  • Save michaelminter/3753899 to your computer and use it in GitHub Desktop.

Select an option

Save michaelminter/3753899 to your computer and use it in GitHub Desktop.
Just been watching Hot Tub Time Machine and I just wan't to pay my respects to Lou.
<div class="wrapper">
<h1 style="font-weight:100;">Sign in<span><img src="http://shre.us/upload/uploads/lougle.png" width="52px" /></span></h1>
<div class="userpass">Username:</div><br />
<input type="text" name="email" class="email" />
<div class="userpass">Password:</div><br />
<input type="text" name="password" class="email" />
<button class="ohyeh">Sign in</button>
<label class="rememberyo" onclick="">
<input class="remember" type="checkbox" >
<strong class="remember-label">
Stay signed in
</strong>
</label>
<p>Can't access your account?</p>
</div>
body {
background:white;
}
.wrapper {
background:#f1f1f1;
width:335px;
height:300px;
margin:0 auto;
margin-top:3%;
border:1px solid #E5E5E5;
padding:20px 25px 15px;
}
h1 {
font-size: 16px;
line-height: 17px;
height: 16px;
margin: 0 0 1.2em;
position: relative;
font-family:Arial;
color: #222;
font-weight: normal;
}
span {
display: inline-block;
position: absolute;
right: 0;
top: 1px;
height: 19px;
width: 52px;
}
.email {
width: 100%;
height: 32px;
font-size: 15px;
direction: ltr;
border: 1px solid #B9B9B9;
border-top: 1px solid #A0A0A0;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
display: inline-block;
margin: 0;
padding: 0 8px;
background: white;
border: 1px solid #D9D9D9;
border-top: 1px solid silver;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;
-webkit-border-radius:1px;
-moz-border-radius:1px;
padding-left:10px;
margin: 0em;
color: initial;
letter-spacing: normal;
word-spacing: normal;
line-height: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
display: inline-block;
text-align: -webkit-auto;
font-family:Arial;
font-size:14px;
margin-top:-17px;
margin-bottom:20px;
}
.userpass {
Font-family: Arial, Helvetica, sans-serif;
font-size:14px;
color:#222;
font-weight:500;
}
.ohyeh {
width:100px;
background-color: #4D90FE;
background-image: -webkit-gradient(linear,left top,left bottom,from(#4D90FE),to(#4787ED));
background-image: -webkit-linear-gradient(top,#4D90FE,#4787ED);
background-image: -moz-linear-gradient(top,#4D90FE,#4787ED);
background-image: -ms-linear-gradient(top,#4D90FE,#4787ED);
background-image: -o-linear-gradient(top,#4D90FE,#4787ED);
background-image: linear-gradient(top,#4D90FE,#4787ED);
border: 1px solid #3079ED;
color: white;
text-shadow: 0 1px rgba(0, 0, 0, 0.1);
font-size: 14px;
font-weight: bold;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
text-align:center;
padding:10px;
}
.remember {
border-color: #C6C6C6;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
-webkit-appearance: none;
appearance: none;
width: 13px;
height: 13px;
cursor: pointer;
margin:0;
margin-left:10px;
background: white;
border: 1px solid gainsboro;
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
display:inline-block;
}
.remember:hover {
border-color: #C6C6C6;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}
.remember-label {
font-weight: normal;
font-family:arial;
font-size:12px;
color: #666;
line-height: 1;
padding: 0 0 0 .4em;
}
p {
padding-top:16px;
color: #15C;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
}
p:hover {
text-decoration:underline;
cursor:pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment