Commit ae6603b2 authored by Randall Leeds's avatar Randall Leeds

Set font size in px on html tag

The trick used here was designed to honor the font setting in a user's
browser by assuming a typical default of 16px and computing the base
font size in ems relative to that.

The problem is that even if everything is sized in ems there are
sometimes aggressive user agent styles that complicate things by
restoring the system font. It turns out it fixes the various things
I've noticed in my FF this way.
parent b26e69e5
......@@ -42,8 +42,8 @@ p {
em { font-style: italic; }
html {
font-size: $base-font-size / 16px * 1em;
line-height: $base-line-height / 16px * 1em;
font-size: $base-font-size;
line-height: $base-line-height;
@include yui_grid();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment