/* The logo is drawn in dark lines for a light page; in the dark scheme use the one drawn in light lines. */
[data-md-color-scheme="slate"] .md-logo img {
  content: url("../assets/logo-dark.svg");
}

/* The logo is large: 3rem high in the header, 2.5 times the theme's 1.2rem, and twice its size in the menu drawer.
   The header grows with it (1.2rem more than the logo), so what hangs from the header's height moves down. */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 3rem;
}
.md-nav .md-nav__title[for="__drawer"] .md-logo {
  height: 3.2rem;
  width: 3.2rem;
}
.md-sidebar {
  top: 4.2rem;
}
.md-typeset :target {
  --md-scroll-margin: 4.8rem;
}

/* A picture comes in a light and a dark version; show the one for the scheme. */
[data-md-color-scheme="default"] img[src$="#only-dark"],
[data-md-color-scheme="slate"] img[src$="#only-light"] {
  display: none;
}

/* The screens of the app and the writer. */
.md-typeset img[src*="screenshots/"] {
  border: 0.05rem solid var(--md-default-fg-color--lightest);
  border-radius: 0.4rem;
  box-shadow: var(--md-shadow-z1);
}

.md-typeset img.phone {
  width: 15rem;
  max-width: 100%;
  margin: 0 0.8rem 0.8rem 0;
}

/* The work-in-progress banner (overrides/main.html): amber, so it is not mistaken for the page. */
.md-banner {
  background-color: #8a4b00;
  color: #fff;
}
.md-banner a {
  color: #fff;
  text-decoration: underline;
}
