:root {
  --font-kai: "LXGW WenKai", "Kaiti SC", "STKaiti", "KaiTi", "楷体", "楷体_GB2312", serif;
  --default-font-family: var(--font-kai);
  --font-sans: var(--font-kai);
  --font-app: var(--font-kai);
}

html, body, .font-app, .note-mark {
  font-family: var(--font-kai);
}

button, input, textarea, select, option, [contenteditable],
code, kbd, samp, pre, .math-help code, .math-error, .formula-dialog textarea {
  font-family: var(--font-kai);
}

/* KaTeX keeps its glyph metrics; Chinese text inside formulas uses the site font. */
.katex .cjk_fallback {
  font-family: var(--font-kai);
}

/* Give the calligraphic strokes room at reading sizes. */
.cms-prose {
  font-size: 18px;
  line-height: 2;
}

.journal-entry > p, .hero-description {
  font-size: 16px;
}

.rich-editor {
  font-size: 18px;
}

@media (max-width: 760px) {
  .cms-prose, .rich-editor {
    font-size: 17px;
  }
  .journal-entry > p, .hero-description {
    font-size: 15px;
  }
}
