Sha256: 537bfb0372b8ae2a6bede3e7538306444949ace674908595b4129462c92ff864

Contents?: true

Size: 1.08 KB

Versions: 51

Compression:

Stored size: 1.08 KB

Contents

///
/// Editorial by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Image */

	.image {
		border-radius: _size(border-radius);
		border: 0;
		display: inline-block;
		position: relative;

		img {
			border-radius: _size(border-radius);
			display: block;
		}

		&.left,
		&.right {
			max-width: 40%;

			img {
				width: 100%;
			}
		}

		&.left {
			float: left;
			padding: 0 1.5em 1em 0;
			top: 0.25em;
		}

		&.right {
			float: right;
			padding: 0 0 1em 1.5em;
			top: 0.25em;
		}

		&.fit {
			display: block;
			margin: 0 0 _size(element-margin) 0;
			width: 100%;

			img {
				width: 100%;
			}
		}

		&.main {
			display: block;
			margin: 0 0 (_size(element-margin) * 1.5) 0;
			width: 100%;

			img {
				width: 100%;
			}
		}
	}

	a.image {
		overflow: hidden;

		img {
			@include vendor('transition', 'transform #{_duration(transition)} ease');
		}

		&:hover {
			img {
				@include vendor('transform', 'scale(1.075)');
			}
		}
	}

Version data entries

51 entries across 51 versions & 2 rubygems

Version Path
jekyll-theme-consulting-0.1.11 _sass/components/_image.scss
jekyll-theme-consulting-0.1.10 _sass/components/_image.scss
jekyll-theme-consulting-0.1.9 _sass/components/_image.scss
jekyll-theme-consulting-0.1.8 _sass/components/_image.scss
jekyll-theme-consulting-0.1.7 _sass/components/_image.scss
jekyll-theme-consulting-0.1.6 _sass/components/_image.scss
jekyll-theme-consulting-0.1.5 _sass/components/_image.scss
jekyll-theme-consulting-0.1.4 _sass/components/_image.scss
jekyll-theme-consulting-0.1.3 _sass/components/_image.scss
jekyll-theme-consulting-0.1.2 _sass/components/_image.scss
jekyll-theme-consulting-0.1.1 _sass/components/_image.scss