/* Nicked from xarray repo */
/* https://github.com/pydata/xarray/blob/4fde6997d07048c7a64014c4d1277553cd8c026a/doc/_static/style.css#L17C1-L46C2*/

/* Adjust index page overview cards, borrowed from Pandas & Numpy */
/* Override SVG icon color */
html[data-theme="dark"] .sd-card img[src*=".svg"] {
  filter: invert(0.82) brightness(0.8) contrast(1.2);
}
/* https://github.com/executablebooks/sphinx-design/blob/main/style/_cards.scss */
/* More space around image */
.intro-card {
  padding: 30px 1px 1px 1px;
}
/* More prominent card borders */
.intro-card .sd-card {
  border: 2px solid var(--pst-color-border);
  overflow: hidden;
}
/* Shrink SVG icons */
.intro-card .sd-card-img-top {
  margin: 1px;
  height: 175px;
  background-color: transparent !important;
}
/* Color titles like links */
.intro-card .sd-card-title {
  color: var(--pst-color-primary);
  font-size: var(--pst-font-size-h5);
}
/* Don't have 'raised' color background for card interiors in dark mode */
.bd-content .sd-card .sd-card-body {
  background-color: unset !important;
}