
/* https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/stylesheets/main/_colors.scss */

[data-md-color-scheme="tranquil"] {
    --md-primary-fg-color:        #5a52c1;
    --md-primary-fg-color--light: #a098db;
    --md-primary-fg-color--dark:  #352b7c;

    --md-footer-bg-color:         #757575;
  }

[data-md-color-scheme="tranquil-dark"] {
    --md-primary-fg-color:        #352b7c;
    --md-primary-fg-color--light: #a098db;
    --md-primary-fg-color--dark:  #352b7c;
  }

/* hide all previous/next pages in footers */
.md-footer__inner:not([hidden]) {
    display: none
}


/* https://blog.ktz.me/making-mkdocs-tables-look-like-github-markdown-tables/ */

th, td {
  /*border: 1px solid var(--md-typeset-table-color);*/
  border-spacing: 0;
  border-bottom: none;
  border-left: none;
  border-top: none;
}

.md-typeset__table {
  line-height: 1;
  min-width: 90%;
}

.md-typeset table:not([class]) {
  display: table;
}

.md-typeset__table table:not([class]) {
  font-size: .64rem;
  border-right: none;
  border-left: none;
}

.md-typeset__table table:not([class]) td,
.md-typeset__table table:not([class]) th {
  padding: 9px;
}

.md-typeset__table th {
  background-color: #CBCBEF;
  border-bottom: 1px solid var(--md-footer-bg-color);
}

/* light mode alternating table bg colors */
/*
.md-typeset__table tr:nth-child(2n) {
  background-color: #f8f8f8;
}*/

/* dark mode alternating table bg colors */
/*
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
  background-color: hsla(var(--md-hue),25%,25%,1)
}*/