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

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

html, body { height: 100%; }

body {
  background-color: #FFF;
  font: 14px Helvetica, Arial, sans-serif;
  text-align: center;
}

h1 {
  font-size: 140%:
}

h2 {
	font-size: 120%;
	margin-top: 1em;
}

h3, h4, h5, h6 {
	font-size: 100%;
	margin-top: 1em;
}

h3 {
  margin-top: 2.5em;
}

h1 { margin-bottom: 1em; }
p { margin: 1em 0; }

a         { color: #222; }
a:hover   { color: #eee }
a:visited { color: #444; }

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

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

.posts span {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
  font-size: 100%;
}

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

.site {
  font-size: 130%;
  text-align: justify;
  width: 60%;
  min-width: 42em;
  margin: 3em auto 2em;
  line-height: 1.5em;
}

.header a {
  font-weight: bold;
  text-decoration: none;
}

.title {
  display: inline-block;
  margin-bottom: 2em;
}

.title a {
  color: #000;
}

.title a:hover {
  color: #000;
}

.header a.extra {
  color: #aaa;
  margin-left: 1em;
}

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

.meta {
  color: #000;
}

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

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

.footer .contact a {
  color: #4099ff;
  text-decoration: none;
}

.footer .contact a:hover {
  text-decoration: underline;
}

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

.footer .rss img {
  border: 0;
}

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

/* standard */
.post pre {
  border: 1px solid #ddd;
  background-color: #efefef;
  padding: 0.4em .4em;
  margin: 1em 0;
  overflow-x: auto ;
  overflow-y: hidden;
}

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

.post code {
  border: 1px solid #ddd;
  background-color: #efefef;
  padding: 0 .2em;
  font-size: 90%;
}

.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;
}

.post img {
  max-width: 100%;
}
