:root {
  --solarized-base00: #839496;
  --solarized-base1:  #586e75;
  --keyword: #AF00DB;
  --type: #0000FF;
  --str: #A31515;
  --comment: #008000;
  --other: #000000;
  --cst: #098658;
  --bg: #f8f8f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --keyword: #569CD6;
    --type: #569CD6;
    --str: #CE9178;
    --comment: #6A9955;
    --other: #D4D4D4;
    --cst:#B5CEA8;
    --bg: #1E1E1E;
    --solarized-base00: #839496;
    --solarized-base1:  #586e75;
  }
}
 
pre, pre.numberSource {
  background: var(--bg);
}
pre code { color: var(--other); }
pre.numberSource > code.sourceCode > span > a:first-child::before {
  color: var(--solarized-base1);
}
code span.kw { color: var(--keyword);  font-weight: normal; font-style: normal; } /* Keyword */
code span.dt { color: var(--type); font-weight: normal; font-style: normal; } /* DataType */
code span.dv { color: var(--cst);   font-weight: normal; font-style: normal; } /* DecVal */
code span.bn { color: var(--cst);   font-weight: normal; font-style: normal; } /* BaseN */
code span.fl { color: var(--cst);   font-weight: normal; font-style: normal; } /* Float */
code span.ch { color: var(--str);   font-weight: normal; font-style: normal; } /* Char */
code span.st { color: var(--str);   font-weight: normal; font-style: normal; } /* String */
code span.co { color: var(--comment);  font-weight: normal; font-style: italic; } /* Comment */
code span.ot { color: var(--other);   font-weight: normal; font-style: normal; } /* Other */
code span.fu { color: var(--keyword);   font-weight: normal; font-style: normal; } /* Function */
code span.cn { color: var(--cst);   font-weight: normal; font-style: normal; } /* Constant */
code span.im { color: var(--solarized-base00); font-weight: normal; font-style: normal; } /* Import */
code span.va { color: var(--other);   font-weight: normal; font-style: normal; } /* Variable */
code span.cf { color: var(--keyword);  font-weight: normal; font-style: normal; } /* ControlFlow */
code span.op { color: var(--other);  font-weight: normal; font-style: normal; } /* Operator */
a.sourceLine::before { text-decoration: none; }

div.sourceCode {
  overflow-x: auto;
}

pre > code {
  white-space: unset;
}