/* Gitfox's GitHub-style presentation for cmark-gfm output. */

body {
  --base-size-16: 1rem;
  --base-size-24: 1.5rem;
  --base-size-40: 2.5rem;
  --base-text-weight-normal: 400;
  --base-text-weight-semibold: 600;
  --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  --fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --bgColor-attention-muted: #fff8c5;
  --bgColor-default: #ffffff;
  --bgColor-muted: #f6f8fa;
  --bgColor-neutral-muted: #818b981f;
  --borderColor-default: #d1d9e0;
  --borderColor-muted: #d1d9e0b3;
  --fgColor-accent: #0969da;
  --fgColor-default: #1f2328;
  --fgColor-muted: #59636e;
  --focus-outlineColor: #0969da;

  color-scheme: light;
  margin: 20px;
  color: var(--fgColor-default);
  background-color: transparent;
  font-family: var(--fontStack-sansSerif);
  font-size: 16px;
  font-weight: var(--base-text-weight-normal);
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  body {
    --bgColor-attention-muted: #bb800926;
    --bgColor-default: #0d1117;
    --bgColor-muted: #151b23;
    --bgColor-neutral-muted: #656c7633;
    --borderColor-default: #3d444d;
    --borderColor-muted: #3d444db3;
    --fgColor-accent: #4493f8;
    --fgColor-default: #f0f6fc;
    --fgColor-muted: #9198a1;
    --focus-outlineColor: #1f6feb;

    color-scheme: dark;
  }
}

body::before {
  display: table;
  content: "";
}

body::after {
  display: table;
  clear: both;
  content: "";
}

body > :first-child {
  margin-top: 0 !important;
}

body > :last-child {
  margin-bottom: 0 !important;
}

body [hidden] {
  display: none !important;
}

body a {
  color: var(--fgColor-accent);
  text-decoration: none;
}

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

body a:focus-visible,
body input[type=checkbox]:focus-visible {
  outline: 2px solid var(--focus-outlineColor);
  outline-offset: 0;
}

body a:not([href]) {
  color: inherit;
  text-decoration: none;
}

body abbr[title] {
  border-bottom: 0;
  text-decoration: underline dotted;
}

body b,
body strong {
  font-weight: var(--base-text-weight-semibold);
}

body dfn {
  font-style: italic;
}

body mark {
  color: var(--fgColor-default);
  background-color: var(--bgColor-attention-muted);
}

body small {
  font-size: 90%;
}

body sub,
body sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

body sub {
  bottom: -.25em;
}

body sup {
  top: -.5em;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  margin-top: var(--base-size-24);
  margin-bottom: var(--base-size-16);
  font-weight: var(--base-text-weight-semibold);
  line-height: 1.25;
}

body h1,
body h2 {
  padding-bottom: .3em;
  border-bottom: 1px solid var(--borderColor-muted);
}

body h1 {
  font-size: 2em;
}

body h2 {
  font-size: 1.5em;
}

body h3 {
  font-size: 1.25em;
}

body h4 {
  font-size: 1em;
}

body h5 {
  font-size: .875em;
}

body h6 {
  color: var(--fgColor-muted);
  font-size: .85em;
}

body h1 code,
body h2 code,
body h3 code,
body h4 code,
body h5 code,
body h6 code {
  padding: 0 .2em;
  font-size: inherit;
}

body p,
body blockquote,
body ul,
body ol,
body dl,
body table,
body pre,
body details {
  margin-top: 0;
  margin-bottom: var(--base-size-16);
}

body blockquote {
  padding: 0 1em;
  color: var(--fgColor-muted);
  border-left: .25em solid var(--borderColor-default);
}

body blockquote > :first-child {
  margin-top: 0;
}

body blockquote > :last-child {
  margin-bottom: 0;
}

body ul,
body ol {
  padding-left: 2em;
}

body ul ul,
body ul ol,
body ol ol,
body ol ul {
  margin-top: 0;
  margin-bottom: 0;
}

body ol ol,
body ul ol {
  list-style-type: lower-roman;
}

body ul ul ol,
body ul ol ol,
body ol ul ol,
body ol ol ol {
  list-style-type: lower-alpha;
}

body li > p {
  margin-top: var(--base-size-16);
}

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

body dl {
  padding: 0;
}

body dl dt {
  margin-top: var(--base-size-16);
  font-size: 1em;
  font-style: italic;
  font-weight: var(--base-text-weight-semibold);
}

body dl dd {
  padding: 0 var(--base-size-16);
  margin-left: 0;
  margin-bottom: var(--base-size-16);
}

body hr {
  height: .25em;
  padding: 0;
  margin: var(--base-size-24) 0;
  overflow: hidden;
  background-color: var(--borderColor-default);
  border: 0;
}

body table {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: auto;
  border-spacing: 0;
  border-collapse: collapse;
  font-variant: tabular-nums;
}

body table th {
  font-weight: var(--base-text-weight-semibold);
}

body table th,
body table td {
  padding: 6px 13px;
  border: 1px solid var(--borderColor-default);
}

body table tr {
  background-color: var(--bgColor-default);
  border-top: 1px solid var(--borderColor-muted);
}

body table tr:nth-child(2n) {
  background-color: var(--bgColor-muted);
}

body table td > :last-child {
  margin-bottom: 0;
}

body img {
  max-width: 100%;
  box-sizing: content-box;
  border-style: none;
}

body figure {
  display: block;
  margin: 1em var(--base-size-40);
}

body figcaption {
  display: block;
}

body details {
  display: block;
}

body details summary {
  display: list-item;
  cursor: pointer;
}

body summary h1,
body summary h2,
body summary h3,
body summary h4,
body summary h5,
body summary h6 {
  display: inline-block;
}

body summary h1,
body summary h2 {
  padding-bottom: 0;
  border-bottom: 0;
}

body code,
body kbd,
body pre,
body samp {
  font-family: var(--fontStack-monospace);
}

body code {
  padding: .2em .4em;
  margin: 0;
  font-size: 85%;
  white-space: break-spaces;
  background-color: var(--bgColor-neutral-muted);
  border-radius: 6px;
}

body code br {
  display: none;
}

body del code {
  text-decoration: inherit;
}

body kbd {
  display: inline-block;
  padding: .25rem;
  font-size: 11px;
  line-height: 10px;
  color: var(--fgColor-default);
  vertical-align: middle;
  background-color: var(--bgColor-muted);
  border: 1px solid var(--borderColor-muted);
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 var(--borderColor-muted);
}

body samp {
  font-size: 85%;
}

body pre {
  padding: var(--base-size-16);
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  overflow-wrap: normal;
  color: var(--fgColor-default);
  background-color: var(--bgColor-muted);
  border-radius: 6px;
}

body pre code {
  display: inline;
  padding: 0;
  margin: 0;
  overflow: visible;
  font-size: 100%;
  line-height: inherit;
  white-space: pre;
  overflow-wrap: normal;
  background-color: transparent;
  border: 0;
}

body input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}

body li > input[type=checkbox] {
  margin: 0 .2em .25em -1.4em;
  vertical-align: middle;
}
