/* Papers in their web edition (Typst HTML export), inside the docs.
   The content of such a page sits in <div class="typst"> blocks between the
   headings (see the generated page), styled by web-content.css: the content
   stylesheet of the web layer of typst-thesis-web, copied unchanged from the
   copy of the layer that the sources of the paper vendor (refresh it when the
   layer is updated). This file feeds it with the colors and fonts of
   pydata-sphinx-theme. */

.typst {
  --color-text: var(--pst-color-text-base);
  --color-text-muted: var(--pst-color-text-muted);
  --color-bg: var(--pst-color-background);
  --color-sidebar-bg: var(--pst-color-surface);
  --color-border: var(--pst-color-border);
  --color-border-strong: var(--pst-color-border);
  --color-link: var(--pst-color-link);
  --font-math: "New Computer Modern Math", "Latin Modern Math", "STIX Two Math", "Cambria Math", math;
  --font-heading: var(--pst-font-family-heading);
  --box-fill-share: 100%;
  --frame-filter: none;
}
html[data-theme="dark"] .typst {
  --box-fill-share: 0%;
  --frame-filter: invert(1) hue-rotate(180deg);
}
