Sha256: c9657afd174b7ae3e80f9297678d32eadbe801f453753a2f8ddbabb10531e41f

Contents?: true

Size: 662 Bytes

Versions: 11

Compression:

Stored size: 662 Bytes

Contents

// Shortcuts for CSS Media Queries

@mixin max-width($width)
  @media all and (max-width: to-px($width))
    @content

@mixin min-width($width)
  @media all and (min-width: to-px($width))
    @content

@mixin range-width($min-width, $max-width)
  @media all and (min-width: to-px($min-width)) and (max-width: to-px($max-width))
    @content

@mixin max-height($height)
  @media all and (max-height: to-px($height))
    @content

@mixin min-height($height)
  @media all and (min-height: to-px($height))
    @content

@mixin range-height($min-height, $max-height)
  @media all and (min-height: to-px($min-height)) and (max-height: to-px($max-height))
    @content

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
evil-front-0.3.7 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.3.6 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.3.5 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.3.4 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.3.3 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.3.2 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.3.1 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.3.0 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.2.1 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.2.0 lib/assets/stylesheets/evil-front/media.sass
evil-front-0.1.0 lib/assets/stylesheets/evil-front/media.sass