From fc9555676dc6e91187bf495a3f85905f26f21d40 Mon Sep 17 00:00:00 2001 From: HauErn Lien <lienhe81@gmail.com> Date: Mon, 30 Sep 2024 06:58:59 +0000 Subject: [PATCH] Update 4 files - /static/script.js - /static/style.css - /wiki/pages/style.css - /wiki/pages/script.js --- static/style.css | 44 -------------------------------- {static => wiki/pages}/script.js | 0 wiki/pages/style.css | 2 +- 3 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 static/style.css rename {static => wiki/pages}/script.js (100%) diff --git a/static/style.css b/static/style.css deleted file mode 100644 index 26fe5bf6..00000000 --- a/static/style.css +++ /dev/null @@ -1,44 +0,0 @@ -body { - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - background-color: #f0f0f0; - } - - .sachet { - position: relative; - width: 150px; - height: 200px; - } - - .bag { - width: 100%; - height: 100%; - background-image: url('https://static.igem.wiki/teams/5187/tie.png'); /* Change to your tied bag image */ - background-size: contain; - background-repeat: no-repeat; - transition: background-image 1s ease-in-out; - } - - .bag.untied { - background-image: url('https://static.igem.wiki/teams/5187/untie.png'); /* Change to your untied bag image */ - } - - .scent { - position: absolute; - width: 100px; - height: 100px; - top: -50px; - left: 25px; - background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); - opacity: 0; - transform: scale(0.5); - transition: opacity 2s ease, transform 2s ease; - } - - .scent.release { - opacity: 1; - transform: scale(1.5); - } - \ No newline at end of file diff --git a/static/script.js b/wiki/pages/script.js similarity index 100% rename from static/script.js rename to wiki/pages/script.js diff --git a/wiki/pages/style.css b/wiki/pages/style.css index 82e79a6a..08cdcef5 100644 --- a/wiki/pages/style.css +++ b/wiki/pages/style.css @@ -21,7 +21,7 @@ body { } .untied { - background-image: url('untied-sachet.svg'); /* Replace with your untied image */ + background-image: url('https://static.igem.wiki/teams/5187/untie.png'); /* Replace with your untied image */ } .scent { -- GitLab