Prompt V (prompts.md rows 51-54). Mother theme folder + <name> renamed to vanilla_respondage (version 3.3.0); client variants renamed to respondage_defensie / respondage_erasmus (<extends>vanilla_respondage</extends>, auto-derived by build.php). export_public.sh now derives the release name from the theme dir and the leak-check glob matches ../respondage_* siblings, so the public-release leak check keeps working after the rename (sabotage-tested). All doc/tooling references updated; local-only files stay gitignored. Also includes the pending uncommitted theme work from this testing week (custom options page, header logos, sticky-header options, bundled OFL fonts, per-element font overrides, font-dropdown reordering, jsdom tests) that was verified locally but not yet pushed. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
115 lines
3.8 KiB
CSS
115 lines
3.8 KiB
CSS
/*
|
|
* Bundled open source fonts for vanilla_respondage.
|
|
*
|
|
* 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 below 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 the per-element font overrides (fontselect
|
|
* options) apply the same class on individual elements (header, progress bar,
|
|
* question titles, answers, group titles/descriptions, buttons).
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 */
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('../files/fonts/inter-var.woff2') format('woff2');
|
|
font-weight: 100 900; /* variable font: wght axis 100-900 */
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* Source Serif 4 — serif — https://github.com/adobe-fonts/source-serif — OFL 1.1 */
|
|
@font-face {
|
|
font-family: 'Source Serif 4';
|
|
src: url('../files/fonts/source-serif-4-var.woff2') format('woff2');
|
|
font-weight: 200 900; /* variable font: wght axis 200-900 */
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* EB Garamond — serif — https://open-foundry.com/fonts/eb-garamond — OFL 1.1 */
|
|
@font-face {
|
|
font-family: 'EB Garamond';
|
|
src: url('../files/fonts/eb-garamond-var.woff2') format('woff2');
|
|
font-weight: 400 800; /* variable font: wght axis 400-800 */
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* Liberation Sans — sans-serif — https://open-foundry.com/fonts/liberation-sans — OFL 1.1
|
|
(static weights: 400 and 700 are shipped as separate files) */
|
|
@font-face {
|
|
font-family: 'Liberation Sans';
|
|
src: url('../files/fonts/liberation-sans-400.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: 'Liberation Sans';
|
|
src: url('../files/fonts/liberation-sans-700.woff2') format('woff2');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* Noto Sans — sans-serif — source: Google Fonts family "Noto Sans" — OFL 1.1 */
|
|
@font-face {
|
|
font-family: 'Noto Sans';
|
|
src: url('../files/fonts/noto-sans-var.woff2') format('woff2');
|
|
font-weight: 100 900; /* variable font: wght axis 100-900 (wdth stays at default 100) */
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* Noto Serif — serif — source: Google Fonts family "Noto Serif" — OFL 1.1 */
|
|
@font-face {
|
|
font-family: 'Noto Serif';
|
|
src: url('../files/fonts/noto-serif-var.woff2') format('woff2');
|
|
font-weight: 100 900; /* variable font: wght axis 100-900 (wdth stays at default 100) */
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* Open Sans — sans-serif — source: Google Fonts family "Open Sans" — OFL 1.1 */
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
src: url('../files/fonts/open-sans-var.woff2') format('woff2');
|
|
font-weight: 300 800; /* variable font: wght axis 300-800 (wdth stays at default 100) */
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
.font-inter {
|
|
font-family: 'Inter', Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
.font-source_serif_4 {
|
|
font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
|
|
}
|
|
|
|
.font-eb_garamond {
|
|
font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
|
|
}
|
|
|
|
.font-liberation_sans {
|
|
font-family: 'Liberation 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;
|
|
}
|
|
|
|
.font-open_sans {
|
|
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
|
|
}
|