
/* Global styles ================================================ {{{ */

html {
  font-size: 62.5%;
}

body {
  font-family: "Merriweather", serif;
  font-size: 1.5rem;
  font-weight: 200;
  background: #f8f8f8;
}

a, a:active, a:visited {
  text-decoration: none;
  color: #222;
}
a:hover {
  color: #222;
}

h1, h2, h3, h4, h5 {
  margin: 1.5em 0 0.8em 0;
  font-weight: 200;
}
h1 {
  margin: 5rem 0 3rem 0;
  font-size: 2.8rem;
  text-align: center;
}
h2 {
  font-size: 2.2rem;
  font-weight: 500;
}
h3 {
  font-size: 1.8rem;
  font-weight: 500;
}
h4 {
  font-size: 1.6rem;
  font-weight: 700;
}

p, li {
  line-height: 1.8;
}
li {
  margin-bottom: 0.5rem;
}
p, ul, ol {
  margin-bottom: 2rem;
}

/* }}} */

/* Header ======================================================= {{{ */

header {
  background: #eee;
  padding: 15px 0;
}
header h1 {
  float: left;
  margin: 0;
  font-size: 1.5rem;
  line-height: 2rem;
}
header h1 .title {
  color: #888;
  font-weight: 500;
}

nav {
  float: right;
}
nav li {
  display: inline-block;
  margin: 0;
  margin-left: 28px;
  line-height: 2rem;
}
nav li a, nav li a:active, nav li a:visited {
  font-weight: 200;
  color: #888;
  text-decoration: none;
}

@media only screen and (max-width: 550px) {
  nav li {
    margin-left: 14px;
  }
}

@media only screen and (max-width: 480px) {
  nav .optional {
    display: none;
  }
}

@media only screen and (max-width: 345px) {
  nav li {
    font-size: 1.2rem;
  }
}

/* }}} */

/* Footer ======================================================= {{{ */

footer {
  color: #888;
  padding-top: 18px;
  font-size: 13px;
  text-align: center;
}

/* }}} */

/* Layout ======================================================= {{{ */

.main-col {
  margin: 0 auto;
  padding: 0 2.0rem;
  position: relative;
  max-width: 70rem;
}

.content {
  margin-top: 35px;
  margin-bottom: 35px;
}

/* }}} */

/* Entry list =================================================== {{{ */

.entry-date {
  font-style: italic;
  float: left;
  color: #888;
}

.entry-tags {
  float: right;
}

.entry-info {
  margin-bottom: 16px;
  color: #444;
}

/* }}} */

/* Content styling ============================================== {{{ */

.content pre {
  white-space: pre-wrap;
  line-height: 20px;
  font-family: Menlo, Inconsolata, monospace;
  padding: 8px;
  margin: 12px 0;
  background: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.content img.right {
  width: 40%;
  float: right;
  margin: 12px 0 12px 12px;
}

.content a {
  border-bottom: 1px solid #888;
}

.content h1 a, .content h2 a, .content h3 a, .content h4 a, .content h5 a {
  border-bottom: none;
}

.journal-entry {
  margin-bottom: 32px;
}

/* }}} */

/* Comments and social ========================================== {{{ */

.disqus-thread h3 {
  text-shadow: none;
}

.disqus-thread h3 {
  margin: 5px 0;
}

.disqus-thread .dsq-global-toolbar-container td {
  display: none;
}

.disqus-thread .dsq-global-toolbar-container td.dsq-global-toolbar-likes {
  display: inherit;
}

.twitter-share-button {
  float: right;
  position: relative;
  top: 22px;
}

/* }}} */

