Created
January 17, 2009 00:25
-
-
Save mig/48222 to your computer and use it in GitHub Desktop.
base styles for my personal projects
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: #FFF; | |
font-family: Verdana, Helvetica, Arial; | |
font-size: 14px; | |
} | |
a img { | |
border: none; | |
} | |
a { | |
color: #0000FF; | |
} | |
body { | |
background-color: #4B7399; | |
} | |
h1, h2, h3, h4, h5 { | |
font-family: Helvetica; | |
letter-spacing:-1.25px; | |
} | |
h1 { | |
font-size: 32px; | |
} | |
h2 { | |
font-size: 20px; | |
} | |
h3 { | |
font-size: 16px; | |
} | |
h4 { | |
font-size: 14px; | |
margin-bottom: 1px; | |
} | |
hr { | |
width: 95%; | |
height: 2px; | |
background-color: #ddd; | |
border: 0; | |
padding: 0; | |
margin:20px 0 0; | |
} | |
#container { | |
width: 75%; | |
margin: 0 auto; | |
background-color: #FFF; | |
padding: 20px 40px; | |
border: solid 1px black; | |
margin-top: 20px; | |
} | |
#status { | |
float: right; | |
margin-bottom: 10px; | |
} | |
#flash_notice, #flash_error { | |
padding: 5px 8px; | |
margin: 10px 0; | |
clear: both; | |
} | |
#flash_notice { | |
background-color: #CFC; | |
border: solid 1px #6C6; | |
} | |
#flash_error { | |
background-color: #FCC; | |
border: solid 1px #C66; | |
} | |
.clear { | |
clear: both; | |
} | |
.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: 0px; | |
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; | |
} | |
ul.navigation { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
ul.navigation li { | |
display: inline; | |
} | |
table { | |
border: 1px solid #000; | |
width: 600px; | |
} | |
table th { | |
background-color: #333; | |
text-align: left; | |
color: #fff; | |
} | |
div.form { | |
background-color: #eee; | |
border: 2px solid #ddd; | |
width: 500px; | |
padding: 10px; | |
} | |
div.form label { | |
display: block; | |
} | |
div.form input { | |
margin-bottom: 15px; | |
} | |
div.form input[type="submit"] { | |
margin-bottom: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment