/* A small personal page. No fonts or assets are loaded from elsewhere. */
body {
  max-width: 720px;
  margin: 28px auto;
  padding: 0 20px;
  background: #faf9f5;
  color: #292929;
  font: 16px/1.85 Georgia, "Times New Roman", "Songti SC", SimSun, serif;
}
a { color: #000099; }
a:visited { color: #663399; }
.site-title { margin-bottom: 0; font-size: 1.4rem; }
.subtitle { margin: 0 0 12px; color: #595959; font-size: .9rem; }
nav, .date, figcaption, footer, .note { font-size: .9rem; }
nav { margin-bottom: 18px; }
hr { border: 0; border-top: 1px solid #b7b5af; }
h1 { margin-bottom: 0; font-size: 1.5rem; }
h2 { margin-top: 1.6em; font-size: 1.1rem; }
.date { margin-top: 2px; color: #595959; }
.comparison { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
figure { flex: 1 1 256px; margin: 12px 0; text-align: center; }
figure img { width: 256px; height: 256px; max-width: 100%; object-fit: contain; image-rendering: pixelated; }
.palette { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.sample { text-align: center; font-size: .875rem; }
.swatch { display: block; width: 28px; height: 20px; border: 1px solid #777; }
summary { cursor: pointer; color: #000099; text-decoration: underline; }
pre { padding: 12px; overflow: auto; border: 1px solid #b7b5af; background: #fff; font: 14px/1.6 monospace; }
footer { margin-top: 32px; color: #595959; }
