From 0b8abce4091a9e8956315419a958ad9e5951c058 Mon Sep 17 00:00:00 2001 From: beese_buck <16601315+cant-be-blenk@users.noreply.github.com> Date: Tue, 18 Jan 2022 21:27:32 -0800 Subject: [PATCH 1/2] make seals gooder I think --- files/templates/submission.html | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index f607afe24..a8228c8b2 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -34,12 +34,16 @@ } } - @keyframes wholesome1 { - 0% {top:0%; left: 50%;} - 25% {top:50%; left:98%;} - 50% {top:98%; left: 50%} - 75% {top:50%; left:0%;} - 100% {top:0%; left: 50%;} + @keyframes moveX { + from { left: 0; } to { left: 98%; } + } + + @keyframes moveY { + from { top: 0; } to { top: 98%; } + } + + .seal { + animation: moveX 4s linear 0s infinite alternate, moveY 6.8s linear 0s infinite alternate !important; } .seal { @@ -48,13 +52,6 @@ pointer-events: none; width: 100% !important; height: 100% !important; - animation-duration: 10s !important; - animation-iteration-count: infinite !important; - animation-fill-mode: forwards !important; - animation-timing-function: linear !important; - } - .seal1 { - animation-name: wholesome1 !important; }
From aa375fbc5171cd835a82435ce5bcbaeb2eb358db Mon Sep 17 00:00:00 2001 From: beese_buck <16601315+cant-be-blenk@users.noreply.github.com> Date: Tue, 18 Jan 2022 21:40:09 -0800 Subject: [PATCH 2/2] many seals (possibly invading ur beach) --- files/templates/submission.html | 49 +++++++++++---------------------- 1 file changed, 16 insertions(+), 33 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index a8228c8b2..47b5931f1 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -34,6 +34,14 @@ } } + .seal { + position:fixed; + z-index:9999; + pointer-events: none; + width: 100% !important; + height: 100% !important; + } + @keyframes moveX { from { left: 0; } to { left: 98%; } } @@ -42,16 +50,9 @@ from { top: 0; } to { top: 98%; } } - .seal { + .seal1 { animation: moveX 4s linear 0s infinite alternate, moveY 6.8s linear 0s infinite alternate !important; - } - - .seal { - position:fixed; - z-index:9999; - pointer-events: none; - width: 100% !important; - height: 100% !important; + animation-delay:0s; }
@@ -61,15 +62,9 @@ {% if p.award_count("wholesome") > 1 %}
@@ -79,15 +74,9 @@ {% if p.award_count("wholesome") > 2 %}
@@ -97,15 +86,9 @@ {% if p.award_count("wholesome") > 3 %}