Skip to content

Instantly share code, notes, and snippets.

@robrocker7
Created September 21, 2011 16:47
Show Gist options
  • Save robrocker7/1232618 to your computer and use it in GitHub Desktop.
Save robrocker7/1232618 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;
}
@red: #C70909;
@darkblue: #014C9F;
@darkgrey: #333333;
/********** 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: 940px;
margin-left: 5px;
padding: 0 12px;
}
.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 bottom;
padding-bottom: 5px;
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;
}
}
#logo {
float: left;
#logo-icon {
.sprite(1px, -1451px);
height: 50px;
width: 55px;
float: left;
}
#logo-type {
float: left;
height: 50px;
width: 400px;
h1 {
color: @darkblue;
font-size: 36px;
font-weight: 800;
line-height: 26px;
letter-spacing: -1px;
margin-top: 6px;
}
h2 {
.bold;
color: @darkgrey;
font-size: 16px;
letter-spacing: 0.2px;
line-height: 20px;
}
}
}
#callnow {
float: right;
width: 385px;
p {
.bold;
font-size: 16px;
line-height: 16px;
float:right;
}
h4 {
.bold;
color: @red;
font-size: 32px;
line-height: 36px;
float:right;
}
#gelogo {
.sprite(-67px, -1450px);
float: right;
width: 149px;
height: 50px;
margin-left: 10px;
}
}
#navigation {
ul li {
.inline_list;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment