Sha256: 8e27b31175745eb6ce607bd4211e9548a38524c690dce42a3c2a3667cf1b941b

Contents?: true

Size: 1.85 KB

Versions: 12

Compression:

Stored size: 1.85 KB

Contents

/* Icon */

.icon {
    @include icon;
    position: relative;

    &.circle {
        @include vendor('transition', 'all 0.2s ease-in-out');
        border: 0;
        border-radius: 100%;
        display: inline-block;
        font-size: 1.25em;
        height: 2.25em;
        left: 0;
        line-height: 2.25em;
        text-align: center;
        text-decoration: none;
        top: 0;
        width: 2.25em;

        &:hover {
            top: -0.2em;
        }

        &.fa-twitter {
            background: _palette(twitter, bg);
            color: _palette(twitter, fg);

            &:hover {
                background: lighten(_palette(twitter, bg), 4);
            }
        }

        &.fa-facebook {
            background: _palette(facebook, bg);
            color: _palette(facebook, fg);

            &:hover {
                background: lighten(_palette(facebook, bg), 4);
            }
        }

        &.fa-google-plus {
            background: _palette(google-plus, bg);
            color: _palette(google-plus, fg);

            &:hover {
                background: lighten(_palette(google-plus, bg), 4);
            }
        }

        &.fa-github {
            background: _palette(github, bg);
            color: _palette(github, fg);

            &:hover {
                background: lighten(_palette(github, bg), 4);
            }
        }

        &.fa-dribbble {
            background: _palette(dribbble, bg);
            color: _palette(dribbble, fg);

            &:hover {
                background: lighten(_palette(dribbble, bg), 4);
            }
        }
    }

    &.featured {
        cursor: default;
        display: block;
        margin: 0 0 1.5em 0;
        opacity: 0.35;
        text-align: center;

        &:before {
            font-size: 5em;
            line-height: 1em;
        }
    }

    > .label {
        display: none;
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

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