Sha256: 78a03d588c1caf037642ac0fc9902152158178fe3868d840e8d4c868c3a694dc

Contents?: true

Size: 651 Bytes

Versions: 5

Compression:

Stored size: 651 Bytes

Contents

// Foundation for Emails by ZURB
// zurb.com/ink/
// Licensed under MIT Open Source

////
/// @group block-grid
////

/// The highest number of `.x-up` classes available when using the block grid CSS.
/// @type Number
$block-grid-max: 8 !default;

/// Gutter between elements in a block grid.
/// @type Number
$block-grid-gutter: $global-gutter !default;

.block-grid {
  width: 100%;
  max-width: $global-width;

  td {
    display: inline-block;
    padding: $block-grid-gutter / 2;
  }
}

// Sizing classes
@for $i from 2 through $block-grid-max {
  .up-#{$i} td {
    width: floor(($global-width - $i * $block-grid-gutter) / $i) !important;
  }
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
malvolio-0.1.0 lib/generators/malvolio/templates/base_with_inky/scss/foundation_emails/grid/_block-grid.scss
foundation_emails-2.2.1.0 vendor/assets/stylesheets/foundation-emails/grid/_block-grid.scss
foundation_emails-2.2.0.0 vendor/assets/stylesheets/foundation-emails/grid/_block-grid.scss
foundation_emails-2.1.0.1 vendor/assets/stylesheets/foundation-emails/grid/_block-grid.scss
foundation_emails-2.1.0 vendor/assets/stylesheets/foundation-emails/grid/_block-grid.scss