/* source/_static/font.css */

/* 1. Pretendard 폰트  */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/* 2. Sphinx Book Theme 폰트 변수 */
:root {
  /* 기본 폰트 설정 */
  --pst-font-family-base: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pst-font-family-heading: "Pretendard", sans-serif;
  --pst-font-family-monospace: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --pst-font-size-base: 16px;       /* 본문 기본 크기 */
  --pst-font-size-h1: 2.2rem;       /* H1 제목 크기 */
  --pst-font-size-h2: 1.75rem;      /* H2 제목 크기 */
  --pst-font-size-h3: 1.4rem;       /* H3 제목 크기 */
  
  /* 줄 간격  */
  --pst-line-height-base: 1.7;
}

/* 코드 블록 폰트 크기 조정 */
pre, code, kbd, samp {
  font-family: var(--pst-font-family-monospace);
  font-size: 0.9em; 
}