Sha256: 03457c75aa4a8ebfe59c3068d2673c3d0754a2cdbe52b62496acdb9246c5a821

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

// Compass imports
//----------------------------------------------------------------------------------------------------

@import compass/css3
@import compass/utilities

// Font stack
//----------------------------------------------------------------------------------------------------

@mixin HelveticaFontStack
  font-family: $helvetica-font-stack

// Font size mixin to include px and rem
//----------------------------------------------------------------------------------------------------

@mixin font-size($size, $is-important: false)
  @if $is-important
    font-size: $size + px !important
    font-size: ($size / 10) + rem !important
  @else
    font-size: $size + px 
    font-size: ($size / 10) + rem

// WebKit font-smoothing
//----------------------------------------------------------------------------------------------------

// References:
//
// 1. http://maxvoltar.com/sandbox/fontsmoothing/
// 2. http://maxvoltar.com/archive/-webkit-font-smoothing
//
// Values: none, antialiased (default), subpixel-antialiased
//

@mixin font-smoothing($value: antialiased)
  -webkit-font-smoothing: $value

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ZURB-foundation-2.1.5.2 stylesheets/zurb/shared/_mixins.sass
ZURB-foundation-2.1.5.1 stylesheets/ZURB/shared/_mixins.sass
ZURB-foundation-2.1.5 stylesheets/ZURB/shared/_mixins.sass
ZURB-foundation-2.1.4.1 stylesheets/ZURB/shared/_mixins.sass
ZURB-foundation-2.1.4 stylesheets/ZURB/includes/_mixins.sass