New build for r49

This commit is contained in:
Michiel Sikma
2015-08-03 12:57:07 +09:00
parent 0f253a0ee0
commit 23d17a0500
7 changed files with 59 additions and 32 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2,16 +2,16 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<!--
PokéSprite r39 <https://github.com/msikma/pokesprite>
(C) 2014, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
(C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc.
PokéSprite r49 <https://github.com/msikma/pokesprite>
(C) 2014-2015, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
(C) 1995-2015 Nintendo/Creatures Inc./GAME FREAK Inc.
For a full list of contributors, view the project commit history.
Generated on 2014-12-24 00:12:03.
Generated on 2015-08-03 03:56:06.
-->
<head>
<meta charset="utf-8" />
<title>PokéSprite rr39 Icon Overview</title>
<title>PokéSprite r49 Icon Overview</title>
<!-- Pokémon icons -->
<link type="text/css" href="pokesprite.css" rel="stylesheet" media="screen" />
<script charset="utf-8" src="pokesprite.js" ></script>
@@ -29,8 +29,8 @@ Generated on 2014-12-24 00:12:03.
<body>
<div id="top">
<div class="description">
<h1>PokéSprite rr39 Icon Overview</h1>
<p>The following list is a complete overview of all icons and the HTML necessary to display them. It was generated on <span class="time">2014-12-24 00:12:03</span>.</p>
<h1>PokéSprite r49 Icon Overview</h1>
<p>The following list is a complete overview of all icons and the HTML necessary to display them. It was generated on <span class="time">2015-08-03 03:56:06</span>.</p>
<p>For more information about the project, visit <a href="https://github.com/msikma/pokesprite">https://github.com/msikma/pokesprite</a>.</p>
</div>
<table class="table pkspr-overview">

View File

@@ -1,7 +1,7 @@
/*!
* PokéSprite r39 <https://github.com/msikma/pokesprite>
* (C) 2014, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
* (C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc.
* PokéSprite r49 <https://github.com/msikma/pokesprite>
* (C) 2014-2015, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
* (C) 1995-2015 Nintendo/Creatures Inc./GAME FREAK Inc.
* For a full list of contributors, view the project commit history.
* Generated on 2014-12-24 00:12:03.
*/.pkspr{display:inline-block;position:relative;vertical-align:baseline}.pkspr>i{background-image:url("pokesprite.png");content:' ';width:40px;height:30px;background-position:-0px -0px;display:block}.pksprspan{display:inline-block}.pksprblock{display:block}.pksprspan.display-over{height:1px;vertical-align:middle}.pksprspan.display-over>i{position:absolute;top:-20px;left:0}.pkspr.pkspr-faux-right{-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);filter:FlipH;-ms-filter:'FlipH';transform:scaleX(-1)}.pkspr[class*='pkmn-'],.pkspr[class*='pkmn-']>i{width:40px}.pkspr[class*='pkmn-'],.pkspr[class*='pkmn-']>i{height:30px}.pkspr[class*='body-style-'],.pkspr[class*='body-style-']>i{width:32px}.pkspr[class*='body-style-'],.pkspr[class*='body-style-']>i{height:32px}.pkspr[class*='apricorn-'],.pkspr[class*='apricorn-']>i{width:30px}.pkspr[class*='apricorn-'],.pkspr[class*='apricorn-']>i{height:30px}.pkspr[class*='battle-item-'],.pkspr[class*='battle-item-']>i{width:30px}.pkspr[class*='battle-item-'],.pkspr[class*='battle-item-']>i{height:30px}.pkspr[class*='berry-'],.pkspr[class*='berry-']>i{width:30px}.pkspr[class*='berry-'],.pkspr[class*='berry-']>i{height:30px}.pkspr[class*='ev-item-'],.pkspr[class*='ev-item-']>i{width:30px}.pkspr[class*='ev-item-'],.pkspr[class*='ev-item-']>i{height:30px}.pkspr[class*='evo-item-'],.pkspr[class*='evo-item-']>i{width:30px}.pkspr[class*='evo-item-'],.pkspr[class*='evo-item-']>i{height:30px}.pkspr[class*='flute-'],.pkspr[class*='flute-']>i{width:30px}.pkspr[class*='flute-'],.pkspr[class*='flute-']>i{height:30px}.pkspr[class*='fossil-'],.pkspr[class*='fossil-']>i{width:30px}.pkspr[class*='fossil-'],.pkspr[class*='fossil-']>i{height:30px}.pkspr[class*='gem-'],.pkspr[class*='gem-']>i{width:30px}.pkspr[class*='gem-'],.pkspr[class*='gem-']>i{height:30px}.pkspr[class*='hm-'],.pkspr[class*='hm-']>i{width:30px}.pkspr[class*='hm-'],.pkspr[class*='hm-']>i{height:30px}.pkspr[class*='hold-item-'],.pkspr[class*='hold-item-']>i{width:30px}.pkspr[class*='hold-item-'],.pkspr[class*='hold-item-']>i{height:30px}.pkspr[class*='incense-'],.pkspr[class*='incense-']>i{width:30px}.pkspr[class*='incense-'],.pkspr[class*='incense-']>i{height:30px}.pkspr[class*='other-item-'],.pkspr[class*='other-item-']>i{width:30px}.pkspr[class*='other-item-'],.pkspr[class*='other-item-']>i{height:30px}.pkspr[class*='key-item-'],.pkspr[class*='key-item-']>i{width:30px}.pkspr[class*='key-item-'],.pkspr[class*='key-item-']>i{height:30px}.pkspr[class*='mail-'],.pkspr[class*='mail-']>i{width:30px}.pkspr[class*='mail-'],.pkspr[class*='mail-']>i{height:30px}.pkspr[class*='medicine-'],.pkspr[class*='medicine-']>i{width:30px}.pkspr[class*='medicine-'],.pkspr[class*='medicine-']>i{height:30px}.pkspr[class*='mega-stone-'],.pkspr[class*='mega-stone-']>i{width:30px}.pkspr[class*='mega-stone-'],.pkspr[class*='mega-stone-']>i{height:30px}.pkspr[class*='mulch-'],.pkspr[class*='mulch-']>i{width:30px}.pkspr[class*='mulch-'],.pkspr[class*='mulch-']>i{height:30px}.pkspr[class*='plate-'],.pkspr[class*='plate-']>i{width:30px}.pkspr[class*='plate-'],.pkspr[class*='plate-']>i{height:30px}.pkspr[class*='pokeball-'],.pkspr[class*='pokeball-']>i{width:30px}.pkspr[class*='pokeball-'],.pkspr[class*='pokeball-']>i{height:30px}.pkspr[class*='scarf-'],.pkspr[class*='scarf-']>i{width:30px}.pkspr[class*='scarf-'],.pkspr[class*='scarf-']>i{height:30px}.pkspr[class*='shard-'],.pkspr[class*='shard-']>i{width:30px}.pkspr[class*='shard-'],.pkspr[class*='shard-']>i{height:30px}.pkspr[class*='tm-'],.pkspr[class*='tm-']>i{width:30px}.pkspr[class*='tm-'],.pkspr[class*='tm-']>i{height:30px}.pkspr[class*='valuable-item-'],.pkspr[class*='valuable-item-']>i{width:30px}.pkspr[class*='valuable-item-'],.pkspr[class*='valuable-item-']>i{height:30px}.pkspr[class*='wonder-launcher-'],.pkspr[class*='wonder-launcher-']>i{width:30px}.pkspr[class*='wonder-launcher-'],.pkspr[class*='wonder-launcher-']>i{height:30px}.pkspr[class*='status-'],.pkspr[class*='status-']>i{width:10px}.pkspr[class*='status-'],.pkspr[class*='status-']>i{height:10px}
* Generated on 2015-08-03 03:56:06.
*/.pkspr{-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges;image-rendering:-webkit-crisp-edges;image-rendering:pixelated;display:inline-block;position:relative;vertical-align:baseline}.pkspr>i{background-image:url("pokesprite.png");content:' ';width:40px;height:30px;background-position:-0px -0px;display:block}.pksprspan{display:inline-block}.pksprblock{display:block}.pksprspan.display-over{height:1px;vertical-align:middle}.pksprspan.display-over>i{position:absolute;top:-20px;left:0}.pkspr.pkspr-faux-right{-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);filter:FlipH;-ms-filter:'FlipH';transform:scaleX(-1)}.pkspr.interpolated{-ms-interpolation-mode:inherit;image-rendering:inherit}.pkspr[class*='pkmn-'],.pkspr[class*='pkmn-']>i{width:40px}.pkspr[class*='pkmn-'],.pkspr[class*='pkmn-']>i{height:30px}.pkspr[class*='body-style-'],.pkspr[class*='body-style-']>i{width:32px}.pkspr[class*='body-style-'],.pkspr[class*='body-style-']>i{height:32px}.pkspr[class*='apricorn-'],.pkspr[class*='apricorn-']>i{width:30px}.pkspr[class*='apricorn-'],.pkspr[class*='apricorn-']>i{height:30px}.pkspr[class*='battle-item-'],.pkspr[class*='battle-item-']>i{width:30px}.pkspr[class*='battle-item-'],.pkspr[class*='battle-item-']>i{height:30px}.pkspr[class*='berry-'],.pkspr[class*='berry-']>i{width:30px}.pkspr[class*='berry-'],.pkspr[class*='berry-']>i{height:30px}.pkspr[class*='ev-item-'],.pkspr[class*='ev-item-']>i{width:30px}.pkspr[class*='ev-item-'],.pkspr[class*='ev-item-']>i{height:30px}.pkspr[class*='evo-item-'],.pkspr[class*='evo-item-']>i{width:30px}.pkspr[class*='evo-item-'],.pkspr[class*='evo-item-']>i{height:30px}.pkspr[class*='flute-'],.pkspr[class*='flute-']>i{width:30px}.pkspr[class*='flute-'],.pkspr[class*='flute-']>i{height:30px}.pkspr[class*='fossil-'],.pkspr[class*='fossil-']>i{width:30px}.pkspr[class*='fossil-'],.pkspr[class*='fossil-']>i{height:30px}.pkspr[class*='gem-'],.pkspr[class*='gem-']>i{width:30px}.pkspr[class*='gem-'],.pkspr[class*='gem-']>i{height:30px}.pkspr[class*='hm-'],.pkspr[class*='hm-']>i{width:30px}.pkspr[class*='hm-'],.pkspr[class*='hm-']>i{height:30px}.pkspr[class*='hold-item-'],.pkspr[class*='hold-item-']>i{width:30px}.pkspr[class*='hold-item-'],.pkspr[class*='hold-item-']>i{height:30px}.pkspr[class*='incense-'],.pkspr[class*='incense-']>i{width:30px}.pkspr[class*='incense-'],.pkspr[class*='incense-']>i{height:30px}.pkspr[class*='other-item-'],.pkspr[class*='other-item-']>i{width:30px}.pkspr[class*='other-item-'],.pkspr[class*='other-item-']>i{height:30px}.pkspr[class*='key-item-'],.pkspr[class*='key-item-']>i{width:30px}.pkspr[class*='key-item-'],.pkspr[class*='key-item-']>i{height:30px}.pkspr[class*='mail-'],.pkspr[class*='mail-']>i{width:30px}.pkspr[class*='mail-'],.pkspr[class*='mail-']>i{height:30px}.pkspr[class*='medicine-'],.pkspr[class*='medicine-']>i{width:30px}.pkspr[class*='medicine-'],.pkspr[class*='medicine-']>i{height:30px}.pkspr[class*='mega-stone-'],.pkspr[class*='mega-stone-']>i{width:30px}.pkspr[class*='mega-stone-'],.pkspr[class*='mega-stone-']>i{height:30px}.pkspr[class*='mulch-'],.pkspr[class*='mulch-']>i{width:30px}.pkspr[class*='mulch-'],.pkspr[class*='mulch-']>i{height:30px}.pkspr[class*='plate-'],.pkspr[class*='plate-']>i{width:30px}.pkspr[class*='plate-'],.pkspr[class*='plate-']>i{height:30px}.pkspr[class*='pokeball-'],.pkspr[class*='pokeball-']>i{width:30px}.pkspr[class*='pokeball-'],.pkspr[class*='pokeball-']>i{height:30px}.pkspr[class*='scarf-'],.pkspr[class*='scarf-']>i{width:30px}.pkspr[class*='scarf-'],.pkspr[class*='scarf-']>i{height:30px}.pkspr[class*='shard-'],.pkspr[class*='shard-']>i{width:30px}.pkspr[class*='shard-'],.pkspr[class*='shard-']>i{height:30px}.pkspr[class*='tm-'],.pkspr[class*='tm-']>i{width:30px}.pkspr[class*='tm-'],.pkspr[class*='tm-']>i{height:30px}.pkspr[class*='valuable-item-'],.pkspr[class*='valuable-item-']>i{width:30px}.pkspr[class*='valuable-item-'],.pkspr[class*='valuable-item-']>i{height:30px}.pkspr[class*='wonder-launcher-'],.pkspr[class*='wonder-launcher-']>i{width:30px}.pkspr[class*='wonder-launcher-'],.pkspr[class*='wonder-launcher-']>i{height:30px}.pkspr[class*='status-'],.pkspr[class*='status-']>i{width:10px}.pkspr[class*='status-'],.pkspr[class*='status-']>i{height:10px}

