@font-face {
  font-family: "CalSans";
  src: url("../CalSans-SemiBold.woff");
}

body .page {
  --api-font-size: var(--font-size--normal) !important;
}

.sidebar-brand-text {
  font-family: "CalSans";
  color: #1c7362;
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.5rem;
}

h1,
h2 {
  font-family: "CalSans";
}

[data-theme="dark"] .sidebar-brand-text {
  color: #fff;
}

iframe.demo {
  width: 100%;
  height: 250px;
  border: 1px solid var(--color-background-border);
  border-radius: 5px;
}

iframe.demo.medium {
  height: 400px;
}

iframe.demo.large {
  height: 600px;
}

.highlight {
  border-radius: 0.4rem;
}

/* Better formatting of signatures from https://github.com/sphinx-doc/sphinx/issues/1514#issuecomment-742703082 */
/* Newlines (\a) and spaces (\20) before each parameter */
.sig-param::before {
  content: "\a\20\20";
  white-space: pre;
}

/* Newline after the last parameter (so the closing bracket is on a new line) */
dt em.sig-param:last-of-type::after {
  content: "\a";
  white-space: pre;
}

.sidebar-logo-container {
  height: 150px;
}

figcaption {
  font-size: 0.875rem;
  color: gray;
}

[data-theme="dark"] figcaption {
  color: var(--color-content-foreground);
}

figure img {
  border: 1px solid #ebebeb;
  border-radius: 5px;
}

blockquote {
  border-left-color: #1c7362;
}
