Sha256: 84b999689baa7751d1128aa46395e17ebf22eec78e45d873ee8c21317bfd0af0

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

@include normalize-version('Typography');

// ==========================================================================
// Typography
// ==========================================================================

// Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
// Safari 5, and Chrome.

h1 {
    font-size: 2em;
}

// Addresses styling not present in IE 8/9, Safari 5, and Chrome.

abbr[title] {
    border-bottom: 1px dotted;
}

// Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.

b,
strong {
    font-weight: bold;
}

// Addresses styling not present in Safari 5 and Chrome.

dfn {
    font-style: italic;
}

// Addresses styling not present in IE 8/9.

mark {
    background: #ff0;
    color: #000;
}

// Corrects font family set oddly in Safari 5 and Chrome.

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

// Improves readability of pre-formatted text in all browsers.

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

// Sets consistent quote types.

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

// Addresses inconsistent and variable font size in all browsers.

small {
    font-size: 80%;
}

// Prevents `sub` and `sup` affecting `line-height` in all browsers.

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compass-normalize-1.3 stylesheets/normalize/_typography.scss