@import url("darkmode.css");
.current {
  font-weight: bold; }

div[role=search] {
  display: inline-block;
  position: absolute;
  margin-top: -1em; }
  div[role=search] * {
    display: inline-block; }

body {
  color: var(--color);
  background: var(--background-color);
  font-family: sans-serif;
  margin: 0;
  line-height: 1.2; }

main {
  max-width: 60em;
  margin: 0 auto; }

header {
  min-height: 65px;
  border-bottom: 3px solid gray;
  padding: 1em; }
  header li {
    display: inline-block;
    margin: 0 1.75em 0 0; }
  header a {
    text-decoration: none; }

a[href^="https://"]:not(:has(img, svg))::after {
  content: "\21f1";
  transform: scaleX(-1);
  display: inline-block;
  font-variant-position: super;
  vertical-align: super;
  font-size: 80%; }

:link {
  color: var(--link-color); }

:visited {
  color: var(--visited-color); }

a[href^="https://git.ledger-cli.org"][href*="commits/master"],
a[href*="action=history"],
a[href="https://wiki.ledger-cli.org/_history"] {
  color: #ccc; }

nav {
  display: inline; }
  nav ul {
    display: inline;
    padding: 0; }
  nav li {
    white-space: nowrap; }
    nav li a[href="/"] {
      color: var(--color); }
  nav li:has(a[href="/"]) {
    font-size: 50px;
    margin-left: 0; }

article {
  padding: 1em; }
  article h1 {
    font-size: 2em; }

pre, code, tt {
  font-family: monospace; }

pre {
  margin: 0 0 0 1em; }
  pre code[class^="language-"] {
    padding: 0.5em;
    display: inline-block;
    background: var(--highlight-code-background-color);
    font-size: small; }

.large {
  font-size: large; }

.small {
  font-size: small; }

.nowrap {
  white-space: nowrap; }

.github-corner:hover .octo-arm {
  animation: octocat-wave 560ms ease-in-out; }

@keyframes octocat-wave {
  0%, 100% {
    transform: rotate(0); }
  20%, 60% {
    transform: rotate(-25deg); }
  40%, 80% {
    transform: rotate(10deg); } }

@media (max-width: 500px) {
  .github-corner:hover .octo-arm {
    animation: none; }
  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out; } }

.github-corner svg {
  color: var(--background-color) !important;
  fill: var(--color) !important; }

@media screen and (max-width: 765px) {
  header li {
    margin: 1em 1.75em 0 0; }
  nav li:has(a[href="/"]) {
    display: block;
    margin: 0; } }
