/* quakecascade documentation: small additions to Material for MkDocs */

/* Wide tables (parameter and status references) scroll instead of squeezing. */
.md-typeset table:not([class]) {
  font-size: 0.72rem;
}
.md-typeset table:not([class]) td:first-child code {
  white-space: nowrap;
}

/* The pipeline figure on the home page. */
.qc-hero {
  margin: 0.5rem 0 1.5rem;
}

/* Cards on the landing pages. */
.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border-radius: 0.4rem;
}

/* "New in" marks on what the latest release may not have yet. */
.md-typeset a.qc-new,
.md-typeset a.qc-new:hover {
  display: inline-block;
  padding: 0 0.55em;
  border-radius: 0.8em;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.7;
  vertical-align: middle;
  color: var(--md-accent-bg-color);
  background-color: var(--md-accent-fg-color);
}

/* Status codes stand out in prose. */
.md-typeset code.status {
  background: var(--md-accent-fg-color--transparent);
}
