Skip to content

Instantly share code, notes, and snippets.

@coolicer
Created January 18, 2013 02:46
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 coolicer/4561974 to your computer and use it in GitHub Desktop.
Save coolicer/4561974 to your computer and use it in GitHub Desktop.
/*Reset*/
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;}body,button,input,select,textarea{font:12px/1.5 tahoma,arial,\5b8b\4f53;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
address,cite,dfn,em,var{font-style:normal;}code,kbd,pre,samp{font-family:courier new,courier,monospace;}
small{font-size:12px;}
ul,ol{list-style:none;}
a{text-decoration:none;}
a:hover{text-decoration:underline;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
legend{color:#000;}
fieldset,img{border:0;}
button,input,select,textarea{font-size:100%;}
table{border-collapse:collapse;border-spacing:0;}
/*Grid System*/
.w960{width:960px;}
.col-main{float:left;width:100%;min-height:1px;}
.col-sub,.col-extra{float:left;}
.layout:after,.main-wrap:after,.col-sub:after,.col-extra:after{content:'\20';display:block;height:0;clear:both;}
.layout,.main-wrap,.col-sub,.col-extra{*zoom:1;}
/*Clearfix*/
.clearfix:after { clear:both; display:table; height:0; content:" "; }
.clearfix { *zoom:1;}
/*some short hand*/
.fr { float:right;}
.fl { float:left;}
.show { display:block;}
.hide { display:none;}
.hidden { overflow:hidden;}
.alignTop { vertical-align:top!important;}
.alignMid { vertical-align:middle!important;}
.alignBtm { vertical-align:bottom!important;}
.alignLft { text-align:left;}
.alignRig { text-align:right;}
.alignCnt { text-align:center;}
.ml10 { margin-left:10px!important;}
.mr10 { margin-right:10px!important;}
.mt10 { margin-top:10px!important;}
.mb10 { margin-bottom:10px!important;}
.mb-zero { margin-bottom: 0!important;}
.pt10 { padding-top: 10px;}
.pb10 { padding-bottom: 10px;}
.pl10 { padding-left: 10px;}
.pr10 { padding-right: 10px;}
.noPadding { padding:0!important;}
.pointer { cursor: pointer;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment