diff --git a/themes/coopcloud.tech/assets/scss/main.scss b/themes/coopcloud.tech/assets/scss/main.scss index a7fd894..f609dec 100644 --- a/themes/coopcloud.tech/assets/scss/main.scss +++ b/themes/coopcloud.tech/assets/scss/main.scss @@ -280,15 +280,15 @@ footer .separator { #case_studies-slide-body{ max-height: 1000px; overflow: hidden; - transition: max-height 500ms ease; - -moz-transition: max-height 500ms ease; - -ms-transition: max-height 500ms ease; - -o-transition: max-height 500ms ease; - -webkit-transition: max-height 500ms ease; + transition: max-height 1s ease; + -moz-transition: max-height 1s ease; + -ms-transition: max-height 1s ease; + -o-transition: max-height 1s ease; + -webkit-transition: max-height 1s ease; } .expanded { height: auto !important; - max-height: 3000px !important; + max-height: 4000px !important; } .contracted { background: linear-gradient(to bottom, rgba(239, 239, 239, 0), rgba(239, 239, 239, 0) 80%, rgba(239, 239, 239, 0.25) 90%, rgba(239, 239, 239, 1)) !important; @@ -299,4 +299,13 @@ footer .separator { position: absolute; margin: 10px; left: 50%; +} + +// Styling for divider + +hr.divider { + border-top: 1px solid #1C1C1C; + border-radius: 3px; + height: 1px; + padding: 0; } \ No newline at end of file diff --git a/themes/coopcloud.tech/layouts/partials/index/case_studies.html b/themes/coopcloud.tech/layouts/partials/index/case_studies.html index baac64f..4ea85b8 100644 --- a/themes/coopcloud.tech/layouts/partials/index/case_studies.html +++ b/themes/coopcloud.tech/layouts/partials/index/case_studies.html @@ -4,9 +4,16 @@
{{ range $index, $item := .data | shuffle }} -
+ {{ if ne $index 0 }} +
+
+
+
+
+ {{ end }} +
{{ if eq (mod $index 2) 0 }} -
+
{{ with $item.thumbnail }} @@ -15,16 +22,16 @@ {{ end }}
-
+

{{ $item.title | markdownify }}

{{ $item.content | markdownify }}

{{ else }} -
+

{{ $item.title | markdownify }}

{{ $item.content | markdownify }}

-
+
{{ with $item.thumbnail }}