/* CJK rendering tweaks for the board-prep site. */

:root {
  --md-text-font: "Noto Sans TC", "PingFang TC", "Helvetica Neue", -apple-system, sans-serif;
  --md-code-font: "JetBrains Mono", "Fira Code", "SF Mono", Menlo, monospace;
}

body {
  font-feature-settings: "kern", "liga", "calt";
  line-height: 1.75;
}

/* Improve readability of dense option lists. */
.md-content article ul li {
  margin-top: 0.35em;
  margin-bottom: 0.35em;
}

/* Slightly larger CJK in headings for legibility. */
.md-content h1,
.md-content h2,
.md-content h3 {
  letter-spacing: 0.01em;
}

/* Answer admonition: subtle green tint. */
.md-typeset .admonition.success > .admonition-title {
  font-weight: 600;
}

/* Tables stretch full width in dense answer-at-a-glance views. */
.md-typeset__table {
  width: 100%;
}
.md-typeset__table table {
  width: 100%;
  display: table;
}
