elaska
˚.˚.˚.˚.˚.˚.˚.˚.˚.˚
(function(){ function moveFairyLights(){ var fairy=document.getElementById('fairylights'); if(!fairy)return; if(fairy.parentElement!==document.body){ document.body.appendChild(fairy); } fairy.style.setProperty('position','fixed','important'); fairy.style.setProperty('top','0px','important'); fairy.style.setProperty('left','0px','important'); fairy.style.setProperty('right','0px','important'); fairy.style.setProperty('bottom','0px','important'); fairy.style.setProperty('width','100vw','important'); fairy.style.setProperty('height','100vh','important'); fairy.style.setProperty('margin','0','important'); fairy.style.setProperty('padding','0','important'); fairy.style.setProperty('transform','none','important'); fairy.style.setProperty('overflow','hidden','important'); fairy.style.setProperty('z-index','-1','important'); } function shootingStar(){ var stars=document.querySelectorAll( '#elaska-fairy-lights .fall' ); if(!stars.length)return; stars.forEach(function(star){ star.style.setProperty( 'display', 'none', 'important' ); star.style.animation='none'; }); var star=stars[ Math.floor(Math.random()*stars.length) ]; var fromLeft=Math.random()<0.5; var startY=5+Math.random()*65; if(fromLeft){ star.style.left='-2vw'; star.style.top=startY+'vh'; }else{ star.style.left='102vw'; star.style.top=startY+'vh'; } star.offsetHeight; star.style.setProperty( 'display', 'block', 'important' ); if(fromLeft){ star.style.animation= 'shootingStarLeft 10s linear 0s 1 forwards'; }else{ star.style.animation= 'shootingStarRight 10s linear 0s 1 forwards'; } } function start(){ moveFairyLights(); setTimeout(function(){ shootingStar(); },1500); setInterval(function(){ shootingStar(); },12000); } if(document.readyState==='loading'){ document.addEventListener( 'DOMContentLoaded', start ); }else{ start(); } setTimeout(moveFairyLights,100); setTimeout(moveFairyLights,500); setTimeout(moveFairyLights,1000); setTimeout(moveFairyLights,2000); })();
(function () { var isMobile = /Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent); var mobileOpacityMin = 0.1; var mobileOpacityMax = 0.25; var desktopOpacityMin = 0.25; var desktopOpacityMax = 0.5; var colors = [ "%23FFFFFF", "%23F8F8F8", "%23EFEFEF", "%23E6E6E6", "%23DCDCDC", "%23D2D2D2" ]; function random(min, max) { return Math.random() * (max - min) + min; } function pickColor() { return colors[Math.floor(Math.random() * colors.length)]; } function heartSVG(color) { return ( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E" + "%3Cpath fill='" + color + "' d='M12 21.35L10.55 20.03C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3C9.24 3 10.91 3.81 12 5.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5C22 12.27 18.6 15.36 13.45 20.03L12 21.35Z'/%3E" + "%3C/svg%3E" ); } function pickSize() { var r = Math.random(); if (isMobile) { if (r < 0.55) { return random(20, 27); } if (r < 0.85) { return random(27, 36); } return random(36, 48); } if (r < 0.55) { return random(28, 38); } if (r < 0.85) { return random(38, 52); } return random(52, 70); } var oldContainer = document.getElementById("elaska-snow-global"); if (oldContainer) { oldContainer.remove(); } var container = document.createElement("div"); container.id = "elaska-snow-global"; var style = document.createElement("style"); style.textContent = ` #elaska-snow-global { position: fixed !important; pointer-events: none !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; overflow: hidden !important; z-index: 1 !important; } .elaska-snow-flake { position: fixed !important; top: -80px !important; height: auto !important; display: block !important; pointer-events: none !important; will-change: transform; animation-name: elaskaSnowFall !important; animation-timing-function: linear !important; animation-iteration-count: infinite !important; filter: drop-shadow(0 0 2px rgba(255,189,208,.25)); } @keyframes elaskaSnowFall { 0% { transform: translate3d(0, -80px, 0); } 100% { transform: translate3d(0, 115vh, 0); } } `; document.head.appendChild(style); if (document.body.firstChild) { document.body.insertBefore(container, document.body.firstChild); } else { document.body.appendChild(container); } var flakeCount = 18; var minDuration = 18; var maxDuration = 35; for (var i = 0; i < flakeCount; i++) { var flake = document.createElement("img"); flake.src = heartSVG(pickColor()); flake.className = "elaska-snow-flake"; flake.style.left = ((i + 0.5) / flakeCount) * 100 + "%"; flake.style.opacity = isMobile ? random(mobileOpacityMin, mobileOpacityMax) : random(desktopOpacityMin, desktopOpacityMax); flake.style.width = pickSize() + "px"; var duration = random(minDuration, maxDuration); flake.style.animationDuration = duration + "s"; flake.style.animationDelay = random(-duration, 0) + "s"; container.appendChild(flake); } })();
(function () { var isMobile = /Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent); var mobileOpacityMin = 0.1; var mobileOpacityMax = 0.25; var desktopOpacityMin = 0.25; var desktopOpacityMax = 0.5; var colors = [ "%23FFFFFF", "%23F8F8F8", "%23EFEFEF", "%23E6E6E6", "%23DCDCDC", "%23D2D2D2" ]; function pickColor() { return colors[Math.floor(Math.random() * colors.length)]; } function starSVG(color) { return ( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E" + "%3Cpath fill='" + color + "' d='M12 2L14.94 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L9.06 8.26L12 2Z'/%3E" + "%3C/svg%3E" ); } var container = document.createElement("div"); container.id = "elaska-snow-global"; if (document.body.firstChild) { document.body.insertBefore(container, document.body.firstChild); } else { document.body.appendChild(container); } var style = document.createElement("style"); style.innerHTML = ` #elaska-snow-global{ position:fixed; pointer-events:none; top:0; left:0; width:100vw; height:100vh; overflow:hidden; z-index:1; } .elaska-snow-flake{ position:fixed; top:-40px; will-change:transform; animation-name:elaskaSnowFall; animation-timing-function:linear; animation-iteration-count:infinite; filter:drop-shadow(0 0 2px rgba(255,189,208,.25)); } @keyframes elaskaSnowFall{ 0%{ transform:translate3d(0,-40px,0); } 100%{ transform:translate3d(0,115vh,0); } } `; document.head.appendChild(style); var flakeCount = 18; var minDuration = 18; var maxDuration = 35; function random(min,max){ return Math.random()*(max-min)+min; } function pickSize(){ var r=Math.random(); if(isMobile){ if(r<0.45)return random(10,16); if(r<0.8)return random(16,24); if(r<0.95)return random(24,34); return random(34,46); } if(r<0.45)return random(16,24); if(r<0.8)return random(24,38); if(r<0.95)return random(38,56); return random(56,78); } for(var i=0;i
elaska
online
members
document.addEventListener("click", (e) => { for (let i = 0; i < 16; i++) { const sparkle = document.createElement("div"); sparkle.textContent = "★"; const opacity = 0.25 + Math.random() * 0.75; const size = 10 + Math.random() * 12; sparkle.style.position = "fixed"; sparkle.style.left = e.clientX + "px"; sparkle.style.top = e.clientY + "px"; sparkle.style.pointerEvents = "none"; sparkle.style.userSelect = "none"; sparkle.style.fontSize = size + "px"; sparkle.style.color = "#fff"; sparkle.style.opacity = opacity; sparkle.style.textShadow = "0 0 8px rgba(255,255,255,.8)"; sparkle.style.zIndex = "999999"; document.body.appendChild(sparkle); const angle = Math.random() * Math.PI * 2; const distance = 50 + Math.random() * 90; const rotate = -180 + Math.random() * 360; sparkle.animate([ { transform: "translate(0,0) scale(1) rotate(0deg)", opacity: opacity }, { transform: `translate(${Math.cos(angle) * distance}px, ${Math.sin(angle) * distance}px) scale(.4) rotate(${rotate}deg)`, opacity: 0 } ], { duration: 2200, easing: "cubic-bezier(.25,.6,.2,1)", fill: "forwards" }); setTimeout(() => sparkle.remove(), 2200); } });
@media (max-width: 768px) { *:not(#image01):not(#image01 *) :not(.dc-heart):not(.dc-heart *) :not(#buttons01):not(#buttons01 *) { border-radius: 18px !important; } }
document.body.appendChild(document.getElementById('heart-anchor'));
document.addEventListener("DOMContentLoaded", function () { var card = document.createElement("a"); card.href = "http://elaska.uwu.ai"; card.className = "floating-notif-card"; card.innerHTML = `
fansly
follow for free
`; document.body.appendChild(card); });