/* Desk extras. One shim, loaded only by /learn.
   app/js/learn.js is finished and wraps every index link in a <p>, so the
   system rule `.yw-index a:first-child { border-top: 0 }` lands on every link
   and the paragraph margin opens gaps the terminal does not want. These rules
   put the hairline rhythm back, and draw the leading index number that
   `.yw-index a i` is styled for, without touching the script or yew.css. */
#ln-nav { counter-reset: ln; }
#ln-nav p { margin: 0; }
#ln-nav p a { border-top: 1px solid var(--line); }
#ln-nav p:first-child a { border-top: 0; }
#ln-nav p a::before {
  counter-increment: ln;
  content: counter(ln, decimal-leading-zero);
  color: var(--olive);
  font-size: 11px;
  flex: none;
}
