/* General */
body {
  margin: 0;
  line-height: 1.5em;
  color: #333;
  font-family: helvetica, arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0;
  line-height: 1.2em;
  margin-top: 1em;
}

a:link,
a:visited {
  color: #00d;
  text-decoration: none;
}

a:hover,
a:active {
  color: #00f;
  text-decoration: underline;
}

/* Single column layout */
nav section,
header section,
main,
footer section {
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.5em;
}

/* Navigation panel */
nav {
  background: #333;
  border-bottom: thin solid #111;
  line-height: 3em;
}

nav a {
  margin-right: 1em;
}

nav a:link,
nav a:visited {
  color: #ccc;
}

nav a:hover,
nav a:active {
  color: #fff;
  text-decoration: none;
}

@media screen and (min-width: 600px) {
  nav .links {
    float: right;
  }
}

/* Footer */
footer {
  background: #eee;
  border-top: thin solid #ddd;
  margin-top: 2em;
  padding: 1em 0;
  box-shadow: 0 100vh 0 100vh #eee;
  text-align: center;
}

footer section p {
  font-size: 0.8em;
}

footer a {
  margin-right: 1em;
  white-space: nowrap;
}

footer a:last-child {
  margin-right: 0;
}

/* Posts */
article {
  margin-top: 1em;
  margin-bottom: 1em;
}

article h2 a:link,
article h2 a:visited,
article h1 a:link,
article h1 a:visited,
.more:link,
.more:visited {
  color: #333;
}

article h2 a:hover,
article h2 a:active,
article h1 a:hover,
article h1 a:active,
.more:hover,
.more:active {
  color: #777;
}

p.meta {
  margin-top: 0;
  font-size: 0.8em;
  color: #777;
  font-style: italic;
}

p.summary {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

div .more {
  margin-top: 0;
  font-weight: bold;
}

/* RSS */
.rss {
  padding: 0.3em 0.35em;
  border-radius: 0.25em;
  font-size: 0.75em;
  font-weight: bold;
}

.rss:link,
.rss:visited,
.rss:hover,
.rss:active {
  color: #fff;
  text-decoration: none;
}

.rss:link, .rss:visited {
  background: #f60;
}

.rss:hover, .rss:active {
  background: #f82;
}
