Sha256: 67640724d546b433608aafc6bcc5244e8810b3172751dab493fbc61da4bb07ce

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

.show-on-mobile {
    @include on-tablet {
        display: none !important;
    }
    @include on-desktop {
        display: none !important;
    }
}

.button-group {
    // Spacing
    margin: $spacing-3 0pt;

    // Flexbox
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    @include not-on-mobile {
        justify-content: flex-start;
    }

    // Buttons in Group
    .button {
        flex: 1;
        @include not-on-mobile {
            flex: 0 auto;
        }
    }
}

.button {
    // Spacing
    margin: 0pt $spacing-1;
    padding: $spacing-2 $spacing-3;
    
    // Text
    text-align: center;
    text-decoration: none;
    
    // Shape
    border: none;
    border-radius: 4pt;
    
    // Color
    @include with-theme {
        background-color: color-for(primary);
        color: color-for(text-on-primary);
    }
}

.icon-button {
    // Spacing and sizing
    margin: $spacing-1;
    padding: $spacing-2;
    font-size: $icon-font-size;
    
    // Align with center
    display: flex;
    align-items: center;
    justify-content: center;

    // Styling 
    background: none;
    border: none;
    @include with-theme {
        color: color-for(primary)
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-peaceful-gates-2.0.0 _sass/jekyll-theme-peaceful-gates/_button.scss