Sha256: 64065f531a76256c5ad71f3447ddc37e3668b24301b03ba39389310bb188ae0a
Contents?: true
Size: 821 Bytes
Versions: 2
Compression:
Stored size: 821 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] */ } /** * 1. Google Maps breaks if `max-width: 100%` acts upon it; use their selector * to remove the effects. * 2. If a `width` and/or `height` attribute have been explicitly defined, let’s * not make the image fluid. */ .gm-style img, /* [1] */ img[width], /* [2] */ img[height] { /* [2] */ max-width: none; }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
lanes-0.8.0 | node_modules/inuit-images/_base.images.scss |
mifflin-0.1.1 | vendor/assets/bower_components/inuit-images/_base.images.scss |