vanilla_respondage/css/fonts.css

70 lines
3.5 KiB
CSS
Raw Permalink Normal View History

@charset "UTF-8";
/* Bundled open source fonts for vanilla_respondage — compiled from this file (sass is leading): edit sass/fonts.sass, then `sass --watch sass:css` or `sass sass/fonts.sass css/fonts.css`. */
/* The font files live in ../files/fonts/ (the asset manager copies the whole theme directory to the assets dir, so this relative path works from css/). */
/* Each font is selectable in the theme options (Fonts category, optgroup "Bundled open source fonts" in config.xml). The class rules are GENERIC (.font-<value>, not body-scoped) on purpose: */
/* the base font is applied as font-<value> on <body>, and per-element font overrides (fontselect options) apply the same class on individual elements. */
/* To add your own font to this theme: see files/fonts/README.md. Licenses: SIL Open Font License 1.1 — see files/fonts/OFL-*.txt. */
/* Row 228 font set: Inter (default, primary), Noto Sans (multilingual fallback, stacked behind Inter), Noto Serif (the one serif), Atkinson Hyperlegible (accessibility variant). */
/* Purged row 228: EB Garamond, Liberation Sans 400/700, Open Sans, Source Serif 4 — see README.md "Default font" for the rationale. */
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 — DEFAULT font (row 228) */
@font-face {
font-family: "Inter";
src: url("../files/fonts/inter-var.woff2") format("woff2");
/* variable font: wght axis 100-900 */
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
/* Noto Sans — sans-serif — https://github.com/notofonts/latin-greek-cyrillic — OFL 1.1 — multilingual fallback, stacked behind Inter */
@font-face {
font-family: "Noto Sans";
src: url("../files/fonts/noto-sans-var.woff2") format("woff2");
/* variable font: wght axis 100-900 (wdth stays at default 100) */
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
/* Noto Serif — serif — https://github.com/notofonts/latin-greek-cyrillic — OFL 1.1 — the one bundled serif (row 228: covers non-Latin scripts too) */
@font-face {
font-family: "Noto Serif";
src: url("../files/fonts/noto-serif-var.woff2") format("woff2");
/* variable font: wght axis 100-900 (wdth stays at default 100) */
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
/* Atkinson Hyperlegible — sans-serif — https://github.com/googlefonts/atkinson-hyperlegible — OFL 1.1 — accessibility variant (row 228) */
/* static weights 400 and 700 shipped as separate files, like Liberation Sans was */
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("../files/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("../files/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Inter is the default: Noto Sans is stacked directly behind it, so glyphs Inter lacks (non-Latin scripts) fall through to Noto Sans without a download of another family */
.font-inter {
font-family: "Inter", "Noto Sans", Arial, Helvetica, sans-serif;
}
.font-noto_sans {
font-family: "Noto Sans", Arial, Helvetica, sans-serif;
}
.font-noto_serif {
font-family: "Noto Serif", Georgia, "Times New Roman", serif;
}
/* accessibility variant: distinct letterforms for respondents with lower vision or reading difficulties */
.font-atkinson_hyperlegible {
font-family: "Atkinson Hyperlegible", "Inter", "Noto Sans", Arial, Helvetica, sans-serif;
}
/*# sourceMappingURL=fonts.css.map */