/* github-flavored markdown styles - embedded at build time */

html {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.markdown-body {
  box-sizing: border-box;
  min-width: 200px;
  max-width: 980px;
  margin: 0 auto;
  padding: 45px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2328;
  background: #ffffff;
}

/* ---- typography ---- */

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.markdown-body h1 {
  font-size: 2em;
  border-bottom: 1px solid #d0d7de;
  padding-bottom: 0.3em;
}

.markdown-body h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #d0d7de;
  padding-bottom: 0.3em;
}

.markdown-body h3 {
  font-size: 1.25em;
}

.markdown-body p {
  margin-top: 0;
  margin-bottom: 16px;
}

.markdown-body a {
  color: #0969da;
  text-decoration: none;
}

.markdown-body a:hover {
  text-decoration: underline;
}

/* ---- code ---- */

.markdown-body code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    monospace;
  font-size: 85%;
  background: #f6f8fa;
  border-radius: 4px;
  padding: 0.2em 0.4em;
}

.markdown-body pre {
  background: #f6f8fa;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  line-height: 1.45;
}

.markdown-body pre code {
  background: none;
  padding: 0;
  font-size: 100%;
}

/* ---- blockquotes ---- */

.markdown-body blockquote {
  border-left: 4px solid #d0d7de;
  padding: 0 1em;
  margin: 0 0 16px;
  color: #656d76;
}

/* ---- lists ---- */

.markdown-body ul,
.markdown-body ol {
  padding-left: 2em;
  margin-bottom: 16px;
}

.markdown-body li + li {
  margin-top: 0.25em;
}

/* ---- tables ---- */

.markdown-body table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
  background: #ffffff;
}

.markdown-body table th,
.markdown-body table td {
  border: 1px solid #d0d7de;
  padding: 6px 13px;
}

.markdown-body table th {
  font-weight: 600;
  background: #f6f8fa;
}

.markdown-body table td {
  background: #ffffff;
}

.markdown-body table tr:nth-child(2n) td {
  background: #f6f8fa;
}

/* ---- misc ---- */

.markdown-body hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background: #d0d7de;
  border: 0;
}

.markdown-body img {
  max-width: 100%;
}

.markdown-body .task-list-item {
  list-style-type: none;
}

.markdown-body .task-list-item input {
 margin-right: 0.5em;
}

/* ---- dark mode (at end so it wins cascade) ---- */

@media (prefers-color-scheme: dark) {
  html {
    background: #0d1117;
  }

  body {
    background: #0d1117;
  }

  .markdown-body {
    color: #e6edf3;
    background: #0d1117;
  }

  .markdown-body a {
    color: #58a6ff;
  }

  .markdown-body h1,
  .markdown-body h2,
  .markdown-body h3,
  .markdown-body h4,
  .markdown-body h5,
  .markdown-body h6 {
    border-bottom-color: #30363d;
  }

  .markdown-body code {
    background: #343941;
    color: #e6edf3;
  }

  .markdown-body pre {
    background: #161b22;
    color: #e6edf3;
  }

  .markdown-body pre code {
    background: none;
  }

  .markdown-body blockquote {
    border-left-color: #30363d;
    color: #8b949e;
  }

  .markdown-body table {
    background: #0d1117;
  }

  .markdown-body table th {
    background: #21262d;
    color: #e6edf3;
    border-color: #30363d;
  }

  .markdown-body table td {
    background: #0d1117;
    color: #e6edf3;
    border-color: #30363d;
  }

  .markdown-body table tr:nth-child(2n) td {
    background: #161b22;
  }

  .markdown-body hr {
    background: #30363d;
  }
}
