New build, with crlf changed to lf and compressed style

This commit is contained in:
Michiel Sikma 2017-11-11 00:41:28 +01:00
parent c12d73d05e
commit 96f47fcedb
7 changed files with 19 additions and 390 deletions

10
docs/build/files.html vendored
View File

@ -2,16 +2,16 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<!--
PokéSprite v1.5.0 (r188) <https://github.com/msikma/pokesprite>
PokéSprite v1.5.0 (r190) <https://github.com/msikma/pokesprite>
(C) 2014-2017, Michiel Sikma <michiel@sikma.org> and PokéSprite contributors
(C) 1995-2017 Nintendo/Creatures Inc./GAME FREAK Inc.
For a full list of contributors, view the project commit history.
Generated on 2017-11-10 23:22:40.
Generated on 2017-11-10 23:38:05.
-->
<head>
<meta charset="utf-8" />
<title>PokéSprite v1.5.0 (r188) Files</title>
<title>PokéSprite v1.5.0 (r190) Files</title>
<!-- Pokémon icons -->
<link type="text/css" href="pokesprite.min.css" rel="stylesheet" media="screen" />
<script charset="utf-8" src="pokesprite.min.js" ></script>
@ -26,9 +26,9 @@ Generated on 2017-11-10 23:22:40.
<p>Pokémon icon database and sprite sheet generator</p>
</div>
<div class="docs-container">
<h2>Files (v1.5.0; r188)</h2>
<h2>Files (v1.5.0; r190)</h2>
<p>To implement PokéSprite on a website, you need to include one CSS file, one JS file and one image. Depending on where you want to keep the image, you'll need to edit the CSS file to point to the right location.</p>
<p>Generated on <span class="time">2017-11-10 23:22:40</span> (<span class="amount">3301</span> icons).</p>
<p>Generated on <span class="time">2017-11-10 23:38:05</span> (<span class="amount">3301</span> icons).</p>
<p class="build-section"><strong>Standard build:</strong></p>
<p>Contains Pokémon (regular and shiny; with forms, with right-facing alternate icons), and items.</p>
<ul>

View File

@ -2,16 +2,16 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<!--
PokéSprite v1.5.0 (r188) <https://github.com/msikma/pokesprite>
PokéSprite v1.5.0 (r190) <https://github.com/msikma/pokesprite>
(C) 2014-2017, Michiel Sikma <michiel@sikma.org> and PokéSprite contributors
(C) 1995-2017 Nintendo/Creatures Inc./GAME FREAK Inc.
For a full list of contributors, view the project commit history.
Generated on 2017-11-10 23:22:40.
Generated on 2017-11-10 23:38:05.
-->
<head>
<meta charset="utf-8" />
<title>PokéSprite v1.5.0 (r188) Icon Overview</title>
<title>PokéSprite v1.5.0 (r190) Icon Overview</title>
<!-- Pokémon icons -->
<link type="text/css" href="pokesprite.min.css" rel="stylesheet" media="screen" />
<script charset="utf-8" src="pokesprite.min.js" ></script>
@ -34,9 +34,9 @@ Generated on 2017-11-10 23:22:40.
<p>Pokémon icon database and sprite sheet generator</p>
</div>
<div class="docs-container">
<h2>Icon overview (v1.5.0; r188)</h2>
<h2>Icon overview (v1.5.0; r190)</h2>
<p>The following list is a complete overview of all icons and the HTML necessary to display them.</p>
<p>Generated on <span class="time">2017-11-10 23:22:40</span> (<span class="amount">3301</span> icons).</p>
<p>Generated on <span class="time">2017-11-10 23:38:05</span> (<span class="amount">3301</span> icons).</p>
</div>
</div>
<div class="description">

File diff suppressed because one or more lines are too long

View File

@ -1,222 +1,7 @@
@charset "UTF-8";
/*!
* PokéSprite v1.5.0 (r188) <https://github.com/msikma/pokesprite>
/*!
* PokéSprite v1.5.0 (r190) <https://github.com/msikma/pokesprite>
* (C) 2014-2017, Michiel Sikma <michiel@sikma.org> and PokéSprite contributors
* (C) 1995-2017 Nintendo/Creatures Inc./GAME FREAK Inc.
* For a full list of contributors, view the project commit history.
* Generated on 2017-11-10 23:22:40.
*/
/**
* Mixin that sets sprite styling.
*
* This mixin can be used to turn any element into an icon. When calling
* this function, the optional second argument is a map that can be
* used to specify which CSS values are set. It may contain any or all of
* the following values:
*
* img background-image
* w width
* h height
* size width and height
* pos background-position
* content sets a non-empty content value (for pseudoelements)
*
* When using this mixin to modify multiple elements, the second argument
* can be used to minimize the amount of generated CSS code; first set
* the common values, then add specific traits.
*
* For example, to set an element to show up as Bulbasaur,
* use: @include pkspr-sprite('bulbasaur');
*/
/**
* Mixin that sets sprite size based on type.
*
* This sets the size of an icon based on the type size variable.
* The optional second argument is a map that allows you to specify
* whether to set width, height or both:
*
* w width
* h height
* size width and height
*/
/**
* Mixin that ensures crisp rendering on modern browsers by setting
* the resizing algorithm to nearest neighbor.
*/
/**
* Mixin that resets the rendering of the sprites back to standard.
*/
/**
* Base icon CSS.
*
* The display mode is determined by the element used in the HTML.
* If a <span> is used, the icon is an inline-block element (like an image).
* If a <div> is used, the icon is a block element.
*
* The <span> display mode has an alternative display style (via .display-over)
* that sets the main element to a height of 1px, allowing the icon to be
* displayed without affecting the line height of the running text.
*
* The icon itself is added to the <i> element inside of the container.
* The element is added by the JS code.
*/
.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: 41px;
height: 31px;
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*='apricorn-'], .pkspr[class*='apricorn-'] > i {
width: 32px; }
.pkspr[class*='apricorn-'], .pkspr[class*='apricorn-'] > i {
height: 32px; }
.pkspr[class*='battle-item-'], .pkspr[class*='battle-item-'] > i {
width: 32px; }
.pkspr[class*='battle-item-'], .pkspr[class*='battle-item-'] > i {
height: 32px; }
.pkspr[class*='berry-'], .pkspr[class*='berry-'] > i {
width: 32px; }
.pkspr[class*='berry-'], .pkspr[class*='berry-'] > i {
height: 32px; }
.pkspr[class*='body-style-'], .pkspr[class*='body-style-'] > i {
width: 32px; }
.pkspr[class*='body-style-'], .pkspr[class*='body-style-'] > i {
height: 32px; }
.pkspr[class*='etc-'], .pkspr[class*='etc-'] > i {
width: 32px; }
.pkspr[class*='etc-'], .pkspr[class*='etc-'] > i {
height: 32px; }
.pkspr[class*='ev-item-'], .pkspr[class*='ev-item-'] > i {
width: 32px; }
.pkspr[class*='ev-item-'], .pkspr[class*='ev-item-'] > i {
height: 32px; }
.pkspr[class*='evo-item-'], .pkspr[class*='evo-item-'] > i {
width: 32px; }
.pkspr[class*='evo-item-'], .pkspr[class*='evo-item-'] > i {
height: 32px; }
.pkspr[class*='flute-'], .pkspr[class*='flute-'] > i {
width: 32px; }
.pkspr[class*='flute-'], .pkspr[class*='flute-'] > i {
height: 32px; }
.pkspr[class*='fossil-'], .pkspr[class*='fossil-'] > i {
width: 32px; }
.pkspr[class*='fossil-'], .pkspr[class*='fossil-'] > i {
height: 32px; }
.pkspr[class*='gem-'], .pkspr[class*='gem-'] > i {
width: 32px; }
.pkspr[class*='gem-'], .pkspr[class*='gem-'] > i {
height: 32px; }
.pkspr[class*='hm-'], .pkspr[class*='hm-'] > i {
width: 32px; }
.pkspr[class*='hm-'], .pkspr[class*='hm-'] > i {
height: 32px; }
.pkspr[class*='hold-item-'], .pkspr[class*='hold-item-'] > i {
width: 32px; }
.pkspr[class*='hold-item-'], .pkspr[class*='hold-item-'] > i {
height: 32px; }
.pkspr[class*='incense-'], .pkspr[class*='incense-'] > i {
width: 32px; }
.pkspr[class*='incense-'], .pkspr[class*='incense-'] > i {
height: 32px; }
.pkspr[class*='other-item-'], .pkspr[class*='other-item-'] > i {
width: 32px; }
.pkspr[class*='other-item-'], .pkspr[class*='other-item-'] > i {
height: 32px; }
.pkspr[class*='key-item-'], .pkspr[class*='key-item-'] > i {
width: 32px; }
.pkspr[class*='key-item-'], .pkspr[class*='key-item-'] > i {
height: 32px; }
.pkspr[class*='mail-'], .pkspr[class*='mail-'] > i {
width: 32px; }
.pkspr[class*='mail-'], .pkspr[class*='mail-'] > i {
height: 32px; }
.pkspr[class*='medicine-'], .pkspr[class*='medicine-'] > i {
width: 32px; }
.pkspr[class*='medicine-'], .pkspr[class*='medicine-'] > i {
height: 32px; }
.pkspr[class*='mega-stone-'], .pkspr[class*='mega-stone-'] > i {
width: 32px; }
.pkspr[class*='mega-stone-'], .pkspr[class*='mega-stone-'] > i {
height: 32px; }
.pkspr[class*='mulch-'], .pkspr[class*='mulch-'] > i {
width: 32px; }
.pkspr[class*='mulch-'], .pkspr[class*='mulch-'] > i {
height: 32px; }
.pkspr[class*='plate-'], .pkspr[class*='plate-'] > i {
width: 32px; }
.pkspr[class*='plate-'], .pkspr[class*='plate-'] > i {
height: 32px; }
.pkspr[class*='pokeball-'], .pkspr[class*='pokeball-'] > i {
width: 32px; }
.pkspr[class*='pokeball-'], .pkspr[class*='pokeball-'] > i {
height: 32px; }
.pkspr[class*='scarf-'], .pkspr[class*='scarf-'] > i {
width: 32px; }
.pkspr[class*='scarf-'], .pkspr[class*='scarf-'] > i {
height: 32px; }
.pkspr[class*='shard-'], .pkspr[class*='shard-'] > i {
width: 32px; }
.pkspr[class*='shard-'], .pkspr[class*='shard-'] > i {
height: 32px; }
.pkspr[class*='tm-'], .pkspr[class*='tm-'] > i {
width: 32px; }
.pkspr[class*='tm-'], .pkspr[class*='tm-'] > i {
height: 32px; }
.pkspr[class*='valuable-item-'], .pkspr[class*='valuable-item-'] > i {
width: 32px; }
.pkspr[class*='valuable-item-'], .pkspr[class*='valuable-item-'] > i {
height: 32px; }
.pkspr[class*='wonder-launcher-'], .pkspr[class*='wonder-launcher-'] > i {
width: 32px; }
.pkspr[class*='wonder-launcher-'], .pkspr[class*='wonder-launcher-'] > i {
height: 32px; }
.pkspr[class*='z-crystals-'], .pkspr[class*='z-crystals-'] > i {
width: 32px; }
.pkspr[class*='z-crystals-'], .pkspr[class*='z-crystals-'] > i {
height: 32px; }
.pkspr[class*='memory-'], .pkspr[class*='memory-'] > i {
width: 32px; }
.pkspr[class*='memory-'], .pkspr[class*='memory-'] > i {
height: 32px; }
.pkspr[class*='roto-'], .pkspr[class*='roto-'] > i {
width: 32px; }
.pkspr[class*='roto-'], .pkspr[class*='roto-'] > i {
height: 32px; }
.pkspr[class*='petal-'], .pkspr[class*='petal-'] > i {
width: 32px; }
.pkspr[class*='petal-'], .pkspr[class*='petal-'] > i {
height: 32px; }
* Generated on 2017-11-10 23:38:05.
*/.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:41px;height:31px;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*='apricorn-'],.pkspr[class*='apricorn-']>i{width:32px}.pkspr[class*='apricorn-'],.pkspr[class*='apricorn-']>i{height:32px}.pkspr[class*='battle-item-'],.pkspr[class*='battle-item-']>i{width:32px}.pkspr[class*='battle-item-'],.pkspr[class*='battle-item-']>i{height:32px}.pkspr[class*='berry-'],.pkspr[class*='berry-']>i{width:32px}.pkspr[class*='berry-'],.pkspr[class*='berry-']>i{height:32px}.pkspr[class*='body-style-'],.pkspr[class*='body-style-']>i{width:32px}.pkspr[class*='body-style-'],.pkspr[class*='body-style-']>i{height:32px}.pkspr[class*='etc-'],.pkspr[class*='etc-']>i{width:32px}.pkspr[class*='etc-'],.pkspr[class*='etc-']>i{height:32px}.pkspr[class*='ev-item-'],.pkspr[class*='ev-item-']>i{width:32px}.pkspr[class*='ev-item-'],.pkspr[class*='ev-item-']>i{height:32px}.pkspr[class*='evo-item-'],.pkspr[class*='evo-item-']>i{width:32px}.pkspr[class*='evo-item-'],.pkspr[class*='evo-item-']>i{height:32px}.pkspr[class*='flute-'],.pkspr[class*='flute-']>i{width:32px}.pkspr[class*='flute-'],.pkspr[class*='flute-']>i{height:32px}.pkspr[class*='fossil-'],.pkspr[class*='fossil-']>i{width:32px}.pkspr[class*='fossil-'],.pkspr[class*='fossil-']>i{height:32px}.pkspr[class*='gem-'],.pkspr[class*='gem-']>i{width:32px}.pkspr[class*='gem-'],.pkspr[class*='gem-']>i{height:32px}.pkspr[class*='hm-'],.pkspr[class*='hm-']>i{width:32px}.pkspr[class*='hm-'],.pkspr[class*='hm-']>i{height:32px}.pkspr[class*='hold-item-'],.pkspr[class*='hold-item-']>i{width:32px}.pkspr[class*='hold-item-'],.pkspr[class*='hold-item-']>i{height:32px}.pkspr[class*='incense-'],.pkspr[class*='incense-']>i{width:32px}.pkspr[class*='incense-'],.pkspr[class*='incense-']>i{height:32px}.pkspr[class*='other-item-'],.pkspr[class*='other-item-']>i{width:32px}.pkspr[class*='other-item-'],.pkspr[class*='other-item-']>i{height:32px}.pkspr[class*='key-item-'],.pkspr[class*='key-item-']>i{width:32px}.pkspr[class*='key-item-'],.pkspr[class*='key-item-']>i{height:32px}.pkspr[class*='mail-'],.pkspr[class*='mail-']>i{width:32px}.pkspr[class*='mail-'],.pkspr[class*='mail-']>i{height:32px}.pkspr[class*='medicine-'],.pkspr[class*='medicine-']>i{width:32px}.pkspr[class*='medicine-'],.pkspr[class*='medicine-']>i{height:32px}.pkspr[class*='mega-stone-'],.pkspr[class*='mega-stone-']>i{width:32px}.pkspr[class*='mega-stone-'],.pkspr[class*='mega-stone-']>i{height:32px}.pkspr[class*='mulch-'],.pkspr[class*='mulch-']>i{width:32px}.pkspr[class*='mulch-'],.pkspr[class*='mulch-']>i{height:32px}.pkspr[class*='plate-'],.pkspr[class*='plate-']>i{width:32px}.pkspr[class*='plate-'],.pkspr[class*='plate-']>i{height:32px}.pkspr[class*='pokeball-'],.pkspr[class*='pokeball-']>i{width:32px}.pkspr[class*='pokeball-'],.pkspr[class*='pokeball-']>i{height:32px}.pkspr[class*='scarf-'],.pkspr[class*='scarf-']>i{width:32px}.pkspr[class*='scarf-'],.pkspr[class*='scarf-']>i{height:32px}.pkspr[class*='shard-'],.pkspr[class*='shard-']>i{width:32px}.pkspr[class*='shard-'],.pkspr[class*='shard-']>i{height:32px}.pkspr[class*='tm-'],.pkspr[class*='tm-']>i{width:32px}.pkspr[class*='tm-'],.pkspr[class*='tm-']>i{height:32px}.pkspr[class*='valuable-item-'],.pkspr[class*='valuable-item-']>i{width:32px}.pkspr[class*='valuable-item-'],.pkspr[class*='valuable-item-']>i{height:32px}.pkspr[class*='wonder-launcher-'],.pkspr[class*='wonder-launcher-']>i{width:32px}.pkspr[class*='wonder-launcher-'],.pkspr[class*='wonder-launcher-']>i{height:32px}.pkspr[class*='z-crystals-'],.pkspr[class*='z-crystals-']>i{width:32px}.pkspr[class*='z-crystals-'],.pkspr[class*='z-crystals-']>i{height:32px}.pkspr[class*='memory-'],.pkspr[class*='memory-']>i{width:32px}.pkspr[class*='memory-'],.pkspr[class*='memory-']>i{height:32px}.pkspr[class*='roto-'],.pkspr[class*='roto-']>i{width:32px}.pkspr[class*='roto-'],.pkspr[class*='roto-']>i{height:32px}.pkspr[class*='petal-'],.pkspr[class*='petal-']>i{width:32px}.pkspr[class*='petal-'],.pkspr[class*='petal-']>i{height:32px}

