Ignore custom fonts before and after elements

Our custom stylesheet prevents Web Fonts from loading when styles are attached to elements, however if the before or after CSS pseudo elements are used, the styles do not apply. This leads to crashes on Mac OS X, likely due to https://bugs.webkit.org/process_bug.cgi. Applying the custom rules to the before and after pseudo elements resolves the issue.

Fixes #181.