Skip to content

Instantly share code, notes, and snippets.

@iansinnott
Created March 30, 2014 06:30
Show Gist options
  • Save iansinnott/9868579 to your computer and use it in GitHub Desktop.
Save iansinnott/9868579 to your computer and use it in GitHub Desktop.
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
body {
background: #fafafa;
font-family: 'Helvetica Neue'; }
.wrap {
width: 400px;
margin: 0 auto;
margin-top: 160px;
background: white;
padding: 20px;
border-radius: 3px;
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }
.wrap h1 {
margin-top: 0;
text-align: center;
color: #434343; }
#super-form input, #super-form textarea {
display: block;
border-radius: 3px;
padding: 10px;
font-size: 16px; }
#super-form input[type=text], #super-form input[type=password], #super-form textarea {
width: 100%;
margin-bottom: 10px;
outline: none;
border: 1px solid #d3d3d3; }
#super-form input[type=text]:focus, #super-form input[type=password]:focus, #super-form textarea:focus {
border-color: #51a7e8;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5); }
#super-form .submit {
padding: 8px 10px;
color: white;
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #3072b3;
background-image: -webkit-gradient(linear, left top, left bottom, from(#599bcd), to(#3072b3));
background-image: -webkit-linear-gradient(#599bcd, #3072b3);
background-image: linear-gradient(#599bcd, #3072b3);
background-repeat: repeat-x;
border: 1px solid #2a65a0;
cursor: pointer; }
.alert {
padding: 10px;
margin-top: 10px;
border: 1px solid transparent;
border-radius: 3px; }
.error {
background-color: #f2dede;
border-color: #ebccd1;
color: #a94442; }
.success {
background-color: #dff0d8;
border-color: #d6e9c6;
color: #3c763d; }
.tweet {
font-size: 20px; }
.datetime {
color: #A2A2A2;
font-size: 14px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment