summaryrefslogtreecommitdiff
path: root/styles.scss
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-11 16:44:43 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-11 17:00:03 +0100
commit715e7ab8d2764860ede9c06d99f8a12cffe053e6 (patch)
treec0ab5d13f6f3243dab47c9d38fc87f3d5e2fd29a /styles.scss
parent4700797fdd790b4ad7fb4bd0459519bb0bd12b3c (diff)
embed and use font Cabin for headers and widgets
Diffstat (limited to 'styles.scss')
-rw-r--r--styles.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/styles.scss b/styles.scss
index 39a3282..15b340b 100644
--- a/styles.scss
+++ b/styles.scss
@@ -5,6 +5,14 @@
// avoid web-loading internally declared default Bootswatch font
$web-font-path: "";
+// fix apply font family setting seemingly missed by quarto
+$font-family-sans-serif: "Cabin";
+
+// use sans-serif for headers and menus
+$headings-font-family: $font-family-sans-serif;
+$display-font-family: $font-family-sans-serif;
+$input-btn-font-family: $font-family-sans-serif;
+
/*-- scss:mixins --*/
@mixin font-face($name, $style, $weight, $basedir, $file) {
@@ -24,3 +32,6 @@ $web-font-path: "";
@include font-face(ETbb, italic, 400, etbb, ETbb-Italic);
@include font-face(ETbb, normal, 700, etbb, ETbb-Bold);
@include font-face(ETbb, italic, 700, etbb, ETbb-BoldItalic);
+
+@include font-face(Cabin, normal, "400 700", cabin, "Cabin-Regular-VF");
+@include font-face(Cabin, italic, "400 700", cabin, "Cabin-Italic-VF");