fix gallery lib

This commit is contained in:
2022-10-15 16:36:24 +02:00
parent 094d2e4ed7
commit 9518a759c4
42 changed files with 207 additions and 257 deletions

View File

@ -17,7 +17,7 @@ Grid Layout Styles
position: relative;
/* Default: 1 tile wide */
width: 100%;
padding-bottom: 100%;
padding-bottom: 100%;
}
@media only screen and (min-width : 365px) {
/* Tablet view: 2 tiles */
@ -45,7 +45,7 @@ Grid Layout Styles
Transition styles
*/
.gallery.hover-transition figure,
.gallery.hover-effect-zoom .img,
.gallery.hover-effect-zoom .img,
.gallery:not(.caption-effect-appear) figcaption,
.fancy-figure:not(.caption-effect-appear) figcaption {
-webkit-transition: all 0.3s ease-in-out;
@ -122,7 +122,7 @@ figcaption styles
text-align: center;
font-size: 75%; /* change this if you want bigger text */
background: rgba(0, 0, 0, 0.5);
opacity: 1;
opacity: 0;
cursor: pointer;
}
.gallery.caption-position-none figcaption,
@ -155,14 +155,4 @@ figcaption styles
}
figcaption p {
margin: auto; /* override style in theme */
}
figure img {
max-width: 100%;
}
figure figcaption a {
position: relative;
color: #CCC;
/* text-decoration: none; */
}
}