aboutsummaryrefslogtreecommitdiff
path: root/src/Style
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-27 22:17:06 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-03-27 22:17:06 +0100
commit76b17d7797bfea033bd981f1159bee31cdeb49c7 (patch)
tree382d563912ac9b5f9cd4c4b8c663dec4e4fcde73 /src/Style
parent49e744c1b691f340ee34f4542bbb35cf4de8fc23 (diff)
Updated style.css to handle the portfolio styling
Diffstat (limited to 'src/Style')
-rw-r--r--src/Style/style.css66
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;
+}