body {
  -webkit-font-smoothings: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  max-width: 600px;
  line-height: 1.3;
}

$small-info-color: #999 !global;
$calm-link-color: #4ba1ef !global;
$body-color: #444444 !global;
$code-inline-background: rgba(27, 31, 35, 0.05) !global;

@import "./with-color.scss";

@media (prefers-color-scheme: dark) {
  $small-info-color: invert($small-info-color, $weight: 100%) !global;
  $calm-link-color: desaturate($calm-link-color, 30%) !global;
  $body-color: invert($body-color, $weight: 100%) !global;
  $code-inline-background: #222 !global;
  @import "./with-color.scss";
  body {
    background-color: black;
  }
}

.footnote-definition p {
  margin-top: 0px;
}

.footnote-definition-label,
.footnote-reference {
  &::after {
    content: "]";
    margin-left: 1px;
  }
  &::before {
    content: "[";
    margin-right: 1px;
  }
}

pre {
  display: block;
  padding: 9.5px;
  font-size: 90%;
  overflow-x: auto;
  margin: 0 0 10px;
  line-height: 1.4;
  word-break: break-all;
  word-wrap: break-word;
  border-radius: 4px;
}

hr {
  border: 0.5px solid #999;
}

li {
  margin-bottom: 5px;
}

pre,
code {
  font-family: "Inconsolata", monospace;
  -webkit-font-smoothings: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
