/* LEAP documentation theme polish */

/* Screenshot framing */
.md-content img.screenshot,
.md-content .screenshot img {
  border-radius: 8px;
  border: 1px solid var(--md-default-fg-color--lightest);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin: 0 auto 0.5rem auto;
  display: block;
  max-width: 100%;
}

.md-content figure.screenshot,
.md-content .screenshot {
  text-align: center;
  margin: 1.5rem 0;
}

.md-content figure.screenshot img,
.md-content .screenshot img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--md-default-fg-color--lightest);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.md-content figcaption {
  color: var(--md-default-fg-color--light);
  font-size: 0.75rem;
  margin-top: 0.4rem;
  font-style: italic;
}

/* kbd chips */
.md-content kbd,
.md-typeset kbd {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  font-family: var(--md-code-font-family, monospace);
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--md-code-font-color, #212121);
  background: var(--md-code-bg-color, #f5f5f5);
  border: 1px solid var(--md-default-fg-color--lighter);
  border-bottom-width: 2px;
  border-radius: 4px;
  white-space: nowrap;
  vertical-align: middle;
}

[data-md-color-scheme="slate"] .md-content kbd,
[data-md-color-scheme="slate"] .md-typeset kbd {
  color: #e6edf3;
  background: #1c2128;
}

/* Nice formulas */
.md-typeset .arithmatex {
  padding: 0.25rem 0;
}
