/*
 * Self-hosted AnimSmith webfonts.
 *
 * mdBook copies every file in the theme's `fonts/` directory to `book/fonts/`
 * and links this stylesheet from every page, so the URLs below are relative to
 * this file and the site makes no external font requests.
 *
 * All three families are licensed under the SIL Open Font License 1.1; the
 * licence texts sit next to the files as OFL-*.txt.  Upstream versions, file
 * checksums and the subsetting command are recorded in ../README.md.
 *
 * Each file is subset to Latin-1, Latin Extended-A, Greek and the punctuation,
 * arrows, maths and box-drawing characters the documentation actually uses.
 * `unicode-range` matches each subset, so a character outside it falls through
 * to the next family in the stack instead of being requested from these files.
 * Only the mono faces carry box drawing (U+2500-257F): it appears in CLI
 * transcripts, which are always set in code.
 */

/* Barlow Semi Condensed - headings and the wordmark. */

@font-face {
    font-family: "Barlow Semi Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("barlow-semi-condensed-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+0192, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0370-03FF, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2190-21FF, U+2200-22FF, U+2713-271F, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow Semi Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("barlow-semi-condensed-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+0192, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0370-03FF, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2190-21FF, U+2200-22FF, U+2713-271F, U+FEFF, U+FFFD;
}

/* Source Sans 3 - body copy. */

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("source-sans-3-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+0192, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0370-03FF, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2190-21FF, U+2200-22FF, U+2713-271F, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Source Sans 3";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("source-sans-3-400italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+0192, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0370-03FF, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2190-21FF, U+2200-22FF, U+2713-271F, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("source-sans-3-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+0192, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0370-03FF, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2190-21FF, U+2200-22FF, U+2713-271F, U+FEFF, U+FFFD;
}

/* JetBrains Mono - code, table headers and small labels. */

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("jetbrains-mono-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+0192, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0370-03FF, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2190-21FF, U+2200-22FF, U+2713-271F, U+FEFF, U+FFFD,
        U+2500-257F;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("jetbrains-mono-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+0192, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0370-03FF, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2190-21FF, U+2200-22FF, U+2713-271F, U+FEFF, U+FFFD,
        U+2500-257F;
}
