Created
June 25, 2010 15:27
-
-
Save graywh/453003 to your computer and use it in GitHub Desktop.
some basic styles i use in every rails project
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
div.p { | |
/* div's as p's | |
* | |
* this is a work-around for how rails | |
* displays error messages on a form | |
*/ | |
margin-bottom: 1em; | |
} | |
.small { | |
font-size: 70%; | |
h2 + & { | |
margin-top: -1.25em; | |
} | |
} | |
#flashes { | |
text-align: center; | |
background: #ddd; | |
#flash_notice { | |
color: green; | |
} | |
#flash_error { | |
color: red; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment