diff --git a/includes/defaults.php b/includes/defaults.php index 7be3753d..d737060c 100644 --- a/includes/defaults.php +++ b/includes/defaults.php @@ -39,7 +39,7 @@ $s['title_str'] = 'PokéSprite'; $s['revision'] = '[unknown]'; $s['website'] = 'https://github.com/msikma/pokesprite'; $s['website_txt'] = '<'.$s['website'].'>'; -$s['main_contributor'] = 'Michiel Sikma '; +$s['main_contributor'] = 'Michiel Sikma '; $s['other_contributors'] = 'PokéSprite contributors'; $s['contributors'] = implode(' and ', array($s['main_contributor'], $s['other_contributors'])); $s['copyright_str'] = '(C) '.($s['copy_a'] != $s['copy_z'] ? $s['copy_a'].'-'.$s['copy_z'] : $s['copy_a']).', '.$s['contributors']; diff --git a/includes/usage.php b/includes/usage.php index 32e0b59b..25196be1 100644 --- a/includes/usage.php +++ b/includes/usage.php @@ -36,7 +36,7 @@ class Usage extends TemplateFormatter public static $ARG_NONE = array( 'exclude-pkmn', 'exclude-shiny', 'exclude-regular', 'exclude-forms', 'exclude-icon-sets', 'verbose', 'monochrome', 'help', 'no-pngcrush', - 'generate-markdown', + 'generate-markdown', 'no-padding', // Undocumented (debugging only): 'html-no-slugs', ); @@ -114,6 +114,9 @@ class Usage extends TemplateFormatter if ($arg == 'no-pngcrush') { $s['generate_optimized'] = false; } + if ($arg == 'no-padding') { + $s['pkmn_img_padding'] = 0; + } if ($arg == 'generate-markdown') { $s['generate_markdown'] = true; } diff --git a/pokesprite.php b/pokesprite.php index 9ab1bf4b..8e14c3ac 100755 --- a/pokesprite.php +++ b/pokesprite.php @@ -22,7 +22,7 @@ // // The MIT License (MIT) // -// (C) 2014 Michiel Sikma and PokéSprite contributors +// (C) 2014-2016 Michiel Sikma and PokéSprite contributors // // For a full list of contributors, view the project commit history. // diff --git a/resources/overview.scss b/resources/overview.scss index 01c8ed55..3a97e026 100644 --- a/resources/overview.scss +++ b/resources/overview.scss @@ -75,15 +75,30 @@ html, body { .description { margin-bottom: 16px; - h1 { - font-family: $font-header; - font-size: 30px; - font-weight: 300; - margin: 0; - padding: 10px 0 6px; + .header { + text-align: center; + margin-bottom: 30px; + + h1 { + font-family: $font-header; + font-size: 30px; + margin: 0; + padding: 10px 0 0; + } + p { + font-size: 16px; + color: #686868; + } } p { margin: 0 0 6px; + + &.center { + text-align: center; + } + &.img { + margin-bottom: 30px; + } } } diff --git a/resources/usage.tpl b/resources/usage.tpl index b1ab9b66..2bd35fdb 100644 --- a/resources/usage.tpl +++ b/resources/usage.tpl @@ -86,6 +86,9 @@ Options: --no-pngcrush Skips the pngcrush step. + --no-padding + Don't add a 1px padding around all images (recommended for retina compatibility). + --verbose Displays debugging information for every image added to the spritesheet.