Spaces:
Running
Running
File size: 1,083 Bytes
6287118 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
.lighbox-container {
display: flex;
width: 100%;
flex-direction: column;
}
.lighbox-row {
display: flex;
justify-content: space-between;
}
.thumbnail {
cursor: pointer;
width: 250px;
height: auto;
border-radius: 8px;
transition: transform 0.2s ease;
}
.thumbnail:hover {
transform: scale(1.05);
}
.lightbox {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(4px);
}
.lightbox-content {
margin: 5% auto;
display: block;
max-width: 90%;
max-height: 80vh;
animation: zoom 0.3s;
}
.close-btn {
position: absolute;
top: 20px;
right: 35px;
color: white;
font-size: 40px;
font-weight: bold;
cursor: pointer;
z-index: 10000;
}
.close-btn:hover,
.close-btn:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
@keyframes zoom {
from {
transform: scale(0);
}
to {
transform: scale(1);
}
}
@media (max-width: 600px) {
.lighbox-container {
padding: 20px;
}
}
|