/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  background-color: #FFF;
  font: 1em 'Crimson Text', serif;
  /*font-size: small;*/
  text-align: center;
}

h3, h4, h5, h6 {
  font-size: 100%; }

h2 {
  font-family: 'Rufina', serif;
  font-weight: normal;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

div.post_title {
  float: left;
  clear: both;
  margin-right: 3em;
}

.post_title h2 {
  margin-top: 0.5em;
}

p { 
  margin: 1em 0; 
  display: block;
  overflow: hidden;
}

a { 
  color: #8085C1; 
  text-decoration: none; 
}

a:hover   { color: #000; }
/*a:visited { color: #666; }*/

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
ul.posts {
  list-style-type: none;
  margin-bottom: 2em;
}

ul.posts li {
  line-height: 1.75em;
}

ul.posts span {
  color: #aaa;
  font-family: 'Source Code Pro', monospace;
  font-size: 80%;
}

#home, .post {
  font-size: 1.3em;
  line-height: 1.5em;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
  font-size: 115%;
  text-align: justify;
  margin: 6em 10% 2em 10%;
  max-width: 70em;
  line-height: 1.5em;
}

.site .header a {
  text-decoration: none;
}

.site .header {
  margin-bottom: 3em;
  overflow:hidden;
  /*text-align: right;*/
}


.site .header h1.title {
  display: block;
  margin-bottom: 0.5em;
  line-height:1em;
  font-family: 'Rufina', serif;
  font-size: 3em;
  font-weight: normal;
  text-align: left;
  float:left;
}

.site .header h1.title a {
  color: #888;
}

.site .header h1.title a:hover {
  color: #000;
}

.site .header a.extra {
  color: #aaa;
  font-size: 1.3em;
  line-height:3em;
  margin-left: 2em;
}

.site .header a.extra:hover {
  color: #000;
}

.site .meta {
  color: #aaa;
}

.site .footer {
  font-size: 80%;
  color: #666;
  border-top: 4px solid #eee;
  margin-top: 5em;
  overflow: hidden;
}

.site .footer .contact {
  float: left;
  margin-right: 3em;
}

.site .footer .contact a {
  color: #8085C1;
}

.site .footer .rss {
  margin-top: 1.1em;
  margin-right: -.2em;
  float: right;
}

.site .footer .rss img {
  border: 0;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

/* standard */
.post pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
}

.post ul, .post ol {
  margin-left: 1.35em;
}

.post code {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .2em;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.6em;
  line-height:100%;
}
.post pre {
  padding: 1em;
  line-height: 1em;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}
