This commit is contained in:
2026-01-21 18:09:29 +01:00
parent 5e90213d61
commit 13d585376e
10 changed files with 91 additions and 22 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -93,4 +93,13 @@ document.addEventListener('DOMContentLoaded', () => {
const lenis = new Lenis({
autoRaf: true,
});
// Gallery interactions
// On click on .photo element, toggle the 'full' class
document.querySelectorAll('.photo').forEach(photoEl => {
photoEl.addEventListener('click', () => {
console.log('Photo clicked');
photoEl.classList.toggle('full');
});
});
});

View File

@ -82,15 +82,24 @@ video{
position:relative;
}
.photo{
background: var(--bulma-white);
padding:1rem;
background: #f0f0f0;
/*background: var(--bulma-white);*/
padding:10px 10px 50px;
cursor:pointer;
border-radius: 5px;
box-shadow: 0 4px 6px hsla(0,0%,6%,0.3);
transition: transform 0.5s ease-in-out;
}
.photo:hover{
transform: rotate(0deg) !important;
}
.photo.full{
position:absolute;
position:fixed;
top:0;
height:100vh;
padding:2rem;
height:calc(100vh - 4rem);
transform: rotate(0deg) !important;
z-index:100;
margin:2rem;
}
/*#tournaments*/
.tournament-block{
@ -107,6 +116,8 @@ video{
.tournament-block:hover{
transform: scale(0.9);
}
/*Custom tournament grid*/
.custom-grid{
display:grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
@ -149,6 +160,57 @@ video{
.custom-cell:hover img {
transform: scale(1.1);
}
/*Ink splatters*/
.ink{
position:relative;
}
.ink::after{
position:absolute;
content:'';
left:0;
width:100%;
background-size: contain;
background-repeat: no-repeat;
pointer-events: none;
}
.ink.top{
padding-top:14vw;
}
.ink.bottom{
padding-bottom:21vw;
}
.ink.bottom::after{
bottom:0;
background-image: url('/assets/ink_bottom_black.png');
background-position: bottom center;
height:21vw;
}
.ink.top::after{
top:0;
background-image: url('/assets/ink_top_black.png');
background-position: top center;
height:14vw;
}
.ink.bottom.yellow::after{
bottom:0;
background-image: url('/assets/ink_bottom_yellow.png');
background-position: bottom center;
height:21vw;
}
.ink.top.yellow::after{
top:0;
background-image: url('/assets/ink_top_yellow.png');
background-position: top center;
height:14vw;
}
/*Incentives*/
.incentive-block {
display: grid;
place-items: center;
columns: 3;
}
/*------------------------------------------------------------------*/
/*Twist animation*/