diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-02-21 09:47:20 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-02-21 09:47:20 +0100 |
commit | a7ab7d97c292345b6912388941c513beee2d8387 (patch) | |
tree | 25951561c91d6b6960089346438e877d1be478a7 /styles.scss | |
parent | 81c9e8b667ba64a7e622ae9079b292e878b5c657 (diff) |
move stylesheets to subdir styles/
Diffstat (limited to 'styles.scss')
-rw-r--r-- | styles.scss | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/styles.scss b/styles.scss deleted file mode 100644 index 15b340b..0000000 --- a/styles.scss +++ /dev/null @@ -1,37 +0,0 @@ -// origin: https://stackoverflow.com/a/75470197/18619283 - -/*-- scss:defaults --*/ - -// 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) { - @font-face { - font-display: swap; - font-family: #{$name}; - font-style: #{$style}; - font-weight: #{$weight}; - src: url("fonts/#{$basedir}/woff2/#{$file}.woff2") format("woff2"), - url("fonts/#{$basedir}/opentype/#{$file}.otf") format("opentype"); - } -} - -/*-- scss:rules --*/ - -@include font-face(ETbb, normal, 400, etbb, ETbb-Regular); -@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"); |