eonn-site

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

commit 76427c192c6bf6de130869e21077a10d39e13b5c
parent cadee9935d734d970f9d4871828eeeebcbe26585
Author: Ian Ressa <ian@eonn.xyz>
Date:   Sun, 15 May 2022 23:00:50 -0400

making animation easier, disabling when reading non-index pages

Diffstat:
Msrc/_header-index.html | 2+-
Msrc/styles.css | 14++++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/_header-index.html b/src/_header-index.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="/styles.css"> </head> - <body> + <body id="body_index"> <div class="short"> <div class="border_stone"> <div class="border"> diff --git a/src/styles.css b/src/styles.css @@ -15,11 +15,17 @@ body { background-color: #1d482c; background-image: url(images/background.jpg); font-size: 12px; +} - -webkit-animation: scrolling 2s linear infinite; - -moz-animation: scrolling 2s linear infinite; - -o-animation: scrolling 2s linear infinite; - animation: scrolling 2s linear infinite; +#body_index { + color: black; + background-color: #1d482c; + background-image: url(images/background.jpg); + 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 {