54 lines
989 B
CSS
54 lines
989 B
CSS
.archive-gallery * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.archive-gallery .source-link {
|
|
display: flex;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.archive-gallery img {
|
|
/*max-width: 100%;*/
|
|
width: 100%;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.archive-gallery .gallery {
|
|
display: flex;
|
|
/*margin: 10px auto;*/
|
|
margin: 0 auto;
|
|
position: relative;
|
|
/*padding-top: 66.6666666667%;*/
|
|
}
|
|
/*
|
|
.archive-gallery @media screen and (min-width: 600px) {
|
|
.gallery {
|
|
padding-top: 400px;
|
|
}
|
|
}
|
|
*/
|
|
.archive-gallery .gallery__img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
.gallery__item > .gallery__thumb {
|
|
padding-top: 0px;
|
|
margin: 6px 6px 0 6px;
|
|
display: block;
|
|
}
|
|
.archive-gallery .gallery__selector {
|
|
position: absolute;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
.archive-gallery .gallery__selector:checked + .gallery__img {
|
|
opacity: 1;
|
|
height: 200px;
|
|
}
|
|
.archive-gallery .gallery__selector:checked ~ .gallery__thumb > img {
|
|
box-shadow: 0 0 0 3px #0be2f6;
|
|
}
|