Minor theme tweaking

This commit is contained in:
bingus_violet 2024-09-30 17:34:22 -05:00
parent 25287795d8
commit e3cfd9142f
6 changed files with 16 additions and 214 deletions

View file

@ -1,28 +0,0 @@
$(document).ready(() => {
function particle() {
var particle = $("<div></div>")
particle.addClass("rainDrop")
particle.css("left", (Math.random() * 100).toString() + "%")
particle.css("visibility", "visible")
particle.css("top", "-10%")
particle.animate({
"top": "110%",
"easing": "linear"
}, 600, () => {
particle.remove()
})
$(".rainContainer").append(particle)
}
$(".rainContainer > *").remove()
function loop() {
particle()
setTimeout(() => {
loop()
}, 100 * (Math.random() + 0.25));
}
loop()
})