From 576098701d9e81c99f3f98098062c383da85528f Mon Sep 17 00:00:00 2001 From: yashrajbharticybtekk Date: Sat, 3 Feb 2024 21:13:49 +0530 Subject: [PATCH] code fixes --- script.js | 3 +++ style.css | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/script.js b/script.js index 2cdedd2..9fc490a 100644 --- a/script.js +++ b/script.js @@ -189,6 +189,9 @@ const buildPokemonUnderTier = async (pokemon, parentEl, tier) => { ? pokemonData[variant] || pokemonData.type : pokemonData.type; let boostedWeatherSet = new Set(); + + article.classList.add("shiny"); + for (const type of pokemonType) { boostedWeatherSet.add(boostedWeatherMap.get(type)); } diff --git a/style.css b/style.css index b2278ec..402ee34 100644 --- a/style.css +++ b/style.css @@ -360,6 +360,14 @@ h3.empty { backdrop-filter: blur(20px); } +.raid-pokemon.shiny::before { + position: absolute; + content: "."; + font-size: 100px; + inset-block-start: -60px; + inset-inline-start: 15px; +} + .tier-strip:hover { text-decoration: line-through; text-decoration-color: #dc143c;