From c1320d01529fadefbef4958560a2465d4457c240 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 4 Dec 2015 12:42:07 +0100 Subject: [PATCH] [enh] add link to galleries covers --- materialize/css/style.css | 9 +++++++++ templates/example.html | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/materialize/css/style.css b/materialize/css/style.css index 5d46003..0696bc7 100644 --- a/materialize/css/style.css +++ b/materialize/css/style.css @@ -27,6 +27,15 @@ body { position: relative; } +.gallery-square > a { + position: absolute; + top: 0px; + left: 0px; + z-index: 555; + width: 100%; + height: 100%; +} + .gallery-cover { position: absolute; top: 0px; diff --git a/templates/example.html b/templates/example.html index 882e5a5..425404f 100644 --- a/templates/example.html +++ b/templates/example.html @@ -20,6 +20,7 @@