diff --git a/css/galleriffic-2.css b/css/galleriffic-2.css index 6a34447..d280805 100644 --- a/css/galleriffic-2.css +++ b/css/galleriffic-2.css @@ -186,6 +186,53 @@ div.navigation { color: #666; } +/* Fullscreen lightbox */ +.lightbox { + position: fixed; + inset: 0; + z-index: 99999; +} +.lightbox-backdrop { + position: absolute; + inset: 0; + background: rgba(0, 0, 0, 0.85); +} +.lightbox-content { + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; + padding: 24px; + box-sizing: border-box; +} +.lightbox-content img { + max-width: 95vw; + max-height: 95vh; + width: auto; + height: auto; + border: 1px solid rgba(255, 255, 255, 0.2); + background: #000; +} +.lightbox-close { + position: absolute; + top: 14px; + right: 14px; + width: 44px; + height: 44px; + border-radius: 999px; + border: 1px solid rgba(255, 255, 255, 0.25); + background: rgba(0, 0, 0, 0.35); + color: #fff; + font-size: 28px; + line-height: 42px; + text-align: center; + cursor: pointer; +} +.lightbox-close:hover { + background: rgba(0, 0, 0, 0.55); +} + /* ---- Layout: slideshow (left) + thumbs (right), full width ---- */ .gallery-wrap { display: flex; diff --git a/index.html b/index.html index e126d04..27450af 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,7 @@ +