@media (prefers-color-scheme: light) {
  code[class*="language-"],
  pre[class*="language-"] {
    color: #000;
    font-family: "jetbrainsmono", monospace;
    direction: ltr;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    font-size: 0.9em;
    line-height: 1.5em;

    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;

    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;

    font-variant-ligatures: none;
    font-feature-settings: "liga" 0;
  }

  pre[class*="language-"]::-moz-selection,
  pre[class*="language-"] ::-moz-selection,
  code[class*="language-"]::-moz-selection,
  code[class*="language-"] ::-moz-selection {
    background: #c1def1;
  }

  pre[class*="language-"]::selection,
  pre[class*="language-"] ::selection,
  code[class*="language-"]::selection,
  code[class*="language-"] ::selection {
    background: #c1def1;
  }

  /* Code blocks */
  pre[class*="language-"] {
    padding: 0.75em;
    margin: 0.5em 0;
    overflow: auto;
    background-color: #efefef;
  }

  /* Inline code */
  :not(pre) > code {
    font-family: "jetbrainsmono", monospace;
    font-size: 0.8em;
    padding: 0.2em;
    padding-top: 1px;
    padding-bottom: 1px;
    background: #efefef;
  }

  .token.comment,
  .token.prolog,
  .token.doctype,
  .token.cdata {
    color: #008000;
    font-style: italic;
  }

  .token.namespace {
    opacity: 0.7;
  }

  .token.string {
    color: #a31515;
  }

  .token.punctuation,
  .token.operator {
    color: #393a34; /* no highlight */
  }

  .token.url,
  .token.symbol,
  .token.number,
  .token.boolean,
  .token.variable,
  .token.constant,
  .token.inserted {
    color: #36acaa;
  }

  .token.atrule,
  .token.keyword,
  .token.attr-value,
  .language-autohotkey .token.selector,
  .language-json .token.boolean,
  .language-json .token.number,
  code[class*="language-css"] {
    color: #0000ff;
  }

  .token.function {
    color: #393a34;
  }

  .token.deleted,
  .language-autohotkey .token.tag {
    color: #9a050f;
  }

  .token.selector,
  .language-autohotkey .token.keyword {
    color: #00009f;
  }

  .token.important {
    color: #e90;
  }

  .token.important,
  .token.bold {
    font-weight: bold;
  }

  .token.italic {
    font-style: italic;
  }

  .token.class-name,
  .language-json .token.property {
    color: #2b91af;
  }

  .token.tag,
  .token.selector {
    color: #800000;
  }

  .token.attr-name,
  .token.property,
  .token.regex,
  .token.entity {
    color: #ff0000;
  }

  .token.directive.tag .tag {
    background: #ffff00;
    color: #393a34;
  }

  /* overrides color-values for the Line Numbers plugin
 * http://prismjs.com/plugins/line-numbers/
 */
  .line-numbers.line-numbers .line-numbers-rows {
    border-right-color: #a5a5a5;
  }

  .line-numbers .line-numbers-rows > span:before {
    color: #2b91af;
  }

  /* overrides color-values for the Line Highlight plugin
* http://prismjs.com/plugins/line-highlight/
*/
  .line-highlight.line-highlight {
    background: rgba(193, 222, 241, 0.2);
    background: -webkit-linear-gradient(
      left,
      rgba(193, 222, 241, 0.2) 70%,
      rgba(221, 222, 241, 0)
    );
    background: linear-gradient(
      to right,
      rgba(193, 222, 241, 0.2) 70%,
      rgba(221, 222, 241, 0)
    );
  }
}

@media (prefers-color-scheme: dark) {
  code[class*="language-"],
  pre[class*="language-"] {
    color: #fff;
    font-family: "jetbrainsmono", monospace;
    direction: ltr;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    font-size: 0.9em;
    line-height: 1.5em;

    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;

    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;

    font-variant-ligatures: none;
    font-feature-settings: "liga" 0;
  }
  :not(pre) > code[class*="language-"],
  pre[class*="language-"] {
    background: #151515;
  }
  pre[class*="language-"] {
    margin: 0.5em 0;
    overflow: auto;
    padding: 1em;
  }
  pre[class*="language-"]::-moz-selection {
    background: #27292a;
  }
  pre[class*="language-"]::selection {
    background: #27292a;
  }
  code[class*="language-"] ::-moz-selection,
  code[class*="language-"]::-moz-selection,
  pre[class*="language-"] ::-moz-selection,
  pre[class*="language-"]::-moz-selection {
    text-shadow: none;
    background: hsla(0, 0%, 93%, 0.15);
  }
  code[class*="language-"] ::selection,
  code[class*="language-"]::selection,
  pre[class*="language-"] ::selection,
  pre[class*="language-"]::selection {
    text-shadow: none;
    background: hsla(0, 0%, 93%, 0.15);
  }

  /* Code blocks */
  pre[class*="language-"] {
    padding: 0.75em;
    margin: 0.5em 0;
    overflow: auto;
    background-color: #151515;
  }

  /* Inline code */
  :not(pre) > code {
    font-family: "jetbrainsmono", monospace;
    font-size: 0.8em;
    padding: 0.2em;
    padding-top: 1px;
    padding-bottom: 1px;
    background: #151515;
  }

  .token.cdata,
  .token.comment,
  .token.doctype,
  .token.prolog {
    color: #777;
  }
  .token.punctuation {
    opacity: 0.7;
  }
  .token.namespace {
    opacity: 0.7;
  }
  .token.boolean,
  .token.deleted,
  .token.number,
  .token.tag {
    color: #ce6849;
  }
  .token.builtin,
  .token.constant,
  .token.keyword,
  .token.property,
  .token.selector,
  .token.symbol {
    color: #f9ed99;
  }
  .language-css .token.string,
  .style .token.string,
  .token.attr-name,
  .token.attr-value,
  .token.char,
  .token.entity,
  .token.inserted,
  .token.operator,
  .token.string,
  .token.url,
  .token.variable {
    color: #909e6a;
  }
  .token.atrule {
    color: #7385a5;
  }
  .token.important,
  .token.regex {
    color: #e8c062;
  }
  .token.bold,
  .token.important {
    font-weight: 700;
  }
  .token.italic {
    font-style: italic;
  }
  .token.entity {
    cursor: help;
  }
  .language-markup .token.attr-name,
  .language-markup .token.punctuation,
  .language-markup .token.tag {
    color: #ac885c;
  }
  .token {
    position: relative;
    z-index: 1;
  }
  .line-highlight.line-highlight {
    background: hsla(0, 0%, 33%, 0.25);
    background: linear-gradient(
      to right,
      hsla(0, 0%, 33%, 0.1) 70%,
      hsla(0, 0%, 33%, 0)
    );
    border-bottom: 1px dashed #545454;
    border-top: 1px dashed #545454;
    margin-top: 0.75em;
    z-index: 0;
  }
  .line-highlight.line-highlight:before,
  .line-highlight.line-highlight[data-end]:after {
    background-color: #8693a6;
    color: #f4f1ef;
  }
}
