Created
February 2, 2011 09:53
-
-
Save markoa/807483 to your computer and use it in GitHub Desktop.
CSS file as seen on Railscasts
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
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, #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; | |
} | |
.fieldWithErrors { | |
display: inline; | |
} | |
.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; | |
} | |
.sortable th .current { | |
padding-right: 12px; | |
background-repeat: no-repeat; | |
background-position: right center; | |
} | |
.sortable th .asc { | |
background-image: url(/images/up_arrow.gif); | |
} | |
.sortable th .desc { | |
background-image: url(/images/down_arrow.gif); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment