/* Shared tokens for dylanchenzhen.com: white paper, black ink, the cat's-eye
   cream and one red. One typeface, League Spartan, self-hosted (SIL Open Font
   License); small print is set in whatever monospace the system has. */
@font-face {
  font-family: "League Spartan";
  src: url("/assets/fonts/LeagueSpartan-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f4ee;
  --ink: #0c0c0c;
  --ink-dim: #66645f;
  --grey: #cfccc5;
  --cream: #f8f1af;
  --red: #d23b52;
  --font-display: "League Spartan", "Helvetica Neue", "Arial Black", Arial, sans-serif;
  --font-body: "League Spartan", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Roboto Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
