diff options
Diffstat (limited to 'src/Style')
| -rw-r--r-- | src/Style/style.css | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/Style/style.css b/src/Style/style.css index 61e39e0..926033a 100644 --- a/src/Style/style.css +++ b/src/Style/style.css @@ -174,3 +174,69 @@ footer { font-size: 14px; color: #888; } + +/* Gallery grid */ +.gallery { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); + gap: 15px; + margin: 30px 0; +} + +.gallery-item { + aspect-ratio: 1; + overflow: hidden; + border: 1px solid rgba(255, 0, 255, 0.4); + transition: all 0.2s ease-in-out; +} + +.gallery-item:hover { + border-color: #00ffff; + box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); +} + +.gallery-item img { + width: 100%; + height: 100%; + object-fit: cover; +} + +/* Lightbox */ +.lightbox { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(5, 0, 8, 0.95); + z-index: 100; + align-items: center; + justify-content: center; +} + +.lightbox.active { + display: flex; +} + +.lightbox-img { + max-width: 90%; + max-height: 90%; + border: 1px solid rgba(255, 0, 255, 0.4); + box-shadow: 0 0 30px rgba(255, 0, 255, 0.3); +} + +.lightbox-close { + position: absolute; + top: 20px; + right: 30px; + font-size: 40px; + color: #ff00ff; + cursor: pointer; + transition: all 0.2s ease-in-out; +} + +.lightbox-close:hover { + color: #00ffff; + text-shadow: 0 0 10px #00ffff; +} |
