/* Latin text and mathematics come in three pairings, chosen from the font
   picker. The default is Lato with Lete Sans Math; the others are TeX Gyre
   Pagella with Asana Math, the pairing of the PDF notes this site links to,
   and EB Garamond with Garamond Math. Chinese is Source Han Sans SC, or by
   choice Resource Han Rounded SC, LXGW WenKai or Source Han Serif SC.
   All are served from this site, because a third-party font request is
   blocked by some browsers' tracking protection and is slow or unreachable
   from mainland China. Sources and licences: fonts/README.md. */

@font-face {
  font-family: "TeX Gyre Pagella";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tex-gyre-pagella-regular.woff2?v=3dtqscdk8j2p7") format("woff2");
}

@font-face {
  font-family: "TeX Gyre Pagella";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tex-gyre-pagella-italic.woff2?v=31ozg22kvnkxn") format("woff2");
}

@font-face {
  font-family: "TeX Gyre Pagella";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/tex-gyre-pagella-bold.woff2?v=19ae3443ghce1") format("woff2");
}

@font-face {
  font-family: "TeX Gyre Pagella";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/tex-gyre-pagella-bolditalic.woff2?v=1vtvnhlcyulfy") format("woff2");
}

@font-face {
  font-family: "Asana Math";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/asana-math.woff2?v=3iljyexd4mslf") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-roman.woff2?v=1znesu1xgkftr") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-italic.woff2?v=10mxgkk3kxevi") format("woff2");
}

@font-face {
  font-family: "Garamond Math";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/garamond-math.woff2?v=30yhcsnadljes") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lato-regular.woff2?v=3tn70pzqwrkv2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lato-italic.woff2?v=1fyiq3wowlfty") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lato-bold.woff2?v=qpyw1kiw3a9l") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lato-bolditalic.woff2?v=16ezuvx96t1lq") format("woff2");
}

@font-face {
  font-family: "Lete Sans Math";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lete-sans-math.woff2?v=1tywjpryeb2p8") format("woff2");
}

/* Monospaced text (code) is Iosevka. */
@font-face {
  font-family: Iosevka;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/iosevka-regular.woff2?v=pq9cupwc788k") format("woff2");
}

@font-face {
  font-family: Iosevka;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/iosevka-italic.woff2?v=11oj8qlzxb7j2") format("woff2");
}

@font-face {
  font-family: Iosevka;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/iosevka-bold.woff2?v=3elal6biqtscl") format("woff2");
}

@font-face {
  font-family: "Source Han Serif SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-han-serif-sc-regular.woff2?v=pdwmwkso3pzd") format("woff2");
}

@font-face {
  font-family: "Source Han Serif SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-han-serif-sc-bold.woff2?v=o1f31u01camm") format("woff2");
}

@font-face {
  font-family: "Source Han Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-han-sans-sc-regular.woff2?v=nm5gkovrvwo6") format("woff2");
}

@font-face {
  font-family: "Source Han Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-han-sans-sc-bold.woff2?v=37x7180z5pe1q") format("woff2");
}

@font-face {
  font-family: "Resource Han Rounded SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/resource-han-rounded-sc-regular.woff2?v=1sihkg33ovaqt") format("woff2");
}

@font-face {
  font-family: "Resource Han Rounded SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/resource-han-rounded-sc-bold.woff2?v=2vkhtwfz55msa") format("woff2");
}

/* WenKai is released in one weight; headings in it are synthesised bold. */
@font-face {
  font-family: "LXGW WenKai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lxgw-wenkai-regular.woff2?v=cxh1lzfgkyb6") format("woff2");
}
