Sha256: d84b68586b841e2f6a2c9ab939357b04170168e5947896d6334a226e69588171

Contents?: true

Size: 877 Bytes

Versions: 10

Compression:

Stored size: 877 Bytes

Contents

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

/* Icon */

	.icon {
		@include icon;
		border-bottom: none;
		position: relative;

		> .label {
			display: none;
		}

		&.alt {
			&:before {
				background-color: _palette(fg-bold);
				border-radius: 100%;
				color: _palette(bg);
				display: inline-block;
				height: 2em;
				line-height: 2em;
				text-align: center;
				width: 2em;
			}
		}
	}

	a.icon {
		&.alt {
			&:before {
				@include vendor('transition', 'background-color #{_duration(transition)} ease-in-out');
			}

			&:hover {
				&:before {
					background-color: _palette(accent1);
				}
			}

			&:active {
				&:before {
					background-color: desaturate(darken(_palette(accent1), 15), 5);
				}
			}
		}
	}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fortyone-jekyll-theme-1.2.3 _sass/components/_icon.scss
fortyone-jekyll-theme-1.2.2 _sass/components/_icon.scss
fortyone-jekyll-theme-1.2.1 _sass/components/_icon.scss
fortyone-jekyll-theme-1.2.0 _sass/components/_icon.scss
fortyone-jekyll-theme-1.1.0 _sass/components/_icon.scss
fortyone-jekyll-theme-1.0.4 _sass/components/_icon.scss
fortyone-jekyll-theme-1.0.3 _sass/components/_icon.scss
fortyone-jekyll-theme-1.0.2 _sass/components/_icon.scss
fortyone-jekyll-theme-1.0.1 _sass/components/_icon.scss
fortyone-jekyll-theme-1.0.0 _sass/components/_icon.scss