Sha256: 86f0fc27c7f1354092d8bedac393a07ceccdbb70d3da7ed4e5314c5357b7f599

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

//
// fonts.css from the YUI Library: developer.yahoo.com/yui/
//           Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages
// 
// There are three custom edits:
//  * remove arial, helvetica from explicit font stack
//  * make the line-height relative and unit-less
//  * remove the pre, code styles
//

@mixin html5-boilerplate-fonts {
  body { @include body-font; }

  table { @include table-font; }

  select, input, textarea { @include input-font; }

  pre, code, kbd, samp { @include monospace-font; }
}

@mixin body-font {
  font:$html5-boilerplate-font-size $html5-boilerplate-font-family; *font-size:small; *font:x-small; line-height:1.22;
}

@mixin input-font {
  font:99% $html5-boilerplate-font-family;
}

@mixin table-font {
  font-size:inherit; font:100%;
}

// normalize monospace sizing 
// meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
// en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
@mixin monospace-font {
  font-family: $html5-boilerplate-fixed-font-family;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html5-boilerplate-0.1.0 stylesheets/html5-boilerplate/_fonts.scss