Created
October 5, 2012 05:56
-
-
Save lakshminarayanan/3838321 to your computer and use it in GitHub Desktop.
Basic application styling
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
/* | |
* This is a manifest file that'll be compiled into application.css, which will include all the files | |
* listed below. | |
* | |
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | |
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. | |
* | |
* You're free to add application-wide styles to this file and they'll appear at the top of the | |
* compiled file, but it's generally better to create a new file per style scope. | |
* | |
*= require_self | |
*= require_tree . | |
*/ | |
body { | |
background-color: #4B7399; | |
font-family: Verdana, Helvetica, Arial; | |
font-size: 14px; | |
} | |
a img { | |
border: none; | |
} | |
a { | |
color: #0000FF; | |
} | |
.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 { | |
padding: 5px 8px; | |
margin: 10px 0; | |
} | |
#flash_notice { | |
background-color: #CFC; | |
border: solid 1px #6C6; | |
} | |
#flash_error { | |
background-color: #FCC; | |
border: solid 1px #C66; | |
} | |
.fieldWithErrors { | |
display: inline; | |
} | |
#errorExplanation { | |
width: 400px; | |
border: 2px solid #CF0000; | |
padding: 0px; | |
padding-bottom: 12px; | |
margin-bottom: 20px; | |
background-color: #f0f0f0; | |
} | |
#errorExplanation h2 { | |
text-align: left; | |
font-weight: bold; | |
padding: 5px 5px 5px 15px; | |
font-size: 12px; | |
margin: 0; | |
background-color: #c00; | |
color: #fff; | |
} | |
#errorExplanation p { | |
color: #333; | |
margin-bottom: 0; | |
padding: 8px; | |
} | |
#errorExplanation ul { | |
margin: 2px 24px; | |
} | |
#errorExplanation ul li { | |
font-size: 12px; | |
list-style: disc; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment