From 94490aac3bd09d43217d366be42bb0895456d5ee Mon Sep 17 00:00:00 2001 From: Spelljinxer Date: Fri, 15 Sep 2023 00:18:25 +0800 Subject: [PATCH 1/3] create the two files for neon and mary --- js/gacha.js | 8 ++++---- maryBanner.html | 0 neonBanner.html | 0 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 maryBanner.html create mode 100644 neonBanner.html diff --git a/js/gacha.js b/js/gacha.js index 82ecf33..a38345e 100644 --- a/js/gacha.js +++ b/js/gacha.js @@ -1,7 +1,7 @@ /** * @author Reiden Rufin (Spelljinxer) * @version 0.7 - * @date 14/09/2023 + * @date 15/09/2023 * @credit I do not own the characterrs or images used in this project. All rights belong to SHIFTUP and the Level Infinite. * */ @@ -18,8 +18,6 @@ var LIMITED_RATE = 0.02; var limited_flag = false; - - function init(data) { var charactersData = data; @@ -98,7 +96,7 @@ function init(data) { function pullCharacter(pullType, limited) { var gachaWindow = document.querySelector(".gacha-window"); - + //limited pull function limitedPull() { var rarity; var randomSSR = Math.random(); @@ -218,3 +216,5 @@ fetch('./data/characters.json') console.error('Error loading characters data:', error); }); + + diff --git a/maryBanner.html b/maryBanner.html new file mode 100644 index 0000000..e69de29 diff --git a/neonBanner.html b/neonBanner.html new file mode 100644 index 0000000..e69de29 From 4d13228cac277dc45c39c9ca98dc1b81cd1d23ec Mon Sep 17 00:00:00 2001 From: Spelljinxer Date: Fri, 15 Sep 2023 01:04:59 +0800 Subject: [PATCH 2/3] mobile changes --- css/gacha.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/css/gacha.css b/css/gacha.css index e0a7d26..8b23ac2 100644 --- a/css/gacha.css +++ b/css/gacha.css @@ -339,10 +339,10 @@ button.pull:hover { width: 120px; height: 280px; object-fit: cover; - border: 2px solid transparent; - border-radius: 10px; + border: 2px solid transparent; + border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); - opacity: 0; /* Start with zero opacity */ + opacity: 0; } /* @@ -367,20 +367,21 @@ button.pull:hover { } @media screen and (max-width: 768px) { - .gacha-window{ max-height: 300px; height: 300px; - grid-gap: 5px; + grid-gap: 1px; + margin: 0 auto; margin-left: 3px; } .gacha-card { - width: 60px; - height: 140px; + width: 4.5rem; + height: 160px; } .pull-container{ - margin-top: 40px; + margin-top: 40px auto; + text-align: center; } } @@ -403,4 +404,3 @@ button.pull:hover { border-color: rgb(63, 124, 255); box-shadow: 0 0 20px rgba(63, 124, 255, 0.5); } - From 049abe01878384d871e1290b07e2b8942c4ae048 Mon Sep 17 00:00:00 2001 From: Spelljinxer Date: Thu, 21 Sep 2023 14:46:05 +0800 Subject: [PATCH 3/3] add neon blue ocean banner --- anisBanner.html | 3 +- characters/Limited/NeonBO.webp | Bin 0 -> 140822 bytes data/characters.json | 3 +- helmBanner.html | 3 +- index.html | 2 +- moderniaBanner.html | 3 +- neonBanner.html | 146 +++++++++++++++++++++++++++++++++ 7 files changed, 155 insertions(+), 5 deletions(-) create mode 100644 characters/Limited/NeonBO.webp diff --git a/anisBanner.html b/anisBanner.html index 1713603..8ec7b66 100644 --- a/anisBanner.html +++ b/anisBanner.html @@ -64,12 +64,13 @@

made by Spelljinxer

+ + +