Sha256: cd02691aa003756e46bed683474e6417b111a580a80d630ff598b99467f18d06

Contents?: true

Size: 729 Bytes

Versions: 5

Compression:

Stored size: 729 Bytes

Contents

//==================================================================
// ALERTS
//==================================================================

@mixin alert($type, $fw-icon, $icon-weight: 900, $shadow: var(--dark)) {
    &.alert-#{$type} {
        display: flex;
        margin: 0.75rem 1.2rem;
        padding: 0.75rem 1.2rem;
        color: var(--alert-#{$type}-text);
        background-color: var(--alert-#{$type}-bg);
        border: 1px solid var(--alert-#{$type}-border);
        border-radius: 6px;
        @include box-shadow( 3px 3px 6px 6px $shadow, 0.5 );
        &::before {
            content: $fw-icon;
            color: var(--alert-#{$type}-icon);
            font-weight: $icon-weight;
        }
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redeyed-jekyll-theme-0.1.7 _sass/includes/components/_alert.scss
redeyed-jekyll-theme-0.1.6 _sass/includes/components/_alert.scss
redeyed-jekyll-theme-0.1.5 _sass/includes/components/_alert.scss
redeyed-jekyll-theme-0.1.4 _sass/includes/components/_alert.scss
redeyed-jekyll-theme-0.1.3 _sass/includes/components/_alert.scss