View File

@ -1,10 +1,10 @@
/*
PokéSprite v1.5.0 (r188) <https://github.com/msikma/pokesprite>
PokéSprite v1.5.0 (r190) <https://github.com/msikma/pokesprite>
(C) 2014-2017, Michiel Sikma <michiel@sikma.org> and PokéSprite contributors
(C) 1995-2017 Nintendo/Creatures Inc./GAME FREAK Inc.
For a full list of contributors, view the project commit history.
Generated on 2017-11-10 23:22:40.
Generated on 2017-11-10 23:38:05.
*/
(function(k,m){"object"===typeof module&&"object"===typeof module.Q?module.Q=k.document?m(k,!0):function(k){if(!k.document)throw Error("PokéSprite requires a window with a document");return m(k)}:m(k)})("undefined"!==typeof window?window:this,function(k,m){var q=Object.assign||function(b){for(var a=1;a<arguments.length;a++){var c=arguments[a],e;for(e in c)Object.prototype.hasOwnProperty.call(c,e)&&(b[e]=c[e])}return b},a={B:"pkspr",A:{pkmn:{w:40,h:30},apricorn:{w:32,h:32},"battle-item":{w:32,h:32},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 726 KiB

After

Width:  |  Height:  |  Size: 726 KiB

View File

@ -10,10 +10,10 @@ rm -f "$DIR/output/"*
"$DIR/pokesprite.php"
java -jar "$DIR/tools/closure-compiler.jar" --compilation_level ADVANCED_OPTIMIZATIONS --js "$DIR/output/pokesprite.js" --js_output_file "$DIR/output/pokesprite.min.js" --charset UTF-8
rm "$DIR/output/pokesprite.js"
node-sass --sourcemap=none --style compressed "$DIR/output/pokesprite.scss" "$DIR/output/pokesprite.min.css"
node-sass --sourcemap=none --output-style compressed "$DIR/output/pokesprite.scss" "$DIR/output/pokesprite.min.css"
rm "$DIR/output/pokesprite.scss"
rm -f "$DIR/output/pokesprite.css.map"
node-sass --sourcemap=none --style compressed "$DIR/resources/overview.scss" "$DIR/output/overview.min.css"
node-sass --sourcemap=none --output-style compressed "$DIR/resources/overview.scss" "$DIR/output/overview.min.css"
rm -f "$DIR/output/overview.css.map"
cp "$DIR/resources/node-readme.md" "$DIR/output/readme.md"
cp "$DIR/LICENSE" "$DIR/output/license"