diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 5ab9845..cc1e678 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -465,7 +465,6 @@ def create_cover(gallery_name, gallery_settings, gallery_path): "link": gallery_name, "sub_title": gallery_settings.get("sub_title", ""), "date": gallery_settings.get("date", ""), - "tags_as_list": gallery_settings.get("tags_as_list", ""), "ord": gallery_settings.get("ord", ""), "tags": gallery_settings.get("tags", ""), "cover_type": cover_image_type, diff --git a/prosopopee/themes/exposure/static/css/style.css b/prosopopee/themes/exposure/static/css/style.css index f08c37e..f54a7a2 100644 --- a/prosopopee/themes/exposure/static/css/style.css +++ b/prosopopee/themes/exposure/static/css/style.css @@ -34,7 +34,7 @@ a { width: 100%; height: 100%; margin: auto; - /*padding-bottom: 47%;*/ + padding-bottom: 47%; position: relative; } @@ -42,21 +42,21 @@ a { width: 50%; height: 100%; margin: 0 0 0; - /*padding-bottom: 47%;*/ + padding-bottom: 47%; position: relative; - display: inline-grid; + display: inline-block; } .covers-3 .gallery-square { width: 33.333333333%; height: 100%; margin: 0; - /*padding-bottom: 47%;*/ + padding-bottom: 47%; position: relative; - display: inline-grid; + display: inline-block; } -.gallery-square a { +.gallery-square > a { position: absolute; top: 0px; left: 0px; @@ -70,7 +70,7 @@ a { to {background-color: rgba(0, 0, 0, 0.3);} } -.gallery-square a:hover { +.gallery-square > a:hover { animation-name: darken; animation-duration: 0.15s; animation-iteration-count: 1; @@ -425,21 +425,6 @@ input:checked + .slider:before { border-radius: 50%; } -/* Needed height: 100% because if there is an element with non determined */ -/* height on the chain from root to node it fails! gallery-tags_as_list failed for this! */ -.subgal { - height: 100%; -} - -.subgaldiv { - height: 50vh; - position: relative; -} - -.gallery-tags_as_list { - text-align: left; -} - @media only screen and (max-device-width: 700px) { .gallery-square { width: 100% !important; diff --git a/prosopopee/themes/exposure/templates/sections/subgal.html b/prosopopee/themes/exposure/templates/sections/subgal.html index 97e44a7..a70db69 100644 --- a/prosopopee/themes/exposure/templates/sections/subgal.html +++ b/prosopopee/themes/exposure/templates/sections/subgal.html @@ -7,17 +7,12 @@
{% for gallery in galleries_line|reverse %}{% endfor %}
diff --git a/prosopopee/themes/light/static/css/style.css b/prosopopee/themes/light/static/css/style.css index 45476b5..2d0298a 100644 --- a/prosopopee/themes/light/static/css/style.css +++ b/prosopopee/themes/light/static/css/style.css @@ -58,7 +58,7 @@ a { display: inline-block; } -.gallery-square a { +.gallery-square > a { position: absolute; top: 0px; left: 0px; @@ -72,7 +72,7 @@ a { to {background-color: rgba(0, 0, 0, 0.3);} } -.gallery-square a:hover { +.gallery-square > a:hover { animation-name: darken; animation-duration: 0.15s; animation-iteration-count: 1; diff --git a/prosopopee/themes/material/static/css/style.css b/prosopopee/themes/material/static/css/style.css index 0887a70..90e2a15 100644 --- a/prosopopee/themes/material/static/css/style.css +++ b/prosopopee/themes/material/static/css/style.css @@ -575,7 +575,7 @@ nav .nav-header { display: inline-block; } -.gallery-square a { +.gallery-square > a { position: absolute; top: 0px; left: 0px;