diff --git a/_quarto.yml b/_quarto.yml index 6f4cf181e201b5322f5a1c26c714aedb861d4f6b..918af3fb7948cef6529e2a77801bbeb48ab2df95 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -40,10 +40,8 @@ book: format: html: theme: - light: flatly - dark: darkly + light: [flatly, _sass/main-light.scss] + dark: [darkly, _sass/main-dark.scss] -execute: +execute: cache: true - - \ No newline at end of file diff --git a/_sass/common/_callout.scss b/_sass/common/_callout.scss new file mode 100644 index 0000000000000000000000000000000000000000..168176aaf8d071a3e5d530af885b048a7113ae42 --- /dev/null +++ b/_sass/common/_callout.scss @@ -0,0 +1,19 @@ +/* ========================================================================== + Callout + ========================================================================== */ + +div.callout:not(.no-icon), div.callout { + margin-left: 0px !important; + +} + +.callout.callout-style-simple .callout-body,.callout.callout-style-default .callout-body, +.callout.callout-style-minimal .callout-body{ + font-size: 1rem !important; +} + +.callout.callout-style-default > div.callout-header, +.callout.callout-style-simple > div.callout-header, +.callout.callout-style-minimal > div.callout-header { + font-size: 1.1rem !important; +} diff --git a/_sass/common/_fonts.scss b/_sass/common/_fonts.scss new file mode 100644 index 0000000000000000000000000000000000000000..80f2b4d34b04ff792e22101576bbd662f83c1b76 --- /dev/null +++ b/_sass/common/_fonts.scss @@ -0,0 +1,3 @@ +// Path +$font-path: "_sass/common/fonts" !default; +@import "fonts/raleway"; diff --git a/_sass/common/_variables.scss b/_sass/common/_variables.scss new file mode 100644 index 0000000000000000000000000000000000000000..f5dddf3117e125f15c10569a235346d07a92c41b --- /dev/null +++ b/_sass/common/_variables.scss @@ -0,0 +1,11 @@ +/* ========================================================================== + Variables + + See: + https://quarto.org/docs/output-formats/html-themes.html#sass-variables + https://getbootstrap.com/docs/5.0/layout/grid/#variables + ========================================================================== */ + +// font families +$font-family-sans-serif: "Raleway" !default; +$headings-font-family: "Raleway" !default; diff --git a/_sass/common/fonts/Raleway/Raleway-Bold.woff b/_sass/common/fonts/Raleway/Raleway-Bold.woff new file mode 100644 index 0000000000000000000000000000000000000000..fa019bb740444579e79e91085348714a9ae3208c Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Bold.woff differ diff --git a/_sass/common/fonts/Raleway/Raleway-Bold.woff2 b/_sass/common/fonts/Raleway/Raleway-Bold.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..d510b22101b73a11c69dd5ea27a82517d3cb32ab Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Bold.woff2 differ diff --git a/_sass/common/fonts/Raleway/Raleway-BoldItalic.woff b/_sass/common/fonts/Raleway/Raleway-BoldItalic.woff new file mode 100644 index 0000000000000000000000000000000000000000..f8fda9528ced2913b0f96cde531fada7d405a2bd Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-BoldItalic.woff differ diff --git a/_sass/common/fonts/Raleway/Raleway-BoldItalic.woff2 b/_sass/common/fonts/Raleway/Raleway-BoldItalic.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..8125b4c53e123a0bc67c8015572020afb28f4c47 Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-BoldItalic.woff2 differ diff --git a/_sass/common/fonts/Raleway/Raleway-Italic.woff b/_sass/common/fonts/Raleway/Raleway-Italic.woff new file mode 100644 index 0000000000000000000000000000000000000000..0c7d4d8578d6dc0e62ea83f7a63a3624dbdf6010 Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Italic.woff differ diff --git a/_sass/common/fonts/Raleway/Raleway-Italic.woff2 b/_sass/common/fonts/Raleway/Raleway-Italic.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..ae34b62949088fa6539b53945b5202ab425c80ef Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Italic.woff2 differ diff --git a/_sass/common/fonts/Raleway/Raleway-Medium.woff b/_sass/common/fonts/Raleway/Raleway-Medium.woff new file mode 100644 index 0000000000000000000000000000000000000000..802d177302023db071e9f8b9891fc3127155ca9d Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Medium.woff differ diff --git a/_sass/common/fonts/Raleway/Raleway-Medium.woff2 b/_sass/common/fonts/Raleway/Raleway-Medium.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..b03ca0524345a41497070e22aaf11dc2e27a13ee Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Medium.woff2 differ diff --git a/_sass/common/fonts/Raleway/Raleway-MediumItalic.woff b/_sass/common/fonts/Raleway/Raleway-MediumItalic.woff new file mode 100644 index 0000000000000000000000000000000000000000..cddb266bbf39029053f055ecefafbc14d2aef5fd Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-MediumItalic.woff differ diff --git a/_sass/common/fonts/Raleway/Raleway-MediumItalic.woff2 b/_sass/common/fonts/Raleway/Raleway-MediumItalic.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..596eb5b43d93b6858fd74d58815e7d8e50e8284c Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-MediumItalic.woff2 differ diff --git a/_sass/common/fonts/Raleway/Raleway-Regular.woff b/_sass/common/fonts/Raleway/Raleway-Regular.woff new file mode 100644 index 0000000000000000000000000000000000000000..152df09931c5b311868f48e1ea94d3e7c9959c76 Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Regular.woff differ diff --git a/_sass/common/fonts/Raleway/Raleway-Regular.woff2 b/_sass/common/fonts/Raleway/Raleway-Regular.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..77ad81c11c1c22fc45bf0c66ae8458e39421f84e Binary files /dev/null and b/_sass/common/fonts/Raleway/Raleway-Regular.woff2 differ diff --git a/_sass/common/fonts/Raleway/SIL Open Font License.txt b/_sass/common/fonts/Raleway/SIL Open Font License.txt new file mode 100644 index 0000000000000000000000000000000000000000..458026d72fe76514864e29ffda5b1067cd8a97b3 --- /dev/null +++ b/_sass/common/fonts/Raleway/SIL Open Font License.txt @@ -0,0 +1,49 @@ +Copyright (c) 2010, Matt McInerney (matt@pixelspread.com), +Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com), +Copyright (c) 2011, Rodrigo Fuenzalida (www.rfuenzalida.com|hello@rfuenzalida.com), with Reserved Font Name Raleway + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. + +The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the copyright statement(s). + +"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. + +"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. + +5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. \ No newline at end of file diff --git a/_sass/common/fonts/_raleway.scss b/_sass/common/fonts/_raleway.scss new file mode 100644 index 0000000000000000000000000000000000000000..4319004b8a2bd829b267872504ec7641bca33e7f --- /dev/null +++ b/_sass/common/fonts/_raleway.scss @@ -0,0 +1,65 @@ +/* Italic bold */ +@font-face { + font-family: 'Raleway'; + font-style: italic; + font-display: auto; + font-weight: 700; + src: url('#{$font-path}/Raleway/Raleway-BoldItalic.woff2') format("woff2"), + url('#{$font-path}/Raleway/Raleway-BoldItalic.woff') format("woff"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* Italic */ +@font-face { + font-family: 'Raleway'; + font-style: italic; + font-display: auto; + font-weight: 400; + src: url('#{$font-path}/Raleway/Raleway-MediumItalic.woff2') format("woff2"), + url('#{$font-path}/Raleway/Raleway-MediumItalic.woff') format("woff"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* Italic light*/ +@font-face { + font-family: 'Raleway'; + font-style: italic; + font-display: auto; + font-weight: 300; + src: url('#{$font-path}/Raleway/Raleway-Italic.woff2') format("woff2"), + url('#{$font-path}/Raleway/Raleway-Italic.woff') format("woff"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* Normal bold */ +@font-face { + font-family: 'Raleway'; + font-style: normal; + font-display: auto; + font-weight: 700; + src: url('#{$font-path}/Raleway/Raleway-Bold.woff2') format("woff2"), + url('#{$font-path}/Raleway/Raleway-Bold.woff') format("woff"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* Normal */ +@font-face { + font-family: 'Raleway'; + font-style: normal; + font-display: auto; + font-weight: 400; + src: url('#{$font-path}/Raleway/Raleway-Medium.woff2') format("woff2"), + url('#{$font-path}/Raleway/Raleway-Medium.woff') format("woff"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* Normal light*/ +@font-face { + font-family: 'Raleway'; + font-style: normal; + font-display: auto; + font-weight: 300; + src: url('#{$font-path}/Raleway/Raleway-Regular.woff2') format("woff2"), + url('#{$font-path}/Raleway/Raleway-Regular.woff') format("woff"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/_sass/dark/_callout_exercise.scss b/_sass/dark/_callout_exercise.scss new file mode 100644 index 0000000000000000000000000000000000000000..e6d0277c817ca99db0d234004c91ddfcbc46e077 --- /dev/null +++ b/_sass/dark/_callout_exercise.scss @@ -0,0 +1,25 @@ +/* ========================================================================== + Callout + ========================================================================== */ + +$border-color-left: #730099 !default; +$background-color: #39004d !default; +$icon: url("data:image/svg+xml,%3csvg width='15' height='15' xmlns='http://www.w3.org/2000/svg'%3e%3c!--!Font Awesome Free 6.5.2 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons%2c Inc.--%3e%3cpath d='m14.587 4.16-1.35 1.35a.353.353 0 0 1-.5 0L9.485 2.258a.353.353 0 0 1 0-.496L10.838.41a1.41 1.41 0 0 1 1.99 0l1.759 1.76a1.404 1.404 0 0 1 0 1.99zM8.325 2.923.63 10.616l-.62 3.56a.705.705 0 0 0 .815.814l3.558-.626 7.696-7.692a.353.353 0 0 0 0-.498L8.828 2.922a.356.356 0 0 0-.501 0zM3.633 9.955a.408.408 0 0 1 0-.58l4.514-4.51a.408.408 0 0 1 .579 0 .408.408 0 0 1 0 .578l-4.51 4.512a.408.408 0 0 1-.581 0zM2.577 12.42h1.407v1.064l-1.89.33-.912-.91.331-1.89h1.065z' style='fill:%23ac00e6%3bfill-opacity:1%3bstroke-width:.0293002'/%3e%3c/svg%3e") !default; + +div.callout-body-container.callout-body > div.callout-exercise { + padding-top: 0.7rem !important; + padding-bottom: 0rem !important; +} + +div.callout-exercise.callout { + border-left-color: $border-color-left; +} + +div.callout-exercise.callout-style-default>.callout-header { + background-color: $background-color; +} + +div.callout-exercise > .callout-header::before { + content: $icon; + margin-right: .35em !important; +} diff --git a/www/Raleway-Regular.ttf b/_sass/deprecated/www/Raleway-Regular.ttf similarity index 100% rename from www/Raleway-Regular.ttf rename to _sass/deprecated/www/Raleway-Regular.ttf diff --git a/www/YanoneKaffeesatz-Bold.ttf b/_sass/deprecated/www/YanoneKaffeesatz-Bold.ttf similarity index 100% rename from www/YanoneKaffeesatz-Bold.ttf rename to _sass/deprecated/www/YanoneKaffeesatz-Bold.ttf diff --git a/www/github-pandoc.css b/_sass/deprecated/www/github-pandoc.css similarity index 100% rename from www/github-pandoc.css rename to _sass/deprecated/www/github-pandoc.css diff --git a/www/style_Rmd.css b/_sass/deprecated/www/style_Rmd.css similarity index 100% rename from www/style_Rmd.css rename to _sass/deprecated/www/style_Rmd.css diff --git a/_sass/light/_callout_exercise.scss b/_sass/light/_callout_exercise.scss new file mode 100644 index 0000000000000000000000000000000000000000..a63a0dec55a4fe137382e6db9e9c1ddfb0831fc6 --- /dev/null +++ b/_sass/light/_callout_exercise.scss @@ -0,0 +1,25 @@ +/* ========================================================================== + Callout + ========================================================================== */ + +$border-color-left: #ac00e6 !default; +$background-color: #f1ccff !default; +$icon: url("data:image/svg+xml,%3csvg width='15' height='15' xmlns='http://www.w3.org/2000/svg'%3e%3c!--!Font Awesome Free 6.5.2 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons%2c Inc.--%3e%3cpath d='m14.587 4.16-1.35 1.35a.353.353 0 0 1-.5 0L9.485 2.258a.353.353 0 0 1 0-.496L10.838.41a1.41 1.41 0 0 1 1.99 0l1.759 1.76a1.404 1.404 0 0 1 0 1.99zM8.325 2.923.63 10.616l-.62 3.56a.705.705 0 0 0 .815.814l3.558-.626 7.696-7.692a.353.353 0 0 0 0-.498L8.828 2.922a.356.356 0 0 0-.501 0zM3.633 9.955a.408.408 0 0 1 0-.58l4.514-4.51a.408.408 0 0 1 .579 0 .408.408 0 0 1 0 .578l-4.51 4.512a.408.408 0 0 1-.581 0zM2.577 12.42h1.407v1.064l-1.89.33-.912-.91.331-1.89h1.065z' style='fill:%23ac00e6%3bfill-opacity:1%3bstroke-width:.0293002'/%3e%3c/svg%3e") !default; + +div.callout-body-container.callout-body > div.callout-exercise { + padding-top: 0.7rem !important; + padding-bottom: 0rem !important; +} + +div.callout-exercise.callout { + border-left-color: $border-color-left; +} + +div.callout-exercise.callout-style-default>.callout-header { + background-color: $background-color; +} + +div.callout-exercise > .callout-header::before { + content: $icon; + margin-right: .35em !important; +} diff --git a/_sass/main-dark.scss b/_sass/main-dark.scss new file mode 100644 index 0000000000000000000000000000000000000000..75cd0cf0d653485804b10d70be33c8835c721789 --- /dev/null +++ b/_sass/main-dark.scss @@ -0,0 +1,8 @@ +/*-- scss:defaults --*/ +@import "common/variables"; +@import "common/callout"; +/*-- scss:rules --*/ +/* Components */ +@import "dark/callout_exercise"; +/* Fonts */ +@import "common/fonts"; diff --git a/_sass/main-light.scss b/_sass/main-light.scss new file mode 100644 index 0000000000000000000000000000000000000000..72c95c89535c5c1ee0e50b85a052855b217a7303 --- /dev/null +++ b/_sass/main-light.scss @@ -0,0 +1,8 @@ +/*-- scss:defaults --*/ +@import "common/variables"; +@import "common/callout"; +/*-- scss:rules --*/ +/* Components */ +@import "light/callout_exercise"; +/* Fonts */ +@import "common/fonts";