README.md in world-flags-0.6.2.1 vs README.md in world-flags-0.6.3

- old
+ new

@@ -10,12 +10,15 @@ The sprites contains all the main country flags in the world. You can use the [sprite generator](http://spritegen.website-performance.org/) to generate sprites for other icons sets and follow the pattern for this gem. -You can also see the [pictos-icons](https://github.com/kristianmandrup/pictos-icons) gem for another example using this model. +You can also see the [pictos-icons](https://github.com/kristianmandrup/pictos-icons) +or [social_icons](https://github.com/kristianmandrup/social_icons) gems for other examples using this model. +Also check out the [world-flag-packs](https://github.com/kristianmandrup/world-flag-packs) repo, that contains multiple flag packs ready for use with `world-flags. + ## Customizing Flag sprite size *Resize images:* Use ImageMagick to resize, using 32px version as base @@ -49,18 +52,16 @@ ## Configuration In you asset `application.css` manifest file: ```css -*/ +/* *= require_self *= require_tree . *= require flags/basic *= require flags/flags16 - *= require flags/flags16_semi *= require flags/flags32 - *= require flags/flags32_semi */ ``` The `flags/basic` stylesheet sets up a basic css for use with borders around the flag images (to mark selected language). Use this css as inspiration and customize by overriding styles as needed. @@ -272,35 +273,17 @@ } .f16.flag { width: 16px; height: 16px; - line-height: 16px; } .f24.flag { width: 24px; height: 24px; - line-height: 24px; } -.f32.flag { - width: 32px; - height: 32px; - line-height: 32px; -} - -.f48.flag { - width: 48px; - height: 48px; - line-height: 48px; -} - -.f64.flag { - width: 64px; - height: 64px; - line-height: 64px; -} + /* and so on ... */ ``` ## TODO for version 1.0 Suggestions welcome ;)