eonn-site

scripts and documents that generate eonn.xyz
git clone git://git.eonn.xyz/eonn-site.git
Log | Files | Refs

commit 8ac03fe3abf04c4ea030e2204e40228f21aae29a
parent 76427c192c6bf6de130869e21077a10d39e13b5c
Author: Ian Ressa <ian@eonn.xyz>
Date:   Sun, 22 May 2022 20:12:25 -0400

Replace intensive css animation with gif

Diffstat:
Asrc/images/background_anim.gif | 0
Msrc/styles.css | 15+--------------
2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/src/images/background_anim.gif b/src/images/background_anim.gif Binary files differ. diff --git a/src/styles.css b/src/styles.css @@ -20,12 +20,8 @@ body { #body_index { color: black; background-color: #1d482c; - background-image: url(images/background.jpg); + background-image: url(images/background_anim.gif); font-size: 12px; - -webkit-animation: scrolling 7s linear infinite; - -moz-animation: scrolling 7s linear infinite; - -o-animation: scrolling 7s linear infinite; - animation: scrolling 7s linear infinite; } .short { @@ -110,12 +106,3 @@ code{ background-color:#333333; padding:1px; } - -@keyframes scrolling{ - from{ - background-position: 0 0; - } - to{ - background-position: 128px 128px; - } -}