/* Spec 05, visual fixes. Same fonts and palette as the theme. */

/* The selected page in the left sidebar: a background and a left marker,
   not only the text color. */
.md-sidebar--primary .md-nav__link--active {
  margin-inline-start: -0.4rem;
  padding-inline-start: 0.4rem;
  border-radius: 0.1rem;
  background-color: var(--md-accent-fg-color--transparent);
  box-shadow: inset 0.15rem 0 0 var(--md-accent-fg-color);
}

/* Page titles: heavier and higher contrast than the theme's light grey.
   400 is the next weight the theme loads after 300. */
.md-typeset h1 {
  font-weight: 400;
  color: var(--md-default-fg-color);
}

/* The "View example files · Related reference" row on example pages. */
.md-typeset .ns-actions {
  font-size: 0.75rem;
}

/* The status line's link: the theme's link color is too dark on the
   black bar. */
.md-banner a {
  color: currentColor;
  text-decoration: underline;
}
