
* { margin: 0; padding: 0 }

body, pre, code {
  font-family: courier, monospace;
  font-size: 18px;
}

.hidden {
  display: none !important;
}

.contact {
  font-size: 0.9em;
}

.contact .copy {
  font-size: 0.8em;
}

nav {
  margin-top: 45px;
}

nav a.current {
  text-decoration: none;
  color: black;
}

body > header {
  margin: 75px;
  text-align: center;
}

body > header h1 {
  font-weight: normal;
  font-size: 1.2em;
  line-height: 0.6em;
  margin-bottom: 1em;
}

body > header p {
  margin: 5px 0;
  font-size: 0.9em;
}

.post {
  display: inline-block;
  padding: 90px;
  vertical-align: top;
}

.post header {
  display: block;
  margin-bottom: 1em;
}

.post p {
  margin: 1em 0;
}
.post p:first-child {
  margin-top: 0;
}

.post header h1 {
  font-size: 1em;
  font-weight: normal;
  margin-bottom: 1em;
  margin-top: 0.2em;
}

.post header {
  text-align: left;
  max-width: 300px;
}

.post .date {
  color: #aaa;
}

.post .content {
  text-align: left;
}

.post img {
  width: 100%;
  height: auto;
}

img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

/* Retina displays */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
  .post img {
    width: auto;
    max-width: 450px;
    max-height: 450px;
  }
}

/* iPhone 6 */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (orientation: portrait),

/* iPhone 6 Plus */
(min-device-width: 540px)
and (max-device-width: 960px)
and (orientation: portrait),

/* iPhone 5/5S */
(min-device-width: 320px)
and (max-device-width: 568px)
and (orientation: portrait),

/* iPhone */
(min-device-width: 320px)
and (max-device-width: 480px)
and (orientation: portrait) {
  body {
    font-size: 28px;
  }
  .post {
    display: block;
  }
  .post img {
    width: 100% !important;
    height: auto;
    max-height: none !important;
    max-width: none !important;
  }
  .post .content {
    width: 100%;
  }
}
