diff --git a/site/assets/js/views/on-every-page.js b/site/assets/js/views/on-every-page.js index aa05a48..13fd7cf 100644 --- a/site/assets/js/views/on-every-page.js +++ b/site/assets/js/views/on-every-page.js @@ -95,11 +95,11 @@ if (anmeldeToggler) { } -/* +/* autoplay ios fix */ document.querySelectorAll('video[autoplay]').forEach( video => { video.play(); }); - */ + const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]'); diff --git a/site/assets/scss/common/_swup.scss b/site/assets/scss/common/_swup.scss index 00b33ff..1bdb8db 100644 --- a/site/assets/scss/common/_swup.scss +++ b/site/assets/scss/common/_swup.scss @@ -2,15 +2,31 @@ html.is-changing .transition-fade { view-transition-name: main; } ::view-transition-old(main) { - animation: fade 0.3s ease-in-out both; + animation: fadeOut 0.4s ease-out both; //min-height: 100vh; } ::view-transition-new(main) { - animation: fade 0.3s ease-in-out both reverse; + animation: fadeIn 0.4s ease-out both; } -@keyframes fade { - from { opacity: 1; } - to { opacity: 0; } +@keyframes fadeIn { + from { + opacity: 0; + transform: translateY(2rem); + } + to { + opacity: 1; + transform: translateY(0); + } +} +@keyframes fadeOut { + from { + opacity: 1; + transform: translateY(0); + } + to { + opacity: 0; + transform: translateY(-2rem); + } } diff --git a/site/hugo_stats.json b/site/hugo_stats.json index 43bd26a..2117af9 100644 --- a/site/hugo_stats.json +++ b/site/hugo_stats.json @@ -43,7 +43,6 @@ "option", "p", "path", - "picture", "polygon", "rect", "script", @@ -68,7 +67,6 @@ ], "classes": [ "4", - "^col-lg-7", "about", "accordion", "accordion-body", @@ -277,7 +275,6 @@ "mb-18", "mb-2", "mb-20", - "mb-29", "mb-3", "mb-4", "mb-5", @@ -374,12 +371,13 @@ "offset-md-1", "open-source", "openshift-operations", - "optimized", "order-lg-1", "order-lg-3", "order-md-1", "outline", "overflow-hidden", + "overflow-hidden_", + "overflow-x-hidden", "p-0", "p-2", "p-3_", @@ -473,7 +471,6 @@ "row-cols-sm-2", "scroll-down", "scrollmove", - "scrollmove_", "section", "section-about", "serverless", diff --git a/site/layouts/index.html b/site/layouts/index.html index 1a4ffb8..a451c92 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -2,13 +2,13 @@ {{ $data := index .Site.Data .Site.Language.Lang }} {{ with $data.homepage.video }} -
+
diff --git a/site/layouts/partials/content-partner.html b/site/layouts/partials/content-partner.html index b8e04d7..b58a4c3 100644 --- a/site/layouts/partials/content-partner.html +++ b/site/layouts/partials/content-partner.html @@ -5,7 +5,7 @@
{{ if eq $logo.MediaType.SubType "svg" }}
- {{ .title }} + {{ .title }}
{{ else }}
diff --git a/site/layouts/partials/page-header.html b/site/layouts/partials/page-header.html index 767ff04..f950dd7 100644 --- a/site/layouts/partials/page-header.html +++ b/site/layouts/partials/page-header.html @@ -1,8 +1,8 @@
-

{{ .title | markdownify }}

+

{{ .title | markdownify }}

{{ with .lead }} -
{{ . | markdownify }}
+
{{ . | markdownify }}
{{ end }}
diff --git a/site/layouts/trainings/list.html b/site/layouts/trainings/list.html index a1af0db..e8d875a 100644 --- a/site/layouts/trainings/list.html +++ b/site/layouts/trainings/list.html @@ -1,18 +1,18 @@ {{ define "main" }} -
+
{{ with .Params.header }} -

{{ .title | markdownify }}

-
{{ .lead | markdownify }}
+

{{ .title | markdownify }}

+
{{ .lead | markdownify }}
{{ end }}
-
+
{{ range .Params.imagecloud }} @@ -118,15 +118,16 @@

{{ .Params.filtertitle }}

- {{ partial "img-srcset.html" (dict "img" .img3 "size" 300 "lazy" false) }} + {{- partial "img" (dict "page" . "src" .img3 "width" 300 "process" "" ) }}
- {{ partial "img-srcset.html" (dict "img" .img2 "size" 600 "lazy" false) }} + {{- partial "img" (dict "page" . "src" .img2 "width" 600 "process" "" ) }}
- {{ partial "img-srcset.html" (dict "img" .img1 "size" 200 "lazy" false) }} + {{- partial "img" (dict "page" . "src" .img1 "width" 200 "process" "" ) }}
+
diff --git a/site/layouts/ueber-uns/list.html b/site/layouts/ueber-uns/list.html index 21ef339..ab98fc4 100644 --- a/site/layouts/ueber-uns/list.html +++ b/site/layouts/ueber-uns/list.html @@ -5,14 +5,14 @@ {{ end }} {{ with .Params.timeline }} -
+
{{ range .items}}
-
+

{{ .title }}

{{ .subtitle }}

{{ with .img }}