/* User Provided Stylesheet */

/* ADA course site: lavender, to tell it apart from the blue topics site. */
:root {
  --ada-bg: #f4f1fb;
  --ada-table-head: hsl(255, 55%, 92%);
  --ada-table-odd: hsl(255, 55%, 88%);
  --ada-table-even: hsl(255, 55%, 92%);
  /* MyST theme colours (boxes, search, sidebar highlights), tinted to match. */
  --myst-color-bg: #ffffff;
  --myst-color-bg-secondary: #faf8fe;
  --myst-color-surface: #ece8f7;
  --myst-color-surface-hover: #e2dcf3;
  --myst-color-active-bg: hsla(255, 60%, 75%, 0.35);
  --myst-color-border: #e4dff2;
  --myst-color-border-strong: #d3cbea;
}

html.dark {
  --ada-bg: #2b2838;
  --ada-table-head: hsl(252, 16%, 22%);
  --ada-table-odd: hsl(252, 16%, 17%);
  --ada-table-even: hsl(252, 16%, 22%);
  --myst-color-bg: #221f2e;
  --myst-color-bg-secondary: #2f2b3d;
  --myst-color-surface: #353046;
  --myst-color-surface-hover: #3d3851;
  --myst-color-active-bg: hsla(255, 60%, 70%, 0.2);
  --myst-color-border: #4a4560;
  --myst-color-border-strong: #5c5675;
}

body,
.myst-top-nav {
  background-color: var(--ada-bg) !important;
}

article table thead tr {
  background-color: var(--ada-table-head);
}

article table tbody tr:nth-child(odd) {
  background-color: var(--ada-table-odd);
}

article table tbody tr:nth-child(even) {
  background-color: var(--ada-table-even);
}

.myst-home-link-logo {
  padding: 0 !important;
}
