/* But for the last, these rules are the same as those in the Jinx manual's
   extra.css.  Change them together. */

/* Zensical's modern look leaves the header the colour of the page.  Ours
   takes the primary colour, which is also what tells this site apart from
   its siblings. */
.md-header {
  color: var(--md-primary-bg-color);
  background-color: var(--md-primary-fg-color);
}

/* The search button draws its text, icon, fill and key hint from the page's
   colours, which would be dark on dark here.  Redefining those for the
   button alone is less to keep up than restyling each part. */
.md-header .md-search__button {
  --md-default-fg-color: var(--md-primary-bg-color);
  --md-default-fg-color--lightest: #ffffff26;
  --md-default-fg-color--lighter: #ffffff4d;
  --md-default-bg-color--light: #ffffff33;
}

/* This rule is NerfLearning's alone.  The icon is a purple rounded square,
   which is lost on a purple header.  A drop shadow follows the shape of the
   image, not its box, so four of them with no blur, one to each side, draw a
   white line around the square. */
.md-header__button.md-logo img {
  filter:
    drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}
