:root[data-theme='light'],
:root[data-theme='dark'] {
  --pst-color-primary: #0072b5;
  --pst-color-link: #0072b5;
  --pst-color-inline-code: #0072b5;
  --sd-color-card-border-hover: #0072b5;
}

/* Homepage Showcase */

.showcase-table {
  border-spacing: 15px;
}

.showcase-table td {
  border: 0px;
  vertical-align: top;
}

/* Homepage sponsors */

.sd-card-body.sponsor-logo {
  flex-grow: unset;
  margin: auto;
}

.sponsor-logo img {
  min-height: 80px;
  object-fit: contain;
}

/* Tweaks for code cell rendering */

.highlight {
  border-radius: 4px;
}

html[data-theme='light'] .highlight {
  background-color: #263238;
  color: #f8f8f2;
}

pre[id^='codecell'] {
  background-color: unset;
  border: none;
  border-radius: 0.5em;
  color: #f8f8f2;
  box-shadow: none;
  padding: 1.5em;
}

div.highlight button.copybtn.o-tooltip--left:after {
  background-color: #263235;
  border: 1px solid gray;
  border-radius: 4px;
  padding: 5px;
}

button.copybtn {
  background-color: #263238;
}

button.copybtn:hover {
  background-color: #263238;
  color: #f8f8f2;
}

.highlight button.copybtn:hover {
  background: none;
}

.o-tooltip--left:after {
  background: none;
}
