diff --git a/site/layouts/partials/organisations.html b/site/layouts/partials/organisations.html index 9d385e6..1866d49 100644 --- a/site/layouts/partials/organisations.html +++ b/site/layouts/partials/organisations.html @@ -6,6 +6,9 @@

{{ replace .Site.Params.organisations.text "openletter/" ("/openletter" | relLangURL) | markdownify }}

+
+ +
diff --git a/site/static/css/custom.css b/site/static/css/custom.css index 33e4292..689c0c4 100644 --- a/site/static/css/custom.css +++ b/site/static/css/custom.css @@ -101,11 +101,10 @@ blockquote p { #organisations ul li a { display: block; position: relative; - width: 12vw; - height: 8vw; max-width: 120px; max-height: 80px; min-width: 120px; + min-height: 80px; background-position: center center; background-repeat: no-repeat; background-size: contain; @@ -118,6 +117,44 @@ blockquote p { transform: scale(0.9); z-index: 5; } +/* expand organisation grid */ +.orgs { + position: relative; + height: 350px; + overflow: hidden; + transition: height 0s 10000s; + -webkit-transition: height 0s 10000s; + background-color: white; +} +.expand { + position: relative; + top: 400px; + width: 94%; + padding: 15px 0; + margin: -80px 3% 0 3%; + font-size: 40px; + background-color: white; + box-shadow: 0px -20px 50px 30px rgba(255, 255, 255, 1); + z-index: 1; + transition: z-index 0s 10000s; + -webkit-transition: z-index 0s 10000s; + cursor: pointer; +} +.expand i { + transform: rotate(-35deg) scaleY(-1) ; +} +.expand:focus { + z-index: 0; + transition: z-index 0s; + -webkit-transition: z-index 0s; +} +.expand:focus + .orgs { + height: 100%; + overflow: unset; + transition: height 0s; + -webkit-transition: height 0s; +} + /* SIGN FORM */ #actionintro strong {