Skip to content

Instantly share code, notes, and snippets.

@ryross
Created August 5, 2010 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryross/509224 to your computer and use it in GitHub Desktop.
Save ryross/509224 to your computer and use it in GitHub Desktop.
public_html/css/base.css
/* DISCLAIMER: This file was based off of YUI reset and font css files. */
html{color:#000;background:#FFF;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {margin:0;padding:0;color:#222;}
table { border-spacing: 0; border-collapse: collapse; }
th, td { border:1px solid #000; padding:.5em; }
th { font-weight:bold; text-align:center;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,em,strong,var { font-style:normal; font-weight:normal; }
li { list-style:none; }
abbr, acronym { border-bottom:1px dotted #000; cursor:help; }
blockquote, ul, ol, dl { margin:1em; }
ol, ul, dl { margin-left: 2em; }
ol li { list-style-type: decimal; }
ul li { list-style-type: disc; }
dl dd { margin-left:1em; }
p, fieldset, table, pre { margin-bottom:1em; }
input, textarea, select { font-family:inherit; font-size:inherit; font-weight:inherit; }
input[type=text], input[type=password], textarea {
width:15em;
*width:11.9em;
}
a{font-weight:bold;}
a:link{color:#333;}
a:visited{color:#333;}
a:hover{color:#000;}
a:active{color:#333;}
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; margin:0.3em 0;}
h1, .h1 {font-size:28px;font-weight:bold;}
h2, .h2 {font-size:22px;font-weight:bold;}
h3, .h3 {font-size:18px;font-weight:bold;}
h4, .h4 {font-size:16px;font-weight:bold;}
h5, .h5 {font-size:14px;font-weight:bold;}
h6, .h6 {font-size:26px;font-weight:bold;}
em {font-style: italic;}
strong{font-weight:bold;}
pre {text-align:left;}
.errors {background-color:#f99;font-weight:bold;border:1px solid #b00;padding:3px;margin:5px 0 10px 0;}
.alert {background-color:#fd9;font-weight:bold;border:1px solid #b90;padding:3px;margin:5px 0 10px 0;}
.errors h3, .alert h3 {color:#f00;}
.form-row {margin-bottom: 1em;}
.form-row label{display:block; font-weight:bold;}
.form-row label.inline{display:inline; font-weight:normal;}
.form-line {margin-bottom: 1em;clear:both;}
.form-line label{float:left; width:175px;font-weight:bold;}
.form-line label.inline{display:inline; font-weight:normal;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment