/* The same regular and bold 思源黑体 files used by the extension sidebar. */
@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/noto-sans-sc.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/noto-sans-sc-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --site-font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-family: var(--site-font-family);
}

/* Include controls, dialogs, code and dynamically inserted content. KaTeX uses
   its own glyph families to position mathematical symbols correctly. */
body,
body :where(:not(.katex, .katex *, .katex-display, .katex-display *)) {
  font-family: var(--site-font-family) !important;
}

.brand-mark,
.credits-brand-mark {
  flex-shrink: 0;
  aspect-ratio: 1;
}
