From f54a80a3f26ac8722ea1fd717619f3b24db132f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:17:01 +0200 Subject: [PATCH] style: reformatted code --- .gitignore | 2 ++ _extensions/coeos/_extension.yml | 4 ++-- _extensions/coeos/coeos.scss | 15 +++++++++------ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 221359f..65ac556 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ about.qmd setup-ggplot2-coeos.R template.html template_files/ + +/.luarc.json diff --git a/_extensions/coeos/_extension.yml b/_extensions/coeos/_extension.yml index 4749a33..63cf32d 100644 --- a/_extensions/coeos/_extension.yml +++ b/_extensions/coeos/_extension.yml @@ -1,7 +1,7 @@ title: Coeos Presentation Template author: Mickaƫl CANOUIL version: 1.3.0 -quarto-required: ">=1.3.340" +quarto-required: ">=1.3.450" contributes: formats: revealjs: @@ -11,7 +11,7 @@ contributes: footer: | mickael.canouil.fr | - License: CC-BY-SA-4.0 + License: CC-BY-SA-4.0 logo: coeos.svg include-in-header: - text: | diff --git a/_extensions/coeos/coeos.scss b/_extensions/coeos/coeos.scss index 7778584..bf8759f 100644 --- a/_extensions/coeos/coeos.scss +++ b/_extensions/coeos/coeos.scss @@ -6,7 +6,7 @@ // fonts $font-family-sans-serif: 'Alegreya Sans', 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', sans-serif !default; - + // colors $body-bg: #333333 !default; $body-color: #FAFAFA !default; @@ -42,14 +42,15 @@ $code-block-border-color: $body-color !default; color: #7F7F7F; } - .author, .quarto-title-author-name { + .author, + .quarto-title-author-name { color: $body-color; } .quarto-title-authors { display: flex; justify-content: left; - + .quarto-title-author { padding-left: 0em; padding-right: 0em; @@ -57,7 +58,8 @@ $code-block-border-color: $body-color !default; } } - p.author::before, div.quarto-title-author::before { + p.author::before, + div.quarto-title-author::before { content: ""; display: block; border: none; @@ -93,7 +95,8 @@ $code-block-border-color: $body-color !default; bottom: 10px !important; } -.slide-number, .reveal.has-logo .slide-number { +.slide-number, +.reveal.has-logo .slide-number { bottom: 10px !important; right: 10px !important; top: unset !important; @@ -105,7 +108,7 @@ $code-block-border-color: $body-color !default; border-radius: 4px; } -code.sourceCode > span { +code.sourceCode>span { color: $body-bg !important; }