.admonition {
  display: flex;
  padding: 0.5rem 0.5rem;
  margin-bottom: 0.75rem;
  border-radius: 5px;
  flex-direction: row;
  align-items: start;
  column-gap: 0.75rem;
}
.admonition.admonition-note {
  border-left-style: solid;
  border-left-color: #6eb1cc;
  border-left-width: 3px;
  background-color: #235179;
}
.admonition.admonition-warning {
  border-left-style: solid;
  border-left-color: orange;
  border-left-width: 3px;
  background-color: #a16820;
}
.admonition.admonition-error {
  border-left-style: solid;
  border-left-color: red;
  border-left-width: 3px;
  background-color: #460202;
}
.admonition.admonition-seealso {
  border-left-style: solid;
  border-left-color: #54d452;
  border-left-width: 3px;
  background-color: #28513140;
}
.admonition-icon {
  flex-shrink: 0;
}
.admonition-title {
  flex-shrink: 0;
  font-weight: bold;
}
.admonition-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.deprecated {
  display: block;
}
.deprecated span:first-child {
  font-style: italic;
}
.code-block {
  position: relative;
}
.code-block button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.0;
  color: white;
}
.code-block:hover button {
  opacity: 0.75;
}
.github-button {
  display: flex;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  align-items: center;
  column-gap: 0.5rem;
  font-size: 0.7rem;
  text-decoration: none;
  line-height: 1.2em;
}
.github-button:hover {
  background-color: color-mix(in srgb, currentColor 5%, transparent);
}
.github-button * {
  transition: opacity 200ms ease-in-out;
}
.github-button:hover * {
  opacity: 1 !important;
}
.github-button .github-icon {
  width: 1.2rem;
}
.github-button .github-info {
  display: flex;
  flex-direction: column;
}
.github-button .github-info > span:first-child {
  margin-bottom: 2px;
  opacity: 0.9;
  font-family: monospace;
}
.github-button .github-info > span:last-child {
  display: flex;
  opacity: 0.7;
  align-items: center;
  column-gap: 0.3em;
  font-size: 0.9em;
  font-weight: 800;
}
.github-button .github-info > span:last-child span {
  font-weight: 500;
}
figure.image {
  display: flex;
  flex-direction: column;
  align-items: center;
}
figure.image.zoomable img {
  cursor: zoom-in;
}
dialog.zoom-modal {
  width: 100vw;
  height: 100vh;
  max-width: initial;
  max-height: initial;
  padding: 0;
  margin: 0;
  border: none;
  outline-style: none;
  overflow: hidden;
  background-color: transparent;
}
dialog.zoom-modal .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--background);
}
dialog.zoom-modal img {
  position: absolute;
  cursor: zoom-out;
  transition: transform 300ms;
  transform-origin: top left;
}