Sha256: 709cd748e5a08bb6e4c8d05720272eefd5c070318ba7d3168cf60d2aae539656
Contents?: true
Size: 1.72 KB
Versions: 23
Compression:
Stored size: 1.72 KB
Contents
// ========================================================================== // Typographic styling classes // ========================================================================== // --- // WEIGHTS // --- .light { font-weight: $type-weight-light !important; } .normal { font-weight: $type-weight-normal !important; } .medium { font-weight: $type-weight-medium !important; } .bold { font-weight: $type-weight-bold !important; } // --- // STYLES // --- .italic { font-style: italic !important; } .roman { font-style: normal !important; } .underline { text-decoration: underline !important; } .no-underline { text-decoration: none !important; } .caps { text-transform: uppercase !important; } .title { text-transform: capitalize !important; } .strike { text-decoration: line-through !important; } // --- // KERNING // --- @each $key, $val in $kerning-scale { .kern#{$key} { letter-spacing: $val !important; } } // --- // EFFECTS // --- .wrap { white-space: normal !important; } .nowrap { white-space: nowrap !important; } .break { word-wrap: break-word !important; } .truncate { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } // --- // TYPOGRAPHIC ELEMENTS // --- // <ul> .list { list-style: disc outside !important; > li { margin-left: _rem(($base-rhythm * 2) + $base-rhythm-half); padding-left: _rem($base-rhythm-half); } } .nums { list-style: decimal inside !important; } // --- // HANG QUOTES // // Define starting and optional ending content to append/prepend with // `data-start-hang` and `data-end-hang` attributes // --- .hang { &:before { content: attr(data-start-hang); margin-left: -0.275em; } &:after { content: attr(data-end-hang); } }
Version data entries
23 entries across 23 versions & 1 rubygems