/* Workbench: the parts of the earlier design exploration that were kept on top of
   Tabler. Loaded after site.css. */

:root,
[data-bs-theme="light"] {
  --wb-current-marker: #fd8c73;
}

/* Current section: an underline under the label instead of a filled blue pill. The
   36px link sits centered in the 52px bar, so -8px lands the line on the bar's edge. */
#topnav-links a {
  position: relative;
}

#topnav-links a.active {
  background: transparent;
  font-weight: 600;
}

#topnav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--wb-current-marker);
}

#mobile-nav a.active {
  box-shadow: inset 3px 0 0 var(--wb-current-marker);
}
