Commit graph

12 commits

Author SHA1 Message Date
Benjamin Woodruff
845f70f58b Update normalize.css to v3 (v0.2.3) 2014-01-28 22:24:52 -05:00
Benjamin Woodruff
97219d360c Add a slight background noise (v0.2.2)
The background noise makes the document look more like it's written on
paper.

The noise images are provided by the noisy-uris project:
https://github.com/markdurrant/noisy-uris

To avoid making another HTTP request, the images are base64 encoded, and
`@extend` is used to avoid duplicating the images.
2013-11-04 14:07:40 -05:00
Benjamin Woodruff
316d53e25b Greatly improve Makefile
- Only recompile the tests that have changed (Using macros and
  auto-generated targets! Eat that, automake!)
- Compute file size and gziped size and display them
- Use the `.PHONY` directive where relevant
- Hide some minor commands and write out others clearer
2013-11-04 14:06:06 -05:00
Benjamin Woodruff
b67b5d77a0 Merge branch 'master' of github.com:PiPeep/pan-am 2013-11-04 13:59:15 -05:00
Benjamin Woodruff
c594cf3506 Don't display captions when they're empty (v0.2.1)
This fixes some very minor whitespace collapsing issues with figcaption.
2013-10-31 13:36:38 -04:00
Benjamin Woodruff
b822cdcb17 Fix Github's README screenshot
The screenshot was updated on my server, but Github had it cached.

This commit changes the URL to break the cache.
2013-10-31 00:16:42 -04:00
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
42c25f8fb8 Responsive layout fixes (thanks Thomas!) (v0.1.1)
- Really large screens get percent-based margins, a wider max-width, and
  a slightly bigger font
- Really small screens get `overflow-x: auto` for code blocks
- Figures get centered on wide screens
2013-10-15 20:41:08 -04:00
Benjamin Woodruff
a2bd12bfed Initial Release (v0.1.0) 2013-10-15 19:15:23 -04:00