body {
  margin: 0px;
  padding: 0px;
  font: 62.5% 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif;
  color:#333;
}

h1, h2, h3 {
  font-weight: bold;
  text-align: left;
}

h1 {font-size:3em;}
h2 {font-size:1.4em;}
h3 {font-size:1.6em;padding-top:2em;}

p, ol, ul {
  line-height: 1.67em;
  font-size:1.3em;
}

ul {
  padding-left: 1.2em;
}

a {
  color: #222;
}

a:hover {
  color: #444;
  text-decoration: none;
}

hr {
  display: none;
}

.strong {
  font-weight:bold;
}

#header, #content, #footer {
  text-align:center;
}

.inner {
  width:900px;
  margin:0 auto;
  text-align:left;
}

#header {
  background-color:#414141;
  padding:3em 0 0;
}

#logo {padding-left:150px;}

#footer .inner {
  padding-top:2em;
}

#footer .site-section, #footer .section {
  border-top:1px solid #ddd;
  padding-top:1em;
  overflow:hidden;
  float:left;
}

#footer .site-section {
  width:120px;
}

#footer .section {
  width:250px;
  padding-left:10px;
}

#footer p, #footer a {
  font-size:1em;
  color: #777;
  margin-bottom:0.5em;
}

#footer h3 {
  font-size:1.2em;
  margin-bottom:0.5em;
  padding-top:0;
}

#footer ul {
  list-style:none;
  padding:0;
  margin:0;
}

#footer li {
  border-bottom:1px solid #ccc;
  margin:0;
  overflow:hidden;
}

#footer ul li:first-child {
  border-top:1px solid #ccc;
}

#footer ul.footer li a {
  text-decoration:none;
  display:block;
  padding:0.5em 2em 0.5em 0;
  margin:0;
}

#tweet p, #tweet a, #tweet ul, #tweet li {
  font-size:1em;
}

#tweet li {
  padding:0.5em 2em 0.5em 0;
}

#footer .tweet li a {
  display:inline;
}

#footer li a:hover {
  background-color:#fafafa;
}

#primary {
  float:left;
  width:650px;
  margin:0 50px 0 0;
  padding:0;
}

#comments {
  margin-left:150px;
  margin-bottom:4em;
}

#disqus_thread {
  font-size:1.2em;
}

#secondary {
  float:left;
  width:150px;
}

#secondary p {
  margin-bottom:0.5em;
}

#secondary p.about {
  font-size:1.1em;
}

a.rss {
  padding-left:15px;
  background:url('/images/rss-icon.png') no-repeat left;
}

/* Logo */

#logo h1 {
  text-transform: lowercase;
  letter-spacing: -2px;
  font-size: 3em;
  font-weight: normal;
}

#logo h1 a {
  display: block;
  text-decoration: none;
  color: #39f;
}

#logo h1 a span {
  color:#fefefe;
}

#logo p {
  text-transform: lowercase;
  margin-top:-20px;
  color:#fefefe;
}

#logo a {
  display: block;
  text-decoration: none;
}

/* Post */

.post, .page-header, .page-content {
  margin-left:15em;
}
.post { 
  margin-bottom:5em;
}

.post .date {
  margin-top:4px;
  float:left;
  clear:left;
  padding:0.25em 0.5em;
  margin-left:-70px;
  border:1px solid #aaa;
  background-color:#eee;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.post .date p, .post .date a {
  margin-bottom:0;
  text-transform: uppercase;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  color: #777;
}

.post h2.title {
  margin-bottom:10px;
}

.post .title a {
  font-size:1.4em;
  color: #555;
  text-decoration: none;
}

.tags {
  margin-top:-10px;
  line-height:normal;
  text-transform: lowercase;
  color: #ccc;
}

.tags a {
  color: #ccc;
}

.post .entry {
}

.post .entry p {
  margin-bottom:10px;
}

.post code {
  font-size:1.6em;
}

