Sha256: 31e8729b7049d56833b31cfe052c3a35eaf30c85c87723eea69a12b763d9c462

Contents?: true

Size: 960 Bytes

Versions: 7

Compression:

Stored size: 960 Bytes

Contents

// Normalize 7" tablets.

// Default is halfway between both resolutions. I find the default 3/2 on the tab to be too much.
$tab7-pixel-ratio: (6/5) !default

@if unit($module-w) != "em"
  @warn "Your grid MUST be based on ems to scale to 7 inch tablets."
@else
  
  // Standard 7" 1024x600 tablet (Kindle Fire)
  @media screen and (-webkit-device-pixel-ratio: 1) and (device-width: 1024px) and (orientation: landscape), screen and (-webkit-device-pixel-ratio: 1) and (device-width: 600px) and (orientation: portrait)
    html
      font-size: $base-size * $tab7-pixel-ratio
  
  // 1024x600 tablet with virtual resolution (Original Galaxy Tab)
  @media screen and (-webkit-device-pixel-ratio: 1.5) and (device-width: 683px) and (orientation: landscape), screen and (-webkit-device-pixel-ratio: 1.5) and (device-width: 400px) and (orientation: portrait)
    html
      font-size: $base-size * (2/3) * $tab7-pixel-ratio

$seasons-tablet-7-normalize-loaded: true

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
seasons-0.9.3.beta16 stylesheets/seasons/plugin/_tablet-7-normalize.sass
seasons-0.9.3.beta15 stylesheets/seasons/plugin/_tablet-7-normalize.sass
seasons-0.9.3.beta14 stylesheets/seasons/plugin/_tablet-7-normalize.sass
seasons-0.9.3.beta13 stylesheets/seasons/plugin/_tablet-7-normalize.sass
seasons-0.9.3.beta12 stylesheets/seasons/plugin/_tablet-7-normalize.sass
seasons-0.9.3.beta11 stylesheets/seasons/plugin/_tablet-7-normalize.sass
seasons-0.9.3.beta10 stylesheets/seasons/plugin/_tablet-7-normalize.sass