/**
 * VS theme by Andrew Lock (https://andrewlock.net)
 * Inspired by Visual Studio syntax coloring
 */

code[class*="language-"],
pre[class*="language-"] {
  color: #222;
  font-family: "Monaspace Argon", "Consolas", "Bitstream Vera Sans Mono",
    "Courier New", Courier, monospace;
  font-feature-settings:
    "calt" 1,
    "ss03" 1,
    "ss06" 1;
  font-variation-settings:
    "wght" var(--font-weight, 400),
    "wdth" var(--font-width, 100),
    "slnt" var(--font-slant, 0);
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  font-size: var(--font-size-small);
  line-height: 1.2rem;
  max-inline-size: none;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  position: relative;
}

pre > code[class*="language-"] {
  font-size: var(--font-size-small);
}

/*pre[class="language-css"]::before {*/
/*  content: "CSS";*/
/*  font-size: var(--size-l2);*/
/*  display: block;*/
/*  position: absolute;*/
/*  color: var(--orange-text);*/
/*  top: var(--size-small);*/
/*  right: var(--size-small);*/
/*  font-variation-settings: "wght" 900;*/
/*  font-weight: 900;*/
/*  padding: var(--size-default);*/
/*}*/
/*pre[class="language-js"]::before {*/
/*  content: "JS";*/
/*  font-size: var(--font-size-large);*/
/*  display: block;*/
/*  position: absolute;*/
/*  color: var(--orange-text);*/
/*  top: var(--size-small);*/
/*  right: var(--size-small);*/
/*  font-variation-settings: "wght" 900;*/
/*  padding: var(--size-small);*/
/*}*/
/*pre[class="language-html"]::before {*/
/*  content: "HTML";*/
/*  font-size: var(--size-l2);*/
/*  display: block;*/
/*  position: absolute;*/
/*  color: var(--orange-text);*/
/*  top: 0;*/
/*  right: 0;*/
/*  font-weight: 900;*/
/*  padding: var(--size-default);*/
/*  text-shadow: white 0 0 5px;*/
/*  text-shadow: 1px 0 0 white,0 1px 0 white,-1px 0 0 white,0 -1px 0 white;*/
/*}*/

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: var(--size-default);
  overflow: auto;
  border-block-start: 1rem solid var(--orange-border);
  border-block-end: 0.125rem solid var(--orange-border);
  background-color: var(--orange-back-light);
  grid-column: 1 / -1;
  line-height: 1.75;
  width: 100%;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: 0.2rem;
  padding-top: 1px;
  padding-bottom: 1px;
  background: #f8f8f8;
  border: 1px solid #dddddd;
}

.token {
  font-family: "Monaspace Argon", "Consolas", "Bitstream Vera Sans Mono",
    "Courier New", Courier, monospace;
  font-feature-settings:
    "calt" 1,
    "ss03" 1,
    "ss06" 1;
  font-variation-settings:
    "wght" var(--font-weight, 400),
    "wdth" var(--font-width, 100),
    "slnt" var(--font-slant, 0);
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #4d4d4d;
  --font-slant: -11;
}

.token.namespace {
  opacity: 0.7;
}

.token.string {
  color: #7e3e06;
}

.token.punctuation,
.token.operator {
  color: #393a34; /* no highlight */
  color: var(--link-border);
}

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

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

.token.function {
  color: #393a34;
  --font-weight: 600;
}

.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;
  --font-weight: 600;
}

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

.token.class-name,
.language-json .token.property {
  color: #105265;
  --font-weight: 600;
}

.token.tag,
.token.selector {
  color: #7e3e06;
  --font-weight: 600;
}

.token.attr-name,
.token.property,
.token.regex,
.token.entity {
  color: #105265;
  --font-width: 105;
}

.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)
  );
}
