stylesheets/html5-boilerplate/_fonts.scss in html5-boilerplate-0.2.1 vs stylesheets/html5-boilerplate/_fonts.scss in html5-boilerplate-0.2.2
- old
+ new
@@ -3,13 +3,14 @@
$base-line-height: 1.231 !default;
//
// fonts.css from the YUI Library: developer.yahoo.com/yui/fonts
//
-// There are two custom edits:
+// There are three custom edits:
// * remove arial, helvetica from explicit font stack
// * we normalize monospace styles ourselves
+// * table font-size is reset in the HTML5 reset above so there is no need to repeat
//
// Whatever parts of this port of YUI to Sass that are copyrightable, are Copyright (c) 2008, Christopher Eppstein. All Rights Reserved.
//
@mixin html5-boilerplate-fonts($family: $base-font-family, $size: $base-font-size, $line-height: $base-line-height) {
@@ -17,11 +18,9 @@
font-size: $size;
font-family: $family;
line-height: $line-height; // hack retained to preserve specificity
*font-size: small;
}
-
- table { font-size: inherit; font: 100%; }
select, input, textarea, button { font: 99% $family; }
// normalize monospace sizing
// meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/