Skip to content

Instantly share code, notes, and snippets.

@robrocker7
Created September 21, 2011 16:01
Show Gist options
  • Save robrocker7/1232470 to your computer and use it in GitHub Desktop.
Save robrocker7/1232470 to your computer and use it in GitHub Desktop.
@charset "UTF-8";
/************************************
* Reset *
************************************/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}:focus{outline:0;}body{line-height:1;color:#000;background: #fff;}ol,ul{list-style:none;}table{border-collapse:separate;border-spacing:0;}caption,th,td{text-align:left;font-weight:normal;}blockquote:before,blockquote:after,q:before,q:after{content:"";}blockquote,q{quotes:"" "";}.container_full{overflow:hidden;width:100%;}.padding_10{padding:10px;}.center{text-align:center;}.absolute{position:absolute!important;}.relative{position:relative!important;}.text-center{text-align:center;}.float_left{float:left;}
/********** Global Styles ***********/
body {
background: #CCC;
color: #000;
font:.8em/1.7em Arial,Helvetica,sans-serif;
margin: 0 0 20px;
height: auto !important;
min-height: 100%;
}
strong, b {
font-weight: bold;
}
em {
font-style: italic;
}
/********** Mixins ***********/
.bold() {
font-weight: bold;
}
.italic() {
font-style: italic;
}
// Mixin to add styles to make sure elements inside #wrapper have
// appropriate styles to show the shadow
.inside_wrapper() {
width: 964px;
margin-left: 5px;
}
.inline_list() {
display: inline;
float: left;
}
.sprite(@top, @left, @sprite: "/static/img/ico_sprites.png") {
background: url(@sprite) no-repeat scroll @top @left transparent;
}
/********** Template Main ***********/
#wrapper {
background: url(/static/img/sml_bg_shadow.gif) repeat-y scroll 0 0 transparent;
margin: 0 auto;
position: relative;
width: 974px;
}
.clear {
clear: both;
}
/********** Header Styles ***********/
#header {
.inside_wrapper;
background: url(/static/img/header_bg.jpg) repeat-x scroll 0 0 transparent;
padding: 0 12px;
span {
.bold;
.italic;
float: left;
}
#topnav {
float: right;
ul li {
.inline_list;
padding-right: 10px;
}
a {
color: #666;
text-decoration: none;
}
a:hover {
color: #BB3226;
text-decoration: underline;
}
.plus-one {
margin-top: 3px;
}
.chat {
.sprite(-10px, -156px);
padding-left: 20px;
}
.faq {
.sprite(-10px, -227px);
padding-left: 20px;
}
.agreement {
.sprite(-10px, -263px);
padding-left: 20px;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment