diff --git a/build/overview.css b/build/overview.css index 340b57ec..8c793099 100644 --- a/build/overview.css +++ b/build/overview.css @@ -1 +1 @@ -*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}html,body{margin:0;font-size:14px;line-height:1.42857;font-family:"Helvetica Neue","Arial",sans-serif;color:#050202;font-weight:400}#top{padding:10px;width:1140px;margin:auto}#top a{color:#1f85eb}#top .description{margin-bottom:16px}#top .description h1{font-family:"Helvetica","Arial",sans-serif;font-size:30px;font-weight:300;margin:0;padding:10px 0 6px}#top .description p{margin:0 0 6px}#top .table.pkspr-overview{border-collapse:separate;width:100%;border-collapse:separate;border-spacing:0;text-align:left}#top .table.pkspr-overview thead:first-child tr:first-child th:first-child,#top .table.pkspr-overview thead:first-child tr:first-child td:first-child,#top .table.pkspr-overview tbody:first-child tr:first-child th:first-child,#top .table.pkspr-overview tbody:first-child tr:first-child td:first-child,#top .table.pkspr-overview tfoot:first-child tr:first-child th:first-child,#top .table.pkspr-overview tfoot:first-child tr:first-child td:first-child,#top .table.pkspr-overview caption+thead tr:first-child th:first-child,#top .table.pkspr-overview caption+thead tr:first-child td:first-child,#top .table.pkspr-overview caption+tbody tr:first-child th:first-child,#top .table.pkspr-overview caption+tbody tr:first-child td:first-child,#top .table.pkspr-overview caption+tfoot tr:first-child th:first-child,#top .table.pkspr-overview caption+tfoot tr:first-child td:first-child,#top .table.pkspr-overview colgroup+thead tr:first-child th:first-child,#top .table.pkspr-overview colgroup+thead tr:first-child td:first-child,#top .table.pkspr-overview colgroup+tbody tr:first-child th:first-child,#top .table.pkspr-overview colgroup+tbody tr:first-child td:first-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child th:first-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child td:first-child{border-radius:0;border-top-left-radius:3px}#top .table.pkspr-overview thead:first-child tr:first-child th:last-child,#top .table.pkspr-overview thead:first-child tr:first-child td:last-child,#top .table.pkspr-overview tbody:first-child tr:first-child th:last-child,#top .table.pkspr-overview tbody:first-child tr:first-child td:last-child,#top .table.pkspr-overview tfoot:first-child tr:first-child th:last-child,#top .table.pkspr-overview tfoot:first-child tr:first-child td:last-child,#top .table.pkspr-overview caption+thead tr:first-child th:last-child,#top .table.pkspr-overview caption+thead tr:first-child td:last-child,#top .table.pkspr-overview caption+tbody tr:first-child th:last-child,#top .table.pkspr-overview caption+tbody tr:first-child td:last-child,#top .table.pkspr-overview caption+tfoot tr:first-child th:last-child,#top .table.pkspr-overview caption+tfoot tr:first-child td:last-child,#top .table.pkspr-overview colgroup+thead tr:first-child th:last-child,#top .table.pkspr-overview colgroup+thead tr:first-child td:last-child,#top .table.pkspr-overview colgroup+tbody tr:first-child th:last-child,#top .table.pkspr-overview colgroup+tbody tr:first-child td:last-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child th:last-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child td:last-child{border-radius:0;border-top-right-radius:3px}#top .table.pkspr-overview thead:last-child tr:last-child th:first-child,#top .table.pkspr-overview thead:last-child tr:last-child td:first-child,#top .table.pkspr-overview tbody:last-child tr:last-child th:first-child,#top .table.pkspr-overview tbody:last-child tr:last-child td:first-child,#top .table.pkspr-overview tfoot:last-child tr:last-child th:first-child,#top .table.pkspr-overview tfoot:last-child tr:last-child td:first-child{border-radius:0;border-bottom-left-radius:3px}#top .table.pkspr-overview thead:last-child tr:last-child th:last-child,#top .table.pkspr-overview thead:last-child tr:last-child td:last-child,#top .table.pkspr-overview tbody:last-child tr:last-child th:last-child,#top .table.pkspr-overview tbody:last-child tr:last-child td:last-child,#top .table.pkspr-overview tfoot:last-child tr:last-child th:last-child,#top .table.pkspr-overview tfoot:last-child tr:last-child td:last-child{border-radius:0;border-bottom-right-radius:3px}#top .table.pkspr-overview thead:first-child tr:first-child th,#top .table.pkspr-overview thead:first-child tr:first-child td,#top .table.pkspr-overview tbody:first-child tr:first-child th,#top .table.pkspr-overview tbody:first-child tr:first-child td,#top .table.pkspr-overview tfoot:first-child tr:first-child th,#top .table.pkspr-overview tfoot:first-child tr:first-child td,#top .table.pkspr-overview caption+thead tr:first-child th,#top .table.pkspr-overview caption+thead tr:first-child td,#top .table.pkspr-overview caption+tbody tr:first-child th,#top .table.pkspr-overview caption+tbody tr:first-child td,#top .table.pkspr-overview caption+tfoot tr:first-child th,#top .table.pkspr-overview caption+tfoot tr:first-child td,#top .table.pkspr-overview colgroup+thead tr:first-child th,#top .table.pkspr-overview colgroup+thead tr:first-child td,#top .table.pkspr-overview colgroup+tbody tr:first-child th,#top .table.pkspr-overview colgroup+tbody tr:first-child td,#top .table.pkspr-overview colgroup+tfoot tr:first-child th,#top .table.pkspr-overview colgroup+tfoot tr:first-child td{border-top:1px solid #dedcdc}#top .table.pkspr-overview thead th:first-child,#top .table.pkspr-overview thead td:first-child,#top .table.pkspr-overview tbody th:first-child,#top .table.pkspr-overview tbody td:first-child,#top .table.pkspr-overview tfoot th:first-child,#top .table.pkspr-overview tfoot td:first-child{border-left:1px solid #dedcdc}#top .table.pkspr-overview thead th:last-child,#top .table.pkspr-overview thead td:last-child,#top .table.pkspr-overview tbody th:last-child,#top .table.pkspr-overview tbody td:last-child,#top .table.pkspr-overview tfoot th:last-child,#top .table.pkspr-overview tfoot td:last-child{border-right:1px solid #dedcdc}#top .table.pkspr-overview thead:last-child tr:last-child th,#top .table.pkspr-overview thead:last-child tr:last-child td,#top .table.pkspr-overview tbody:last-child tr:last-child th,#top .table.pkspr-overview tbody:last-child tr:last-child td,#top .table.pkspr-overview tfoot:last-child tr:last-child th,#top .table.pkspr-overview tfoot:last-child tr:last-child td{border-bottom:1px solid #dedcdc}#top .table.pkspr-overview p,#top .table.pkspr-overview pre{margin:0}#top .table.pkspr-overview pre{font-size:95%}#top .table.pkspr-overview pre,#top .table.pkspr-overview code{font-family:"Menlo","Consolas","Monaco","Courier New",monospace;white-space:normal}#top .table.pkspr-overview tr th{white-space:nowrap}#top .table.pkspr-overview tr td,#top .table.pkspr-overview tr th{border-left:1px solid #dedcdc;border-bottom:1px solid #dedcdc;padding:0 8px;margin:0;height:30px}#top .table.pkspr-overview tr td.file,#top .table.pkspr-overview tr th.file{font-size:85.71429%}#top .table.pkspr-overview tr td.example,#top .table.pkspr-overview tr th.example{color:#050202 !important}#top .table.pkspr-overview tr td.example .class,#top .table.pkspr-overview tr th.example .class{border-radius:0;border-bottom-right-radius:2.5px;border-bottom-left-radius:2.5px;border-top-right-radius:2.5px;border-top-left-radius:2.5px;color:#112e39;background-color:#cfecf7;padding:1px 4px}#top .table.pkspr-overview tr td.icon,#top .table.pkspr-overview tr th.icon{text-align:center;width:40px}#top .table.pkspr-overview tr td.icon .pkspr,#top .table.pkspr-overview tr th.icon .pkspr{display:block;margin:auto}#top .table.pkspr-overview tr td.icon .pkspr>i,#top .table.pkspr-overview tr th.icon .pkspr>i{top:0}@media screen and (max-width: 1140px){#top{width:100%}}@media screen and (max-width: 770px){#top th.file,#top td.file{display:none}#top th.example,#top td.example{border-right:1px solid #dedcdc}#top tr:first-child th.example,#top tr:first-child td.example{border-radius:0;border-top-right-radius:3px}#top tr:last-child th.example,#top tr:last-child td.example{border-radius:0;border-bottom-right-radius:3px}} +*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}html,body{margin:0;font-size:14px;line-height:1.42857;font-family:"Helvetica Neue","Arial",sans-serif;color:#050202;font-weight:400}#top{padding:10px;width:1140px;margin:auto}#top a{color:#1F85EB}#top .description{margin-bottom:16px}#top .description h1{font-family:"Helvetica","Arial",sans-serif;font-size:30px;font-weight:300;margin:0;padding:10px 0 6px}#top .description p{margin:0 0 6px}#top .table.pkspr-overview{border-collapse:separate;width:100%;border-collapse:separate;border-spacing:0;text-align:left}#top .table.pkspr-overview thead:first-child tr:first-child th:first-child,#top .table.pkspr-overview thead:first-child tr:first-child td:first-child,#top .table.pkspr-overview tbody:first-child tr:first-child th:first-child,#top .table.pkspr-overview tbody:first-child tr:first-child td:first-child,#top .table.pkspr-overview tfoot:first-child tr:first-child th:first-child,#top .table.pkspr-overview tfoot:first-child tr:first-child td:first-child,#top .table.pkspr-overview caption+thead tr:first-child th:first-child,#top .table.pkspr-overview caption+thead tr:first-child td:first-child,#top .table.pkspr-overview caption+tbody tr:first-child th:first-child,#top .table.pkspr-overview caption+tbody tr:first-child td:first-child,#top .table.pkspr-overview caption+tfoot tr:first-child th:first-child,#top .table.pkspr-overview caption+tfoot tr:first-child td:first-child,#top .table.pkspr-overview colgroup+thead tr:first-child th:first-child,#top .table.pkspr-overview colgroup+thead tr:first-child td:first-child,#top .table.pkspr-overview colgroup+tbody tr:first-child th:first-child,#top .table.pkspr-overview colgroup+tbody tr:first-child td:first-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child th:first-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child td:first-child{border-radius:0;border-top-left-radius:3px}#top .table.pkspr-overview thead:first-child tr:first-child th:last-child,#top .table.pkspr-overview thead:first-child tr:first-child td:last-child,#top .table.pkspr-overview tbody:first-child tr:first-child th:last-child,#top .table.pkspr-overview tbody:first-child tr:first-child td:last-child,#top .table.pkspr-overview tfoot:first-child tr:first-child th:last-child,#top .table.pkspr-overview tfoot:first-child tr:first-child td:last-child,#top .table.pkspr-overview caption+thead tr:first-child th:last-child,#top .table.pkspr-overview caption+thead tr:first-child td:last-child,#top .table.pkspr-overview caption+tbody tr:first-child th:last-child,#top .table.pkspr-overview caption+tbody tr:first-child td:last-child,#top .table.pkspr-overview caption+tfoot tr:first-child th:last-child,#top .table.pkspr-overview caption+tfoot tr:first-child td:last-child,#top .table.pkspr-overview colgroup+thead tr:first-child th:last-child,#top .table.pkspr-overview colgroup+thead tr:first-child td:last-child,#top .table.pkspr-overview colgroup+tbody tr:first-child th:last-child,#top .table.pkspr-overview colgroup+tbody tr:first-child td:last-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child th:last-child,#top .table.pkspr-overview colgroup+tfoot tr:first-child td:last-child{border-radius:0;border-top-right-radius:3px}#top .table.pkspr-overview thead:last-child tr:last-child th:first-child,#top .table.pkspr-overview thead:last-child tr:last-child td:first-child,#top .table.pkspr-overview tbody:last-child tr:last-child th:first-child,#top .table.pkspr-overview tbody:last-child tr:last-child td:first-child,#top .table.pkspr-overview tfoot:last-child tr:last-child th:first-child,#top .table.pkspr-overview tfoot:last-child tr:last-child td:first-child{border-radius:0;border-bottom-left-radius:3px}#top .table.pkspr-overview thead:last-child tr:last-child th:last-child,#top .table.pkspr-overview thead:last-child tr:last-child td:last-child,#top .table.pkspr-overview tbody:last-child tr:last-child th:last-child,#top .table.pkspr-overview tbody:last-child tr:last-child td:last-child,#top .table.pkspr-overview tfoot:last-child tr:last-child th:last-child,#top .table.pkspr-overview tfoot:last-child tr:last-child td:last-child{border-radius:0;border-bottom-right-radius:3px}#top .table.pkspr-overview thead:first-child tr:first-child th,#top .table.pkspr-overview thead:first-child tr:first-child td,#top .table.pkspr-overview tbody:first-child tr:first-child th,#top .table.pkspr-overview tbody:first-child tr:first-child td,#top .table.pkspr-overview tfoot:first-child tr:first-child th,#top .table.pkspr-overview tfoot:first-child tr:first-child td,#top .table.pkspr-overview caption+thead tr:first-child th,#top .table.pkspr-overview caption+thead tr:first-child td,#top .table.pkspr-overview caption+tbody tr:first-child th,#top .table.pkspr-overview caption+tbody tr:first-child td,#top .table.pkspr-overview caption+tfoot tr:first-child th,#top .table.pkspr-overview caption+tfoot tr:first-child td,#top .table.pkspr-overview colgroup+thead tr:first-child th,#top .table.pkspr-overview colgroup+thead tr:first-child td,#top .table.pkspr-overview colgroup+tbody tr:first-child th,#top .table.pkspr-overview colgroup+tbody tr:first-child td,#top .table.pkspr-overview colgroup+tfoot tr:first-child th,#top .table.pkspr-overview colgroup+tfoot tr:first-child td{border-top:1px solid #dedcdc}#top .table.pkspr-overview thead th:first-child,#top .table.pkspr-overview thead td:first-child,#top .table.pkspr-overview tbody th:first-child,#top .table.pkspr-overview tbody td:first-child,#top .table.pkspr-overview tfoot th:first-child,#top .table.pkspr-overview tfoot td:first-child{border-left:1px solid #dedcdc}#top .table.pkspr-overview thead th:last-child,#top .table.pkspr-overview thead td:last-child,#top .table.pkspr-overview tbody th:last-child,#top .table.pkspr-overview tbody td:last-child,#top .table.pkspr-overview tfoot th:last-child,#top .table.pkspr-overview tfoot td:last-child{border-right:1px solid #dedcdc}#top .table.pkspr-overview thead:last-child tr:last-child th,#top .table.pkspr-overview thead:last-child tr:last-child td,#top .table.pkspr-overview tbody:last-child tr:last-child th,#top .table.pkspr-overview tbody:last-child tr:last-child td,#top .table.pkspr-overview tfoot:last-child tr:last-child th,#top .table.pkspr-overview tfoot:last-child tr:last-child td{border-bottom:1px solid #dedcdc}#top .table.pkspr-overview p,#top .table.pkspr-overview pre{margin:0}#top .table.pkspr-overview pre{font-size:95%}#top .table.pkspr-overview pre,#top .table.pkspr-overview code{font-family:"Menlo","Consolas","Monaco","Courier New",monospace;white-space:normal}#top .table.pkspr-overview tr th{white-space:nowrap}#top .table.pkspr-overview tr td,#top .table.pkspr-overview tr th{border-left:1px solid #dedcdc;border-bottom:1px solid #dedcdc;padding:0 8px;margin:0;height:30px}#top .table.pkspr-overview tr td.file,#top .table.pkspr-overview tr th.file{font-size:85.71429%}#top .table.pkspr-overview tr td.example,#top .table.pkspr-overview tr th.example{color:#050202 !important}#top .table.pkspr-overview tr td.example .class,#top .table.pkspr-overview tr th.example .class{border-radius:0;border-bottom-right-radius:2.5px;border-bottom-left-radius:2.5px;border-top-right-radius:2.5px;border-top-left-radius:2.5px;color:#112e39;background-color:#cfecf7;padding:1px 4px}#top .table.pkspr-overview tr td.icon,#top .table.pkspr-overview tr th.icon{text-align:center;width:40px}#top .table.pkspr-overview tr td.icon .pkspr,#top .table.pkspr-overview tr th.icon .pkspr{display:block;margin:auto}#top .table.pkspr-overview tr td.icon .pkspr>i,#top .table.pkspr-overview tr th.icon .pkspr>i{top:0}@media screen and (max-width: 1140px){#top{width:100%}}@media screen and (max-width: 770px){#top th.file,#top td.file{display:none}#top th.example,#top td.example{border-right:1px solid #dedcdc}#top tr:first-child th.example,#top tr:first-child td.example{border-radius:0;border-top-right-radius:3px}#top tr:last-child th.example,#top tr:last-child td.example{border-radius:0;border-bottom-right-radius:3px}} diff --git a/build/overview.html b/build/overview.html index e6b1879b..7681f3e9 100644 --- a/build/overview.html +++ b/build/overview.html @@ -2,16 +2,16 @@ - PokéSprite rr39 – Icon Overview + PokéSprite r49 – Icon Overview @@ -29,8 +29,8 @@ Generated on 2014-12-24 00:12:03.
-

PokéSprite rr39 – Icon Overview

-

The following list is a complete overview of all icons and the HTML necessary to display them. It was generated on 2014-12-24 00:12:03.

+

PokéSprite r49 – Icon Overview

+

The following list is a complete overview of all icons and the HTML necessary to display them. It was generated on 2015-08-03 03:56:06.

For more information about the project, visit https://github.com/msikma/pokesprite.

diff --git a/build/pokesprite.css b/build/pokesprite.css index c90254e9..17daf174 100644 --- a/build/pokesprite.css +++ b/build/pokesprite.css @@ -1,7 +1,7 @@ /*! - * PokéSprite r39 - * (C) 2014, Michiel Sikma and PokéSprite contributors - * (C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc. + * PokéSprite r49 + * (C) 2014-2015, Michiel Sikma 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} diff --git a/build/pokesprite.js b/build/pokesprite.js index a2d30562..460ca3d2 100644 --- a/build/pokesprite.js +++ b/build/pokesprite.js @@ -1,9 +1,9 @@ /** @preserve - * PokéSprite r39 - * (C) 2014, Michiel Sikma and PokéSprite contributors - * (C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc. + * PokéSprite r49 + * (C) 2014-2015, Michiel Sikma 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; } } } diff --git a/build/pokesprite.min.js b/build/pokesprite.min.js index 3e98cd30..e00d44bb 100644 --- a/build/pokesprite.min.js +++ b/build/pokesprite.min.js @@ -1,10 +1,10 @@ /* - PokéSprite r39 - (C) 2014, Michiel Sikma and PokéSprite contributors - (C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc. + PokéSprite r49 + (C) 2014-2015, Michiel Sikma 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 - * (C) 2014, Michiel Sikma and PokéSprite contributors - * (C) 1995-2014 Nintendo/Creatures Inc./GAME FREAK Inc. + * PokéSprite r49 + * (C) 2014-2015, Michiel Sikma 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');