From ad823cc4d72edbab10f0dadf99b30df91c3f7c50 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sun, 16 Aug 2020 08:38:04 +0300 Subject: Squashed 'website/themes/reveal-hugo/' content from commit ff9f389 git-subtree-dir: website/themes/reveal-hugo git-subtree-split: ff9f389743ae2fe5c5cc6101455db0616e8548e2 --- exampleSite/static/plugin/gallery/gallery.css | 67 +++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 exampleSite/static/plugin/gallery/gallery.css (limited to 'exampleSite/static/plugin/gallery/gallery.css') diff --git a/exampleSite/static/plugin/gallery/gallery.css b/exampleSite/static/plugin/gallery/gallery.css new file mode 100644 index 0000000..58d3514 --- /dev/null +++ b/exampleSite/static/plugin/gallery/gallery.css @@ -0,0 +1,67 @@ +.reveal ul.gallery { + position: relative; + list-style-type: none; + margin: 0; + padding: 0; + width: 960px; + height: 700px; +} + +.reveal ul.gallery[data-mode=full-screen] { + width: 100%; + height: 100%; +} + +.gallery li { + display: block; + position: absolute; + top: 0; + left: 0; + width: 960px; + height: 700px; + opacity: 0; + -webkit-transition: opacity 0.3s ease-in-out; + -moz-transition: opacity 0.3s ease-in-out; + transition: opacity 0.3s ease-in-out; +} + +.gallery[data-mode=full-screen] li { + width: 100%; + height: 100%; + background-size: 100% 100%; + background-attachment:fixed; + background-position: center; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; +} + + +.gallery .active { + opacity: 1; +} + +.gallery .inactive { + opacity: 0; +} + +.gallery img { + display: block; + position: absolute; + top: 0; + left: 0; + border: none !important; +} + +.gallery label { + display: block; + position: absolute; + bottom: 20px; + min-width: 150px; + left: 0; + padding: 10px; + background-color: rgba(0, 0, 0, 0.6); + color: #fff; + font-size: 24px; +} \ No newline at end of file -- cgit v1.3.1-23-gd82d