View File

@@ -1,9 +1,9 @@
/** @preserve
* PokéSprite r39 <https://github.com/msikma/pokesprite>
* (C) 2014, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
* (C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc.
* PokéSprite r49 <https://github.com/msikma/pokesprite>
* (C) 2014-2015, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
* (C) 1995-2015 Nintendo/Creatures Inc./GAME FREAK Inc.
* For a full list of contributors, view the project commit history.
* Generated on 2014-12-24 00:12:03.
* Generated on 2015-08-03 03:56:06.
*
*/
;(function(){
@@ -253,11 +253,11 @@ window["PkSpr"] = (function()
"type": null,
"slug": null,
"form": ".",
"dir": ".",
"gender": ".",
"color": "regular"
};
var props = {
"flipped": false
"flipped": attrs.dir === 'right'
};
for (attr in fallbacks) {
@@ -367,8 +367,8 @@ window["PkSpr"] = (function()
node_attrs[var_key] = var_val;
}
else {
node_attrs[var_mapping.k] = var_key;
node_attrs[var_mapping.v] = var_val;
node_attrs[var_mapping['k']] = var_key;
node_attrs[var_mapping['v']] = var_val;
}
}
}

View File

@@ -1,10 +1,10 @@
/*
PokéSprite r39 <https://github.com/msikma/pokesprite>
(C) 2014, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
(C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc.
PokéSprite r49 <https://github.com/msikma/pokesprite>
(C) 2014-2015, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
(C) 1995-2015 Nintendo/Creatures Inc./GAME FREAK Inc.
For a full list of contributors, view the project commit history.
Generated on 2014-12-24 00:12:03.
Generated on 2015-08-03 03:56:06.
*/
window.PkSpr=function(){var a=this;a.A="pkspr";a.C={pkmn:{w:40,h:30},etc:{},"body-style":{w:32,h:32},apricorn:{w:30,h:30},"battle-item":{w:30,h:30},berry:{w:30,h:30},"ev-item":{w:30,h:30},"evo-item":{w:30,h:30},flute:{w:30,h:30},fossil:{w:30,h:30},gem:{w:30,h:30},hm:{w:30,h:30},"hold-item":{w:30,h:30},incense:{w:30,h:30},"other-item":{w:30,h:30},"key-item":{w:30,h:30},mail:{w:30,h:30},medicine:{w:30,h:30},"mega-stone":{w:30,h:30},mulch:{w:30,h:30},plate:{w:30,h:30},pokeball:{w:30,h:30},scarf:{w:30,
@@ -173,9 +173,9 @@ y:2312},"shoal-salt":{x:510,y:2312},"shoal-shell":{x:540,y:2312},"slowpoke-tail"
y:2312},"ice-heal":{x:1050,y:2312},"item-drop":{x:1080,y:2312},"item-urge":{x:1110,y:2312},"max-potion":{x:1140,y:2312},"max-revive":{x:1170,y:2312},"paralyze-heal":{x:1200,y:2312},potion:{x:1230,y:2312},"reset-urge":{x:0,y:2342},revive:{x:30,y:2342},"super-potion":{x:60,y:2342},"x-accuracy-1":{x:90,y:2342},"x-accuracy-2":{x:120,y:2342},"x-accuracy-3":{x:150,y:2342},"x-accuracy-6":{x:180,y:2342},"x-attack-1":{x:210,y:2342},"x-attack-2":{x:240,y:2342},"x-attack-3":{x:270,y:2342},"x-attack-6":{x:300,
y:2342},"x-defense-1":{x:330,y:2342},"x-defense-2":{x:360,y:2342},"x-defense-3":{x:390,y:2342},"x-defense-6":{x:420,y:2342},"x-sp-atk-1":{x:450,y:2342},"x-sp-atk-2":{x:480,y:2342},"x-sp-atk-3":{x:510,y:2342},"x-sp-atk-6":{x:540,y:2342},"x-sp-def-1":{x:570,y:2342},"x-sp-def-2":{x:600,y:2342},"x-sp-def-3":{x:630,y:2342},"x-sp-def-6":{x:660,y:2342},"x-speed-1":{x:690,y:2342},"x-speed-2":{x:720,y:2342},"x-speed-3":{x:750,y:2342},"x-speed-6":{x:780,y:2342}},status:{"holding-item":{x:882,y:2342},pentagon:{x:892,
y:2342},"pokerus-cured":{x:902,y:2342},shiny:{x:912,y:2342}}};var k,m;a.process_dom=function(){a.L(a.I)};a.decorate=function(b){!1==a.U(b)&&(b=[b]);var c,d,e,f;c=0;for(d=b.length;c<d;++c)e=b[c],e=(f="string"==typeof e||e instanceof String)?document.getElementById(e):e,a.D(e,a.A)?a.G(e):a.I(0,e)};a.N=function(b){window.console&&console.warn("Couldn't decorate icon with the following properties: %o",b)};a.G=function(b){if(!a.V(b)){var c=a.S(b),d=a.T(c.type),e=a.Q(c),f=e.coords,e=e.Z,h=null==d||null==
d.x;null==f?a.N(c):(h&&(d={w:f.K,h:f.H}),c=a.M(b),a.aa(c,f),h&&a.ca(b,c,d),e.O&&a.ba(b),a.$(b))}};a.ba=function(b){a.F(b,"pkspr-faux-right")};a.M=function(b){var a=document.createElement("i");b.appendChild(a);return a};a.aa=function(b,a){b.style.backgroundPosition=-a.x+"px "+-a.y+"px"};a.ca=function(a,c,d){a.style.width=d.K+"px";a.style.height=d.H+"px";c.style.width=d.K+"px";c.style.height=d.H+"px"};a.Q=function(b){var c=a.B,d,e,f,h,g={type:null,slug:null,form:".",dir:".",color:"regular"},l={flipped:!1};
for(e in g){if(0<=c.x)break;f=b[e];h=g[e];if(d=c[f])c=d;else if(d=c[h])c=d,"right"==f&&(l.O=!0);else{c=null;break}}return{coords:c,Z:l}};a.T=function(b){for(var c in a.C)if(c==b)return a.C[c];return null};a.S=function(b){var c=b.className;if(null==c)return null;b={type:null,slug:null,color:null,form:null,gender:null,dir:null};for(var d in a.C)b[d]={k:"type",v:"slug"};var e,f,h,g,l,m=c.split(" "),c=0;for(e=m.length;c<e;++c)for(g in l=m[c],b)h=b[g],f=l.indexOf(g+"-"),0==f&&(f=l.substring(g.length+1),
null===h?b[g]=f:(b[h.ea]=g,b[h.fa]=f));"pkmn"==b.type&&a.W(b.J)&&(b.J=k[b.J]);for(d in a.C)delete b[d];return b};a.Y=function(){void 0==m&&(m=RegExp(/(?!000)^[0-9]{3}$/))};a.P=function(){var b,c,d;if(void 0==k&&(k={},null!=a.B&&null!=a.B.X))for(d=Object.keys(a.B.X),b=1,c=d.length;b<=c;++b)k[("000"+b).slice(-3)]=d[b-1]};a.W=function(a){return m.test(a)};a.U=function(a){return"[object Array]"===toString.call(a)};a.I=function(b,c){null==c&&(c=document);var d,e=a.R(c);for(d=0;d<e.length;++d)a.G(e[d])};
d.x;null==f?a.N(c):(h&&(d={w:f.K,h:f.H}),c=a.M(b),a.aa(c,f),h&&a.ca(b,c,d),e.O&&a.ba(b),a.$(b))}};a.ba=function(b){a.F(b,"pkspr-faux-right")};a.M=function(b){var a=document.createElement("i");b.appendChild(a);return a};a.aa=function(b,a){b.style.backgroundPosition=-a.x+"px "+-a.y+"px"};a.ca=function(b,a,d){b.style.width=d.K+"px";b.style.height=d.H+"px";a.style.width=d.K+"px";a.style.height=d.H+"px"};a.Q=function(b){var c=a.B,d,e,f,h,g={type:null,slug:null,form:".",gender:".",color:"regular"},l={flipped:"right"===
b.dir};for(e in g){if(0<=c.x)break;f=b[e];h=g[e];if(d=c[f])c=d;else if(d=c[h])c=d,"right"==f&&(l.O=!0);else{c=null;break}}return{coords:c,Z:l}};a.T=function(b){for(var c in a.C)if(c==b)return a.C[c];return null};a.S=function(b){var c=b.className;if(null==c)return null;b={type:null,slug:null,color:null,form:null,gender:null,dir:null};for(var d in a.C)b[d]={k:"type",v:"slug"};var e,f,h,g,l,m=c.split(" "),c=0;for(e=m.length;c<e;++c)for(g in l=m[c],b)h=b[g],f=l.indexOf(g+"-"),0==f&&(f=l.substring(g.length+
1),null===h?b[g]=f:(b[h.k]=g,b[h.v]=f));"pkmn"==b.type&&a.W(b.J)&&(b.J=k[b.J]);for(d in a.C)delete b[d];return b};a.Y=function(){void 0==m&&(m=RegExp(/(?!000)^[0-9]{3}$/))};a.P=function(){var b,c,d;if(void 0==k&&(k={},null!=a.B&&null!=a.B.X))for(d=Object.keys(a.B.X),b=1,c=d.length;b<=c;++b)k[("000"+b).slice(-3)]=d[b-1]};a.W=function(a){return m.test(a)};a.U=function(a){return"[object Array]"===toString.call(a)};a.I=function(b,c){null==c&&(c=document);var d,e=a.R(c);for(d=0;d<e.length;++d)a.G(e[d])};
a.R=function(b){null==b&&(b=document);try{return b.querySelectorAll("span."+a.A+",div."+a.A)}catch(c){}var d,e,f,h,g=[],l=["span","div"];for(d=0;d<l.length;++d)for(h=b.getElementsByTagName(l[d]),e=0;e<h.length;++e)f=h[e],a.D(f,a.A)&&g.push(f);return g};a.V=function(b){return a.D(b,a.A+"-decorated")};a.$=function(b){a.F(b," "+a.A+"-decorated")};a.F=function(a,c){a.className+=" "+c};a.D=function(a,c){return-1<(" "+a.className+" ").indexOf(" "+c+" ")};a.L=function(a){function c(){try{l.doScroll("left")}catch(a){setTimeout(c,
50);return}d("poll")}function d(c){if("readystatechange"!=c.type||"complete"==g.readyState)("load"==c.type?e:g)[m](n+c.type,d,!1),!f&&(f=!0)&&a.call(e,c.type||c)}var e=window,f=!1,h=!0,g=e.document,l=g.documentElement,k=g.addEventListener?"addEventListener":"attachEvent",m=g.addEventListener?"removeEventListener":"detachEvent",n=g.addEventListener?"":"on";if("complete"==g.readyState)a.call(e,"lazy");else{if(g.createEventObject&&l.doScroll){try{h=!e.frameElement}catch(p){}h&&c()}g[k](n+"DOMContentLoaded",
d,!1);g[k](n+"readystatechange",d,!1);e[k](n+"load",d,!1)}};a.Y();a.P();a.da=void 0;return a}();Object.keys||(Object.keys=function(){var a=Object.prototype.hasOwnProperty;return function(k){if("object"!==typeof k&&("function"!==typeof k||null===k))throw new TypeError("Object.keys called on non-object");var m=[],b;for(b in k)a.call(k,b)&&m.push(b);return m}}());

