stylesheets/html5-boilerplate/_fonts.scss in html5-boilerplate-0.3.2 vs stylesheets/html5-boilerplate/_fonts.scss in html5-boilerplate-0.3.3
- old
+ new
@@ -1,11 +1,11 @@
$base-font-family: unquote("sans-serif") !default;
$base-font-size: 13px !default;
$base-line-height: 1.231 !default;
//
-// Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui
+// Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
// 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) {
body {
@@ -15,18 +15,16 @@
*font-size: small;
}
select, input, textarea, button { font: 99% $family; }
- // normalize monospace sizing
- // meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
+ // Normalize monospace sizing:
// en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
pre, code, kbd, samp { font-family: monospace, sans-serif; }
}
-// maxvoltar.com/archive/-webkit-font-smoothing
@mixin font-smoothing {
- -webkit-font-smoothing: antialiased;
+ @warn "The 'font-smoothing' mixin has been deprecated as it made monospace too thin.";
}
// Sets the font size specified in pixels using percents so that the base
// font size changes and 1em has the correct value. When nesting font size
// declarations, within the DOM tree, the base_font_size must be the parent's