From 5e3fd8096624fc06f70da2218949590d4b1bb045 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 13 Oct 2017 11:19:40 -0400 Subject: Added shiny star --- app/assets/images/pokeviewer/ShinyIVStar.png | Bin 0 -> 226 bytes app/assets/stylesheets/pokeviewer/pokemon.css.scss | 9 ++++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 app/assets/images/pokeviewer/ShinyIVStar.png (limited to 'app/assets') diff --git a/app/assets/images/pokeviewer/ShinyIVStar.png b/app/assets/images/pokeviewer/ShinyIVStar.png new file mode 100644 index 0000000..ecd3b58 Binary files /dev/null and b/app/assets/images/pokeviewer/ShinyIVStar.png differ diff --git a/app/assets/stylesheets/pokeviewer/pokemon.css.scss b/app/assets/stylesheets/pokeviewer/pokemon.css.scss index b7f9358..cd919e7 100644 --- a/app/assets/stylesheets/pokeviewer/pokemon.css.scss +++ b/app/assets/stylesheets/pokeviewer/pokemon.css.scss @@ -191,7 +191,7 @@ &.in-emerald { .pokemon-image { - img { + .pokemon-sprite { margin: -14px; } } @@ -249,6 +249,13 @@ border-radius: 10px; display: inline-block; padding: 4px; + position: relative; + + .pkv-shiny-star { + position: absolute; + top: 0; + right: -1.5em; + } } } -- cgit 1.4.1