Sha256: 50fd45c12125bb9afd8e11a686fd56b710cba8e15b6b2027573b27450ce8ec77

Contents?: true

Size: 672 Bytes

Versions: 4

Compression:

Stored size: 672 Bytes

Contents

 // Use small-cap alternate glyphs
.smallcaps {
    letter-spacing: 0.025em;
    font-variant: prince-opentype(smcp, onum);
    font-style: inherit;
    font-weight: inherit;
    line-height: 100%;
    &.italic {
        font-style: italic;
    }
    &.bold {
        font-weight: bold;
    }
}

// Convert both upper and lowercase to small caps (affects punctuation also)
.allsmallcaps { 
    letter-spacing: 0.025em;
    font-variant: prince-opentype(c2sc, smcp, onum);
    font-style: inherit;
    font-weight: inherit;
    line-height: 100%;
    &.italic {
        font-style: italic;
    }
    &.bold {
        font-weight: bold;
    }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
electric-book-classic-theme-0.1.3 _sass/partials/_print-smallcaps.scss
electric-book-classic-theme-0.1.2 _sass/partials/_print-smallcaps.scss
electric-book-classic-theme-0.1.1 _sass/partials/_print-smallcaps.scss
electric-book-classic-theme-0.1.0 _sass/partials/_print-smallcaps.scss