Binary file not shown.

Before

Width:  |  Height:  |  Size: 615 KiB

After

Width:  |  Height:  |  Size: 615 KiB

View File

@@ -1,10 +1,10 @@
@charset 'UTF-8';
/*!
* PokéSprite r39 <https://github.com/msikma/pokesprite>
* (C) 2014, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
* (C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc.
* PokéSprite r49 <https://github.com/msikma/pokesprite>
* (C) 2014-2015, Michiel Sikma <dada@doubla.de> and PokéSprite contributors
* (C) 1995-2015 Nintendo/Creatures Inc./GAME FREAK Inc.
* For a full list of contributors, view the project commit history.
* Generated on 2014-12-24 00:12:03.
* Generated on 2015-08-03 03:56:06.
*/
$pkspr-sprite-url: 'pokesprite.png';
@@ -2972,6 +2972,27 @@ $pkspr-coords: (
// CSS attributes will be used where required.
$pkspr-compatibility-mode: true;
/**
* Mixin that ensures crisp rendering on modern browsers by setting
* the resizing algorithm to nearest neighbor.
*/
@mixin crisp-rendering()
{
-ms-interpolation-mode: nearest-neighbor;
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
}
/**
* Mixin that resets the rendering of the sprites back to standard.
*/
@mixin standard-rendering()
{
-ms-interpolation-mode: inherit;
image-rendering: inherit;
}
/**
* Base icon CSS.
*
@@ -2987,6 +3008,7 @@ $pkspr-compatibility-mode: true;
* The element is added by the JS code.
*/
.pkspr {
@include crisp-rendering();
display: inline-block;
position: relative;
vertical-align: baseline;
@@ -3036,6 +3058,11 @@ $pkspr-compatibility-mode: true;
transform: scaleX(-1);
}
// Resets the image display back to normal, in case the end user wants it.
&.interpolated {
@include standard-rendering();
}
// The sizes of all available icon types follow.
&[class*='pkmn-'] {
@include pkspr-type('pkmn');