/* LAYOUT */

body {
    font-family: verdana, arial, sans-serif;
    color: #333;
    line-height: 1.5;
    max-width: 70rem;
    padding: 1rem;
    margin: 0 auto;
}

.content {
    margin-bottom: 2rem;
}

h1, h2 {
  font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
}

h1 {
  font-weight: 400;
}

h2 {
  font-weight: 300;
}

/* NAVIGATION */

.site-nav {
    display: flex;
}

.site-nav a {
    display: block;
    padding: 1rem;
}

.site-nav .logo {
    font-weight: bold;
    padding-left: 0;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 48rem) {
  .site-nav,
  .main-menu {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.5rem;
    padding-left: 0;
  }
}

img.resize {
    max-width: 100%;
    height: auto;
}

/* CODE */
code {
    color: #444;
    background: white;
}

/* Override Hugo's irritating styling for code blocks */

div.highlight pre {
    background-color: white !important;
    font-size: 16px;
    line-height: 130%;
}

code.verbatim {
    font-size: 16px;
}

/* LISTS */

.post-snippet {
  margin-bottom: 1rem;
}

.post-snippet h3 {
  margin-bottom: 0.25rem;
}

footer p.copyright {
    font-size: 60%;
    font-style: italic;
    color: #777;
}

td {
    padding-left: 20px;
    padding-right: 20px;
}

a.tag {
    color: #b7b7b7;
}

figcaption {
    font-style: italic;
}

span.imgerr {
    color: red;
    font-family: courier, fixed-width;
}
