The KerbalX Font Pack is a set of scalable icons (glyphicons) for use in web projects.
It's currently just a selection from free font-packs Icomoon and FontAwesome, but I hope to get KSP players to contribute to it so we can build up a set of KSP related icons. Some of these are used on KerbalX, and my aim is to build up a pack that will be helpful to anyone building KSP related projects.
Font OptionsFont Size
I need people (or kerbals) who have skills in creating SVG vector images and could create some KSP related icons.
At the moment pretty much any anything KSP related would be helpful. But in particular an icon for a Kerbal (think silhouette of Jeb), icons for the SPH and VAB, and for the different craft types would be great.
If you have any submissions come and post on the KSP forum thread
Download Font Pack
How to use
- In the zip you'll find a fonts folder containing .eot, .svg, .ttf and .woff files. Put all of these into your project's font asset folder (in Rails put them in
- Copy the
style.cssfile into your css assets folder and rename it to whatever you like (in Rails put it in
app/assets/stylesheetsand require it in
- If you're awesome and use SASS then change the extension to .scss (and in rails use
url, or just use this scss file instead of style.css)
- the css/scss file defines a base class
kxiconwhich uses the font pack as its font-family, and a class for each icon which adds the appropriate content for it.
- Just create an element with the class kxicon and the class for which ever icon you want ie
<div class='kxicon kx-rocket'></div>(mouse over each icon below to see their class names)