/* Zebra striping in tables. */
table {
  border-collapse: collapse;
  width: 100%;
}

tbody tr:nth-child(odd) {
  background-color: #f7f7f7;
}

/* Center everything in tables. */
td, th {
  text-align: center;
  padding: 6px 10px;
}

/* Highlight YES values. */
td {
  font-weight: 400;
}

/* Dark mode table adjustments. */
[data-md-color-scheme="slate"] tbody tr:nth-child(odd) {
  background-color: #2b2b2b;
}

[data-md-color-scheme="slate"] td,
[data-md-color-scheme="slate"] th {
  color: #e0e0e0;
}

/* Highlight YES values. */
.yes {
  background-color: #d9f2d9;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Highlight YES values in dark mode. */
[data-md-color-scheme="slate"] .yes {
  background-color: #2e7d32;
  color: #ffffff;
}

/* Replace logo in dark mode. */
[data-md-color-scheme="slate"] .md-header__button.md-logo img {
  content: url("../images/libraries_yu_DIGITAL_hor_RGB_REV.png");
}
