Sha256: ae87456f37cf30b89cc4a5b497a6ab8313d9de1870bc1d89cf83fb6b0e726c13

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

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

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

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

    // Buttons in Group
    .button {
        flex: 1;
        @include on-desktop {
            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

2 entries across 2 versions & 1 rubygems

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