
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
*/
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;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym{border:0;font-variant:normal;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
input,textarea,select{*font-size:100%;}
legend{color:#000;}
del,ins{text-decoration:none;}
/* end of Yahoo code */

@font-face {
  font-family: 'Droid Sans';
  src: local('Droid Sans'),
       url('/fonts/DroidSans.ttf') format('truetype');
}

@font-face {
  font-family: 'Droid Sans';
  src: local('Droid Sans Bold'),
       url('/fonts/DroidSans-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Droid Serif';
  src: local('Droid Serif'),
       url('/fonts/DroidSerif-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Droid Serif';
  src: local('Droid Serif Bold'),
       url('/fonts/DroidSerif-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Droid Serif';
  src: local('Droid Serif Italic'),
       url('/fonts/DroidSerif-Italic.ttf') format('truetype');
  font-style: italic;
}

@font-face {
  font-family: 'Droid Serif';
  src: local('Droid Serif Bold Italic'),
       url('/fonts/DroidSerif-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

html {
  font-family: 'Droid Sans', 'Trebuchet MS', sans-serif;
  font-size: 16px;
  line-height: 24px;

  color: #333;
  background: #fff;
}

body {
  position: relative;
  width: 710px;
  margin: 0 auto;
}

body.grid {
  background-image: url(/img/grid-110x24-10-2x4-red.png);
}

#content {
  padding-top: 96px;
  overflow: hidden;
}

.date {
  float: left;
  width: 100px;
  text-align: right;
  padding: 0 5px;
  color: #777;
  font-family: Scala, Constantia, Georgia, serif;
  font-size: 14px;
}

p, h1, h2, h3, h4, li, dd, blockquote {
  padding: 0 5px;
}

p, h1, h2, h3, h4, pre, ul, ol, dl, blockquote {
  margin-top: 0;
  margin-bottom: 24px;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote {
  border-left: 2px solid #777;
  font-family: 'Droid Sans', 'Trebuchet MS', sans-serif;
  padding: 24px 10px;
}

dt {
  float: left;
  width: 100px;
  text-align: right;
  padding: 0 5px;
  font-weight: bold;
}

dd {
  margin-left: 120px;
}

acronym, abbr {
  font-size: 0.91em;
  letter-spacing: -1px;
}

code {
  font: 14px Consolas, Monaco, monospace;
  line-height: 0; /* hack */
  background: #eee;
  border: 1px solid #ccc;
  padding: .1em .3em;
}

pre {
  background: #333;
}

pre > code {
  display: inline-block;
  line-height: 16px;
  background: #333;
  color: #fff;
  border: none;
  padding: 8px 5px;
}

pre.l0 {
  margin-bottom: 32px;
}

pre.l1 {
  margin-top: -4px;
  margin-bottom: 20px;
}

pre.l2 {
  margin-bottom: 24px;
}

.posts li {
  overflow: hidden;
  padding: 0;
}

.posts p, .posts ul, .posts ol {
  margin-left: 120px;
  margin-bottom: 0;
}

.posts .snip-box > p.snip {
  font-family: Scala, Constantia, Georgia, serif;
  text-align: justify;
}

.posts .snip-box {
  margin-bottom: 24px;
}

h1 {
  font-size: 24px;
  letter-spacing: -1px;
}

h2 {
  /*font-size: 18.6667px;*/
  font-weight: bold;
  color: #555;
}

.footnotes:before {
  /*font-size: 18.6667px;*/
  font-weight: bold;
  margin-bottom: 0;
  color: #555;
}

h3 {
}

h4, h5, h6 {
  background: red;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

:link, :visited {
  text-decoration: none;
  font-weight: bold;
  color: #bc362d;
}

a[href]:hover {
  text-decoration: underline;
}

a[sprite] {
  background: url(/img/sprites.png) -2px 50px no-repeat;
  background-position: -2px -(2 + attr(sprite, int) * 20)px; /* CSS3 please? */
  padding-left: 20px;
}

ul.simple, ol.simple {
  padding-left: 5px;
  margin-bottom: 24px;
}

ul.simple li, ol.simple li {
  list-style: disc;
  padding-left: 0px;
}

#nav {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 5px;
  right: 0;
}

#footer address {
  padding: 0 5px;
}

#footer address, #footer a {
  font-size: 14px;
  line-height: 24px;
  color: #777;
}

.rcol {
  float: right;
  width: 110px;
}

#nav:before, #nav:after {
  content: '​';
  display: block;
  margin: 0 -5px 21px;
  height: 3px;
}

#nav:before {
  background: url(/img/std-ft.png);
  height: 24px;
  margin-bottom: 0;
}

#nav:after {
  background: url(/img/std-rt.png);
}

#nav a {
  color: #333;
}

#footer:before, #footer:after {
  content: '​';
  display: block;
  margin: 0;
}

#footer:before {
  background: url(/img/std-rb.png);
  margin-bottom: 21px;
  height: 3px;
}

#footer:after {
  background: url(/img/std-fb.png);
  height: 48px;
}


/* 2-col layout */
.left, .right {
  float: left;
  width: 350px;
}

.right {
  margin-left: 10px;
}

.wrap {
  overflow: auto;
}

#post {
  margin-top: 48px;
  position: relative;
}

#post h1, #post h2, #post h3, #post h4,
#post p, #post pre, #post ul, #post ol,
#post dl {
  margin-left: 120px;
  margin-right: 120px;
}

#post blockquote {
  border-left: 2px solid #aaa;
  font-family: 'Droid Sans', 'Trebuchet MS', sans-serif;
  padding: 0 0 0 2px;
  margin: 0 120px 24px 116px;
  font-size: 0.91em;
  font-size: 0.91rem;
}

#post p, #post ul, #post ol {
  font-family: Scala, Constantia, Georgia, serif;
  text-align: justify;
}

#post ol > li {
  list-style: decimal outside;
}

#post ul > li {
  list-style: disc outside;
}

#post blockquote p, #post li p {
  margin-left: 0;
  margin-right: 0;
}

#post blockquote ul, #post blockquote ol {
  margin-left: 25px;
  margin-right: 0;
}

#post pre.wide, #post .gist pre {
  margin-left: 0;
  margin-right: 0;
  font-size: 14px;
}

.gist pre {
  margin-bottom: 0;
}

.gist {
  margin-bottom: 20px;
}

#meta {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
         padding-top: 48px;
}

#meta h2 {
  margin-right: 0;
  margin-left: 0;
}

#meta p {
  margin: 0;
}

#meta ul {
  margin: 0 0 24px;
  line-height: 20px;
  color: #777;
}

#related h2 {
  margin-left: 120px;
  margin-bottom: 0;
}

.extra {
  font-size: 14px;
  margin-left: 10px;
  line-height: 1px; /* hack */
}

a.feed {
  background: url(/img/feed.png) no-repeat 0 50%;
  padding-left: 16px;
}

iframe {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: none;
  margin: 0;
  padding: 0;
}

.ws-full {
  width: 710px;
  height: 408px;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

.footnotes {
  margin-top: 48px;
  font-size: 14px;
}

.footnotes > ol > li {
  list-style: decimal inside;
}

.footnotes hr {
  display: none;
}

.footnotes:before {
  content: "Footnotes";
  float: left;
  width: 100px;
  text-align: right;
  padding: 0 5px;
}

.footnotes p {
  display: inline;
}

.footnotes p:before {
  content: "¶";
  padding: 0 5px;
  color: #a30;
}

.footnotes p:first-child:before {
  content: none;
}

.footnotes li {
  margin-bottom: 24px;
}
