| 1 |
# Wyrm |
| 2 |
|
| 3 |
Built primarily by Dave Snider for use on his web sites. Here be documentation |
| 4 |
for the poor souls that have to work with him and wonder why he doesn't just |
| 5 |
use bootstrap. |
| 6 |
|
| 7 |
Wyrm is a small library of [Bourbon](http://bourbon.io) powered SASS files meant |
| 8 |
for use in minimalistic Document and Form heavy sites. It was primarily built |
| 9 |
for [Webhook](http://www.webhook.com) but can also be found in use on |
| 10 |
[Read the Docs sphinx theme](http://snide.github.com/sphinx_rtd_theme) among |
| 11 |
other places. |
| 12 |
|
| 13 |
## Installation |
| 14 |
|
| 15 |
Wyrm is best installed through [bower](http://bower.io) and is updated regularly. |
| 16 |
|
| 17 |
``` |
| 18 |
bower install wyrm |
| 19 |
``` |
| 20 |
|
| 21 |
By default, Wyrm installs [Font Awesome](http://fontawesome.io) setting the |
| 22 |
`$icon-prefix` to FA's default of `fa`. You'll want to use [Grunt](http://gruntjs.org) |
| 23 |
or some other method to copy the font files to your font folder in your project. Wyrm |
| 24 |
by default assumes that it is `../fonts/` relative to your css, but this variable can |
| 25 |
be changed with `$fa-font-path`. You can use any font icons though, and all icons |
| 26 |
actually used in Wyrm itself are set as variables in the `_wy_variables.sass` files. |
| 27 |
|
| 28 |
## Things to know |
| 29 |
|
| 30 |
1. Uses indented Sass style because it's awesome. |
| 31 |
2. `$base-line-height` is the magic number used for calculations across wyrm. `$gutter` is |
| 32 |
it's em based cousin usefual for grids. |
| 33 |
4. Because `$gutter` is an em value, I've included an `em()` mixin for converting pixels |
| 34 |
to ems should you need to make calculations with the two. |
| 35 |
3. Vertical margin is only applied to the **bottom** of elements, not spread |
| 36 |
top/bottom like other frameworks. It is always some multiple of `$base-line-height` |
| 37 |
|
| 38 |
## Wyrm core / add-on structure |
| 39 |
|
| 40 |
Files that you'll likely want to install are in `/wyrm_core/` and you can handly call |
| 41 |
all of them using the `_wyrm_core.sass` file. Alternatively, I've built a whole lot |
| 42 |
of addons, located in `/wym_addons/`, which you can plug and play into wyrm as you need. Most of them are |
| 43 |
documented here. To install core + plus all the addons, there's a handy `_wyrm_all.sass` |
| 44 |
file, though honestly you'll prolly just make your own document at that point. |