Skip to content

Instantly share code, notes, and snippets.

@gkop
Created May 23, 2012 02:24
Show Gist options
  • Save gkop/2772884 to your computer and use it in GitHub Desktop.
Save gkop/2772884 to your computer and use it in GitHub Desktop.
html, body {
background-color: #4B7399;
font-family: Verdana, Helvetica, Arial;
font-size: 14px;
}
a img {
border: none;
}
a {
color: #0000FF;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.clear {
clear: both;
height: 0;
overflow: hidden;
}
#container {
width: 75%;
margin: 0 auto;
background-color: #FFF;
padding: 20px 40px;
border: solid 1px black;
margin-top: 20px;
}
#flash_notice, #flash_error, #flash_alert {
padding: 5px 8px;
margin: 10px 0;
}
#flash_notice {
background-color: #CFC;
border: solid 1px #6C6;
}
#flash_error, #flash_alert {
background-color: #FCC;
border: solid 1px #C66;
}
.error_messages {
width: 400px;
border: 2px solid #CF0000;
padding: 0px;
padding-bottom: 12px;
margin-bottom: 20px;
background-color: #f0f0f0;
font-size: 12px;
}
.error_messages h2 {
text-align: left;
font-weight: bold;
padding: 5px 10px;
font-size: 12px;
margin: 0;
background-color: #c00;
color: #fff;
}
.error_messages p {
margin: 8px 10px;
}
.error_messages ul {
margin: 0;
}
.field_with_errors {
display: inline;
}
form .field, form .actions {
margin: 10px 0;
}
form label {
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment