html, body {
  font-family: "Roboto", Tahoma, Geneva, Verdana, sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  size: 1rem;
}


@media (prefers-color-scheme: light) {
  :root {
    --link-style: #0284C7;
    --blockquote-border-left: 1px solid #ccc;
    --highlighted-bg: yellow;
    --highlighted-fg: black;
    --code-background: rgba(255, 255, 255, 0.75);
  }

  body {
    background-image: url('/assets/img/logo-flame.png');
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: screen;
    background-size: 600px;
    background-position: bottom right;
    background-repeat: no-repeat;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --link-style: #7DD3FC;
    --blockquote-border-left: 1px solid #ccc;
    --highlighted-bg: #ca8a04;
    --highlighted-fg: white;
    --code-background: rgba(23, 23, 23, 0.75);
  }

  body {
    background-image: url('/assets/img/logo-flame.png');
    background-color: rgba(7, 7, 7, 0.9);
    background-blend-mode: multiply;
    background-size: 600px;
    background-position: bottom right;
    background-repeat: no-repeat;
  }
}

pre, code {
  font-family: "Fira Code", monospace;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  size: 0.6rem;
}

code.hljs {
  background-color: var(--code-background);
}

.hidden { display: none; }

.doc h1 { font-size: 2.4rem; }
.doc h2 { font-size: 1.8rem; margin-top: 1rem; }
.doc h3 { font-size: 1.4rem; margin-top: 1rem; }
.doc h4 { font-size: 1.25rem; margin-top: 1rem; }
.doc h5 { font-size: 1.1rem; margin-top: 1rem; }
.doc p { padding: 0.5rem 0 0.5rem 0; }
.doc ul { list-style-type: disc; padding: 0.5rem; padding-left: 2rem; }
.doc ol { list-style-type: decimal; padding: 0.5rem; padding-left: 2rem; }
.doc pre>code { width: 90%; }
.doc a:link, .doc a:visited { color: var(--link-style); }
.doc a:hover { text-decoration: underline; }
.doc blockquote {
  margin-top: 0.6rem;
  margin-left: 0;
  border-left: var(--blockquote-border-left);
  padding-left: 1rem;
}
a.doc-section-link.doc-link-h1 { font-size: 1.2rem; }
a.doc-section-link.doc-link-h2 { font-size: 1.0rem; padding-left: 1rem; }
a.doc-section-link.doc-link-h3 { font-size: 0.8rem; padding-left: 1.5rem; }

.tabs .tab-button.active { font-weight: bold; }
.tabs .tab-panes .tab { display: none; }
.tabs .tab-panes .tab.active { display: block; }

.readme h1, .readme h1 code { font-size: 2.0rem; }
.readme h2, .readme h2 code { font-size: 1.8rem; }
.readme h3, .readme h3 code { font-size: 1.6rem; }
.readme h4, .readme h4 code { font-size: 1.4rem; }
.readme h5, .readme h5 code { font-size: 1.2rem; }
.readme p { padding: 1rem 0 1rem 0; }
/*
.readme pre { margin-top: 1rem; }
.readme pre, .readme code {
    font-size: 0.8rem;
}
*/
.readme blockquote {
    border-left: var(--blockquote-border-left);
    margin-left: 0;
    padding-left: 1rem;
}
.readme a:link, .readme a:visited {
  color: var(--link-style);
}

.highlighted {
    font-family: "Fira Code", monospace;
    background-color: var(--highlighted-bg);
    color: var(--highlighted-fg);
}

