diff --git a/CITATION.cff b/CITATION.cff index 5ab99a1..66fb24a 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,7 +8,7 @@ authors: affiliation: "LMU Open Science Center" title: "LMU Open Science Center Tutorial Template: A Quarto Extension" abstract: "A template website for the LMU Open Science Center's tutorials designed and installable as a Quarto extension" -version: 1.0.5 +version: 1.0.6 doi: 10.5281/zenodo.21263721 date-released: 2026-07-08 repository-code: "https://github.com/lmu-osc/tutorial-template" diff --git a/_extensions/tutorial-template/_extension.yml b/_extensions/tutorial-template/_extension.yml index a256549..714fb4d 100644 --- a/_extensions/tutorial-template/_extension.yml +++ b/_extensions/tutorial-template/_extension.yml @@ -1,7 +1,7 @@ title: tutorial-template author: Patrick Callahan description: A template website for the LMU Open Science Center's tutorials -version: 1.0.5 +version: 1.0.6 license: CC0-1.0 quarto-required: ">=1.9.0" contributes: diff --git a/_quarto.yml b/_quarto.yml index 6d1c2da..51a9fd5 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -55,8 +55,6 @@ website: # Begin Includes include-in-header: - file: matomo-analytics.html -include-after-body: - - file: footer/footer.html # End Includes # Begin Format @@ -66,6 +64,8 @@ format: tutorial-template-html+tutorial: css: - footer/footer-style.css + include-after-body: + - file: footer/footer.html # End Format # Begin Editor diff --git a/footer/accessibilty.qmd b/footer/accessibilty.qmd index ae43536..1ccbc18 100644 --- a/footer/accessibilty.qmd +++ b/footer/accessibilty.qmd @@ -3,57 +3,6 @@ title: "Accessibility" page-layout: full --- - - -:::{.accessibility-container} - The Ludwig-Maximilians-Universität München strives to make its offers accessible in accordance with § 9 Act on Digitalisation in the Free State of Bavaria (Bayerisches Digitalgesetz – BayDig). This Accessibility Statement applies to applications available at [https://www.lmu.de/de/index.html](https://www.lmu.de/de/index.html), [https://www.lmu.de/de/index.html](https://www.lmu.de/de/index.html) and all subdomain pages. @@ -117,6 +66,4 @@ Email:[service@geodaten.bayern.de](mailto:service@geodaten.bayern.de)\ ### Other Help Services Students with disabilities are supported by the [Beratungsstelle für Studierende mit Behinderung und chronischer Erkrankung](https://www.lmu.de/de/workspace-fuer-studierende/support-angebote/studieren-mit-beeintraechtigung/) (Counselling Center for Students with Disabilities and Chronic Illnesses). -The [Schwerbehindertenvertretung (Representative for Disabled Persons)](https://login.lmu.de/idp/profile/SAML2/Redirect/SSO?execution=e3s1) (access protected on the service portal) can support employees. - -::: \ No newline at end of file +The [Schwerbehindertenvertretung (Representative for Disabled Persons)](https://login.lmu.de/idp/profile/SAML2/Redirect/SSO?execution=e3s1) (access protected on the service portal) can support employees. \ No newline at end of file diff --git a/footer/footer-style.css b/footer/footer-style.css index 12cb5e8..9263eab 100644 --- a/footer/footer-style.css +++ b/footer/footer-style.css @@ -1,21 +1,57 @@ +/* Footer color scheme + Colors come from the osc-brand palette (see brand.yml), which Quarto exposes + to CSS as custom properties (--brand-lmu-*) on :root: + - light scheme: lmu-black background, lmu-white foreground + - dark scheme: lmu-lightgray background, lmu-black foreground + Quarto signals the active color scheme by toggling `quarto-light` / `quarto-dark` + on , so the dark-mode overrides are scoped to body.quarto-dark. */ .osc-footer-card { - --osc-primary-green: #00883A; - background-color: var(--osc-primary-green); + --osc-footer-bg: var(--brand-lmu-black); + --osc-footer-fg: var(--brand-lmu-white); + --osc-footer-fg-hover: color-mix(in srgb, var(--osc-footer-fg) 75%, transparent); + --osc-footer-rule: color-mix(in srgb, var(--osc-footer-fg) 30%, transparent); + + background-color: var(--osc-footer-bg); + color: var(--osc-footer-fg); +} + +body.quarto-dark .osc-footer-card { + --osc-footer-bg: var(--brand-lmu-lightgray); + --osc-footer-fg: var(--brand-lmu-black); +} + +/* Headings, body text, and links all follow the footer foreground */ +.osc-footer-card h4, +.osc-footer-card p, +.osc-footer-card a { + color: var(--osc-footer-fg); +} + +.osc-footer-card a:hover { + color: var(--osc-footer-fg-hover); +} + +.osc-footer-card hr { + border-color: var(--osc-footer-rule); +} + +/* Subtle lift for the social icons */ +.osc-footer-socials a { + transition: transform 0.2s ease, color 0.2s ease; } .osc-footer-socials a:hover { transform: scale(1.05); - filter: brightness(1.2); - transition: all 0.2s ease; } +/* Keyboard focus ring in the footer foreground color, visible on both schemes */ .osc-footer-card a:focus-visible { - outline: 2px solid #FFD700; + outline: 2px solid currentColor; outline-offset: 2px; } -/* no external window thing for the icons */ +/* Quarto appends an external-link arrow to raw links; not wanted for the brand icons */ .osc-footer-socials a::after { display: none !important; -} \ No newline at end of file +} diff --git a/footer/footer.html b/footer/footer.html index f2e2998..6520598 100644 --- a/footer/footer.html +++ b/footer/footer.html @@ -1,34 +1,40 @@ -