diff --git a/_build-slides.sh b/_build-slides.sh deleted file mode 100644 index 4747a77..0000000 --- a/_build-slides.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# This script is to fix an issue with using extensions when trying -# to render a qmd outside of the project specs. Specifically, for -# creating slides. -cp slides/introduction.qmd _introduction.qmd - -quarto render _introduction.qmd --to r3-theme-revealjs - -mv _introduction.html slides/introduction.html diff --git a/_quarto.yml b/_quarto.yml index 0e0ea12..67ac4ba 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -1,6 +1,5 @@ project: type: r3-theme - # pre-render: bash _build-slides.sh # resources: # - slides/*.html diff --git a/slides/_extensions b/slides/_extensions new file mode 120000 index 0000000..41f7586 --- /dev/null +++ b/slides/_extensions @@ -0,0 +1 @@ +../_extensions \ No newline at end of file diff --git a/slides/_extensions/r3-theme/_extension.yml b/slides/_extensions/r3-theme/_extension.yml deleted file mode 100644 index 66d2151..0000000 --- a/slides/_extensions/r3-theme/_extension.yml +++ /dev/null @@ -1,51 +0,0 @@ -title: r3-theme -author: Luke W. Johnston -version: 1.0.6 -quarto-required: ">=1.5.0" -contributes: - format: - html: - highlight-style: a11y - fig-dpi: 72 - fig-width: 5.5 - fig-height: 5 - fig-align: center - df-print: tibble - code-link: true - code-overflow: scroll - from: markdown+emoji - theme: - - yeti - - custom-site.scss - - revealjs: - embed-resources: true - from: markdown+emoji - theme: - - simple - - custom-slides.scss - menu: true - progress: true - logo: favicon.ico - - project: - project: - type: book - execute: project - - book: - favicon: "favicon.ico" - repo-branch: main - repo-actions: [edit, issue, source] - search: true - - csl: vancouver.csl - - callout-appearance: minimal - reference-location: margin - citation-location: margin - crossref: - chapters: true - - execute: - freeze: auto diff --git a/slides/_extensions/r3-theme/custom-site.scss b/slides/_extensions/r3-theme/custom-site.scss deleted file mode 100644 index 1fe69ee..0000000 --- a/slides/_extensions/r3-theme/custom-site.scss +++ /dev/null @@ -1,23 +0,0 @@ -/*-- scss:defaults --*/ - -@import url('https://fonts.googleapis.com/css2?family=Cabin'); -@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic'); -@import url('https://fonts.googleapis.com/css2?family=PT+Mono'); - -$font-family-monospace: "PT Mono", monospace !default; -$font-family-serif: "Nanum Gothic", sans-serif !default; -$font-family-sans-serif: "Nanum Gothic", sans-serif !default; -$headings-font-family: "Cabin", sans-serif !default; -$font-size-root: 18px !default; - -/*-- scss:rules --*/ - -.slide-deck { - border: 3px solid #203C6E; - width: 100%; - height: 425px; -} - -kbd { - padding: .15rem .15rem; -} diff --git a/slides/_extensions/r3-theme/custom-slides.scss b/slides/_extensions/r3-theme/custom-slides.scss deleted file mode 100644 index acf3df5..0000000 --- a/slides/_extensions/r3-theme/custom-slides.scss +++ /dev/null @@ -1,53 +0,0 @@ -/*-- scss:defaults --*/ - -@import url(https://fonts.googleapis.com/css?family=Quicksand&display=swap); -@import url(https://fonts.googleapis.com/css?family=Outfit&display=swap); -@import url(https://fonts.googleapis.com/css2?family=PT+Mono); - -$font-family-serif: "Quicksand", sans-serif !default; -$font-family-sans-serif: "Quicksand", sans-serif !default; -$font-family-monospace: "PT Mono", monospace !default; -$presentation-heading-font: "Outfit", sans-serif !default; - -/* -From litera: -$primary: #4582ec !default; -$secondary: #adb5bd !default; -*/ - -/* -# For background -monochromeR::generate_palette("#ffffff", "go_darker", n_colours = 20, view_palette = TRUE) -# For headers (primary) -monochromeR::generate_palette("#4582ec", "go_darker", n_colours = 4, view_palette = TRUE) -# For links -monochromeR::generate_palette("#4582ec", "go_lighter", n_colours = 4, view_palette = TRUE) -*/ - -$primary: #203C6E !default; -$secondary: #adb5bd !default; - -$presentation-heading-color: $primary !default; - -$presentation-font-size-root: 35px !default; -$presentation-h2-font-size: 2em !default; -$body-bg: #E9E9E9 !default; -$link-color: #4582ec !default; -/* sets color of controls as well as links */ -/* -$body-color: #403E4A; -$highlight-color: #574997; -$selection-bg: #9A91C0; -*/ - -/*-- scss:rules --*/ - -.reveal .progress { - height: 8px; - color: $primary; - top: 0; -} - -.reveal .slide-logo { - top: 0; -} diff --git a/slides/_extensions/r3-theme/favicon.ico b/slides/_extensions/r3-theme/favicon.ico deleted file mode 100644 index fe3f25b..0000000 Binary files a/slides/_extensions/r3-theme/favicon.ico and /dev/null differ diff --git a/slides/_extensions/r3-theme/vancouver.csl b/slides/_extensions/r3-theme/vancouver.csl deleted file mode 100644 index edbb69b..0000000 --- a/slides/_extensions/r3-theme/vancouver.csl +++ /dev/null @@ -1,351 +0,0 @@ - -