/* ---- 1990s low-fi, Netscape-era. Plain, spaced, readable. ----
   Shared stylesheet for all generated blog entries.
   Edit freely; run build_blog.py to mint a fresh ?v= cache-buster. */

html {
  /* The classic browser default tone, warmed slightly off pure white. */
  background: #d9d9d2;
}
body {
  font-family: Times, "Times New Roman", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fbfbf7;
  max-width: 38em;
  margin: 0 auto;
  padding: 2.5em 1.5em 5em;
  border-left: 1px solid #b5b5ac;
  border-right: 1px solid #b5b5ac;
}

/* ---- Masthead ---- */
.site {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}
.site a { color: #555; }

hr {
  border: 0;
  border-top: 1px solid #999;
  margin: 1.4em 0;
}
hr.thin { border-top: 1px solid #ccc; }

/* ---- Entry header ---- */
h1 {
  font-size: 28px;
  font-weight: normal;
  line-height: 1.25;
  margin: 0.2em 0 0.3em;
}
.meta {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  color: #666;
  margin-bottom: 0.5em;
}

/* ---- Body copy ---- */
h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 1.8em 0 0.4em;
}
h3 {
  font-size: 17px;
  font-weight: bold;
  margin: 1.5em 0 0.3em;
}
p { margin: 0 0 1.1em; }
a { color: #0000ee; }
a:visited { color: #551a8b; }

blockquote {
  margin: 1.2em 0;
  padding-left: 1.1em;
  border-left: 3px solid #c8c8be;
  color: #444;
  font-style: italic;
}

/* ---- Figures / images ---- */
figure {
  margin: 1.6em 0;
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
  border: 1px solid #cfcfc4;
}
figcaption {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  color: #666;
  margin-top: 0.5em;
}
/* Responsive 16:9 video embeds. */
figure.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
figure.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #cfcfc4;
}

/* ---- Code ---- */
pre {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.45;
  background: #f0f0e8;
  border: 1px solid #cfcfc4;
  padding: 0.9em 1em;
  overflow-x: auto;
}
code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.92em;
}
p code, li code {
  background: #f0f0e8;
  padding: 0.05em 0.3em;
  border: 1px solid #e0e0d6;
}
pre code { background: none; padding: 0; border: 0; }

/* ---- Lists ---- */
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

/* ---- Blog index listing ---- */
ul.entry-list {
  list-style: none;
  padding-left: 0;
}
ul.entry-list li {
  margin-bottom: 1.6em;
}
a.entry-title {
  font-size: 20px;
}
.entry-meta {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  color: #666;
  margin-top: 0.1em;
}
.entry-summary {
  margin-top: 0.25em;
  color: #333;
}

/* ---- Footer ---- */
.colophon {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #777;
  margin-top: 2em;
}
.colophon a { color: #777; }
