diff --git a/templates/gallery.html b/templates/gallery.html index 8c86efa..4164e7c 100644 --- a/templates/gallery.html +++ b/templates/gallery.html @@ -27,6 +27,7 @@ background: rgba(0, 0, 0, 0.8); justify-content: center; align-items: center; + flex-direction: column; } .lightbox img { max-width: 90%; @@ -41,31 +42,66 @@ color: white; cursor: pointer; } + .arrow { + position: absolute; + top: 50%; + font-size: 40px; + color: white; + cursor: pointer; + user-select: none; + transform: translateY(-50%); + } + .arrow.left { + left: 20px; + } + .arrow.right { + right: 20px; + }