/* Prism Material with some adjustments */
code[class*="language-"],
pre[class*="language-"] {
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  font-size: 0.8rem;
  line-height: 1.5em;
  color: var(--c-text-dim);
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
:not(pre) > code[class*="language-"] {
  background: var(--c-text-background-light);
  white-space: normal;
  border-radius: 0.2em;
  padding: 0.1em;
}
pre[class*="language-"] {
  background: color-mix(in lch, var(--c-text-background-light) 20%, transparent);
  overflow: auto;
  position: relative;
  margin: 0.5em 0;
  padding: 1.25em 1em;
  box-shadow: inset 0 0 6rem -2rem var(--c-highlight);
}
p:has(+ pre[class*="language-"]) > code {
  margin: 0;
  padding: 0.1em 1em;
  border-radius: none;
  background: none;
}
p:has(>code) + pre[class*="language-"] {
  margin-top: 0;
}
[class*="language-"] .namespace {
  opacity: 0.7;
}
.token.id { font-weight: bold; }
.token.important { font-weight: bold; }

.language-css > code,
.language-sass > code,
.language-scss > code {
  color: #fd9170;
}
.token.atrule { color: #c792ea; }
.token.attr-name { color: #ffcb6b; }
.token.attr-value { color: #a5e844; }
.token.attribute { color: #a5e844; }
.token.boolean { color: #c792ea; }
.token.builtin { color: #ffcb6b; }
.token.cdata { color: #80cbc4; }
.token.char { color: #80cbc4; }
.token.class { color: #ffcb6b; }
.token.class-name { color: #f2ff00; }
.token.comment { color: #616161; }
.token.constant { color: #c792ea; }
.token.deleted { color: #ff6666; }
.token.doctype { color: #616161; }
.token.entity { color: #ff6666; }
.token.function { color: #c792ea; }
.token.hexcode { color: #f2ff00; }
.token.id { color: #c792ea; }
.token.important { color: #c792ea; }
.token.inserted { color: #80cbc4; }
.token.keyword { color: #c792ea; }
.token.number { color: #fd9170; }
.token.operator { color: #89ddff; }
.token.prolog { color: #616161; }
.token.property { color: #80cbc4; }
.token.pseudo-class { color: #a5e844; }
.token.pseudo-element { color: #a5e844; }
.token.punctuation { color: #89ddff; }
.token.regex { color: #f2ff00; }
.token.selector { color: #ff6666; }
.token.string { color: #a5e844; }
.token.symbol { color: #c792ea; }
.token.tag { color: #ff6666; }
.token.unit { color: #fd9170; }
.token.url { color: #ff6666; }
.token.variable { color: #ff6666; }
