html {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.75em;
}

body {
  margin: 1em;
}

main {
  margin: 0 auto;
  max-width: 40em;
}

h1 {
  font-size: 2.5rem;
  line-height: 2.5rem;
}

a {
  color: #67bf3b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

time {
  white-space: nowrap;
}

.previous-and-next {
  display: flex;
  justify-content: space-between;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #333;
    color: white;
  }
}

/* Prism overrides */
code[class*="language-"],
pre[class*="language-"] {
  font-size: 0.875rem !important;
}

:not(pre) > code {
  padding: 0 0.2em 0.1em;
  border-radius: 0.3em;
  white-space: normal;
  background: #f5f2f0;
}

@media (prefers-color-scheme: dark) {
  :not(pre) > code {
    color: #000;
  }
}
