/* Place the git-committers "Contributors" block on the same row as the
   document-dates created/updated info, right-aligned. This recreates the
   single-line, right-aligned author layout that document-dates used to render
   before we moved author display to git-committers (for GitHub avatars + links).

   The two blocks are adjacent siblings at the end of the article:
     <div class="document-dates-plugin-wrapper">…dates…</div>
     <aside class="md-source-file">…contributor avatars…</aside>
   so we right-align the contributors block and lift it up onto the dates line
   with a negative top margin. Only on wide enough viewports; on narrow screens
   they stack normally. */
@media screen and (min-width: 45em) {
  /* Keep the block full width (so the avatars stay in a horizontal row) but
     right-align its content and lift it up onto the dates row above it. */
  .md-content__inner .md-source-file {
    margin: 0;
    text-align: right;
    margin-top: -3.15rem;
  }
}

/* Vertically centre the avatars against the dates text. */
.md-source-file__fact {
  align-items: center;
}

/* Drop the "GitHub" provider label before the avatars (keep the logo icon).
   It's the only direct-child <span> of the fact that isn't the icon; the
   avatars live in a child <nav>, so they're unaffected. */
.md-source-file__fact > span:not(.md-icon) {
  display: none;
}
