feat: background photo system — random Lanzarote landscapes behind CV grid

Dev-only toggle button enables/disables photo backgrounds. Photos are
auto-discovered from static/images/backgrounds/ and randomly selected
on each page load. Production is unaffected — no button, no photo.
This commit is contained in:
juanatsap
2026-04-25 14:46:33 +01:00
parent fc1ca90b38
commit 3b6d5e781a
9 changed files with 122 additions and 11 deletions
+33
View File
@@ -124,6 +124,39 @@
color: #27ae60; /* Green icon when at bottom */
}
/* Background Photo Toggle (Dev Only - above download button) */
.bg-photo-btn {
position: fixed;
bottom: 30rem;
left: 2rem;
width: 50px;
height: 50px;
background: var(--black-bar, #2b2b2b);
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
z-index: 999;
opacity: 0.6;
}
.bg-photo-btn:hover {
opacity: 1;
transform: translateY(-3px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
background: #8e6b3e !important; /* Earthy brown — Lanzarote vibes */
}
.bg-photo-btn.at-bottom {
opacity: 1;
background: #8e6b3e !important;
}
/* Download Button (TOP POSITION - now first button after cmd-k removed) */
.download-btn {
position: fixed;