/* Driftfield: one small stylesheet, system fonts, light and dark. */
:root {
  --bg: #fbfaf6;
  --fg: #26261f;
  --muted: #6c6a5f;
  --rule: #dedbd0;
  --link: #2f5d50;
  --link-visited: #5b4b6e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1c19;
    --fg: #e4e1d6;
    --muted: #a19e92;
    --rule: #3a3b35;
    --link: #8fc4b1;
    --link-visited: #c2b2d6;
  }
}
html { background: var(--bg); color: var(--fg); }
body {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
a { color: var(--link); }
a:visited { color: var(--link-visited); }
header { border-bottom: 1px solid var(--rule); padding-bottom: .75rem; margin-bottom: 2rem; }
header a { color: var(--fg); text-decoration: none; font-weight: 600; }
header span { color: var(--muted); margin-left: .5rem; }
h1 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 .25rem; }
.meta { color: var(--muted); font-size: .9375rem; margin-top: 0; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { margin: 0 0 .6rem; display: grid; grid-template-columns: 10rem 1fr; column-gap: 1rem; }
ul.posts time { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 30rem) {
  ul.posts li { grid-template-columns: 1fr; }
}
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { overflow-x: auto; padding: .75rem; border: 1px solid var(--rule); }
footer { border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: .75rem; color: var(--muted); font-size: .9375rem; }