#new_post {
  position: absolute;
  top: 1em;
  right: 1em;
}

#new_post a {color:#fff;}

/* Archive */
.archive .date {
  font-size: 85%;
  color: #999;
  padding-right:1em;
}

.archive .title a {
  font-size: 120%;
  text-decoration: none;
  color: #333;
}

/* Code blocks */

pre {
  font-family: Monaco, monospace;
  color: #ccc;
  background: #000;
  border-left: 6px solid #222;
  padding: 0.4em;
  padding-left: 0.8em;
}

pre span.attribute { color: #009900; }
pre span.char { color: #F00; }
pre span.class { color: #A020F0; font-weight: bold; }
pre span.comment { color: #0000FF; }
pre span.constant { color: #008B8B; }
pre span.escape { color: #6A5ACD; }
pre span.expr { color: #2222CC; }
pre span.global { color: #11AA44; }
pre span.ident { color: #CCCCCC; }
pre span.keyword { color: #A52A2A; font-weight: bold; }
pre span.method { color: #008B8B; }
pre span.module { color: #A020F0; font-weight: bold; }
pre span.number { color: #DD00DD; }
pre span.punct { color: #6A5ACD; }
pre span.regex { color: #DD00DD; }
pre span.string { color: #DD00DD; }
pre span.symbol { color: #008B8B; }

/* Edit post */

form[name=edit] input[name=title] {
  font-size: 100%;
  width: 300pt;
}
form[name=edit] input[name=tags], form[name=edit] input[name=abstract] {
  font-size: 100%;
  width: 300pt;
}
form[name=edit] textarea {
  font-size: 100%;
  width: 50em;
  height: 25em;
}

/* =Disqus Hackery
 * --------------------------------------------------------------------- */
  .dsq-header-avatar {display:none;}
  div#dsq-popup-profile { left: 0 !important; }

  .dsq-by { display: none; }

  #disqus_thread #dsq-content h3 {
    font-weight:    normal !important;
    margin:         0 0 18px 0 !important;
}

#dsq-content #dsq-options-toggle { display: none; }
#dsq-content #dsq-comments .dsq-comment-rate { display: none; }

#disqus_thread #dsq-content #dsq-comments .dsq-comment-header {
  margin:         0px 0 0 -200px;
  padding-right:  10px;
  position:       absolute;
  text-align:     right !important;
  width:          190px;
}

#disqus_thread #dsq-content #dsq-comments .dsq-comment { border: 0;}

#disqus_thread #dsq-content #dsq-comments .dsq-comment .dsq-comment-footer { display: none; }

/* Comment Attribution */

#disqus_thread #dsq-content #dsq-comments .dsq-comment { position: relative; }

#disqus_thread #dsq-content #dsq-comments .dsq-comment-header cite { float: right; }

#disqus_thread #dsq-content #dsq-comments .dsq-comment-header .icon-adjust { display: none; }

#disqus_thread #dsq-content #dsq-comments .dsq-comment-header .dsq-header-meta {
  clear:          right;
  color:          #999;
  float:          right;
}

#disqus_thread#dsq-content #dsq-comments a.dsq-header-time {
  color:          #999;
  margin:         0;
}

#disqus_thread #dsq-content #dsq-comments .dsq-comment-header {
  height:         36px;
  line-height:    1em;
}


#disqus_thread #dsq-content #dsq-comments .dsq-comment-body {
  font-size:      12px;
  line-height:    18px;
  margin-top:     0;
}

#dsq-content #dsq-comments .dsq-comment-body a {
  border-bottom:  1px solid #ccc;
  text-decoration:none;
}
.dsq-comment-cite span{
  font-size:0.8em;
}  
#disqus_thread #dsq-content #dsq-comments .dsq-comment.dsq-moderator .dsq-comment-header cite {
  color:#39f;
}

.gist {
  font-size:1.4em;
  color:#333;
}

.gist .n {
  color:#333;
}
