Commit graph

5 commits

Author SHA1 Message Date
Benjamin Woodruff
f1167d6389 Use Libre Baskerville for the body font (v0.2.0)
This also includes a large number of spacing fixes and such that have
become apparent with the font change.
2013-10-31 00:07:17 -04:00
Benjamin Woodruff
22be1e85fa Use unitless line-height; fix footnotes (v0.1.3)
Specifying `line-height: 1.3em` instead of simply `line-height: 1.3`
causes odd inheritance properties. In the case of the former, the
`line-height` is calculated from the `font-size` of the parent only. In
the case of the later, the `line-height` is calculated from the
`font-size` of the current child element.

This was causing odd spacing issues with footnotes, as the computed
`line-height` was far too large, since footnotes use a really small
`font-size`.

A new test is included for footnotes and additional tests are included
in the inline code-block test in order to test multiple font sizes.
2013-10-30 20:43:37 -04:00
Benjamin Woodruff
9171905925 Increased line-height (thanks Thomas) (v0.1.2)
If the `line-height` is too small inline `<code>` blocks would run into
each other. As Thomas suggested, a `line-height` of `1.3em` fixes this,
and improves document flow too.

Additional minor spacing tweaks were made to match the slightly taller
`line-height` (such as increasing inter-paragraph spacing).

Tests for `<code>` tags and for long document flow are now included.
2013-10-24 23:44:07 -04:00
Benjamin Woodruff
5a78460ee7 Limit font-size effects on heavily nested elements
Heavily nested lists and block quotes could result in *really* tiny font
sizes. We now use `font-size: inherit` on certain nesting combinations,
and there's an included test case for it.
2013-10-24 23:18:41 -04:00
Benjamin Woodruff
a2bd12bfed Initial Release (v0.1.0) 2013-10-15 19:15:23 -04:00