From 505d4a3c7071d6cf12f9e2fd0a617bbd527dab81 Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Mon, 18 Dec 2023 07:43:26 -0600 Subject: [PATCH] Better Flakes --- resources/mainPage.html | 12 ++++++------ static/style.css | 8 +++++++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/resources/mainPage.html b/resources/mainPage.html index 2e5b049..5396ddd 100644 --- a/resources/mainPage.html +++ b/resources/mainPage.html @@ -11,7 +11,7 @@ @@ -25,7 +25,7 @@

Violet

-
+

They/Them

@@ -34,7 +34,7 @@ {LANYARD_STATUS}
-
+

Stuff i'm hosting!

Socials

@@ -45,14 +45,14 @@

The world's worst developer

{LANYARD_FULL} {SOCIALS} {MASTODON_FEED} -
- {SEASONAL_EFFECT} + {SEASONAL_EFFECT} +
\ No newline at end of file diff --git a/static/style.css b/static/style.css index ee0664f..7afff48 100644 --- a/static/style.css +++ b/static/style.css @@ -50,6 +50,7 @@ a { } .chip { + position: relative; z-index: 3; font-size: 1.3rem; border: 2px gray solid; @@ -235,9 +236,10 @@ hr { .snowflake { color: white; - font-size: 0.5rem; + font-size: 0.5em; font-family: Arial, sans-serif; text-shadow: 0 0 5px #000; + visibility: hidden; } .snowflake, @@ -249,10 +251,12 @@ hr { @keyframes snowflakes-fall { 0% { + visibility: visible; transform: translateY(0) } 100% { + visibility: visible; transform: translateY(110vh) } } @@ -276,12 +280,14 @@ hr { user-select: none; cursor: default; animation-name: snowflakes-shake; + animation-delay: 0.5s; animation-duration: 3s; animation-timing-function: ease-in-out } .snowflake .inner { animation-duration: 10s; + animation-delay: 0.5s; animation-name: snowflakes-fall; animation-timing-function: linear }