Sha256: 842c1e2720769c60225696f1da8e9e58ff7fa31bdc34e136ed56f56d6c94915e

Contents?: true

Size: 662 Bytes

Versions: 3

Compression:

Stored size: 662 Bytes

Contents

/*------------------------------------*\
    #IMAGES
\*------------------------------------*/

/**
 * 1. Fluid images for responsive purposes.
 * 2. Offset `alt` text from surrounding copy.
 * 3. Setting `vertical-align` removes the whitespace that appears under `img`
 *    elements when they are dropped into a page as-is. Safer alternative to
 *    using `display: block;`.
 */
img{
    max-width: 100%; /* [1] */
    font-style: italic; /* [2] */
    vertical-align: middle; /* [3] */
}





/**
 * If a `width` and/or `height` attribute have been explicitly defined, let’s
 * not make the image fluid.
 */
img[width],
img[height] {
    max-width: none;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polar-express-1.1.1 vendor/assets/inuit.css/inuit-images/_base.images.scss
polar-express-1.1.0 vendor/assets/inuit.css/inuit-images/_base.images.scss
polar-express-1.0.0 vendor/assets/inuit.css/inuit-images/_base.images.scss