felixarntz/theme-boilerplate

View on GitHub
assets/src/sass/typography/_copy.scss

Summary

Maintainability
Test Coverage
p {
    margin: 0 0 $spacing_vertical;
    padding: 0;
}

strong {
    font-weight: $font__weight-strong;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 0 $spacing_vertical;
    padding-left: $padding_horizontal;
    color: $color__text-quote;
    border-left: 4px solid $color__border-quote;

    cite,
    footer {
        @include font-size(0.85);

        margin-top: 1em;
        color: $color__text-quote-footer;
        font-style: normal;
    }
}

address {
    margin: 0 0 $spacing_vertical;
}

pre {
    @include font-size(0.9375);

    background: $color__background-pre;
    font-family: $font__pre;
    line-height: $font__line-height-pre;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    @include font-size(0.9375);

    font-family: $font__code;
}

abbr,
acronym {
    border-bottom: 1px dotted $color__border-abbr;
    cursor: help;
}

mark,
ins {
    background: $color__background-ins;
    text-decoration: none;
}

big {
    font-size: 125%;
}