<commit_before>// ELEMENT STYLES NOT COVERED BY NORMALIZE
// --------------------------------------------------------------------
// Defaults
$selection-bg:  #b3d4fc !default;
$hint-bg:       $silver !default;
$hint-fg:       $off-black !default;


::selection {
    background: $selection-bg;
    text-shadow: none;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0;
}

table {
    margin: $type-rhythm 0;
    width: 100%;

    caption {
        text-align: center;
    }
}

caption,
th {
    text-align: left;
}

li {
    ul,
    ol {
        margin: 0;
    }
}

pre code {
    font-size: 1em;
}

hr {
    border: 0;
    border-top: 1px solid $silver;
    display: block;
    height: 1px;
    margin: 1.5rem 0;
    padding: 0;
}

summary {
    cursor: pointer;
}

// Remove the gap between images and the bottom of their containers
img {
    vertical-align: middle;
}

// mattstow.com/responsive-design-in-ie10-on-windows-phone-8.html
@-ms-viewport {
    width: device-width;
}


// BASIC TYPOGRAPHY
// --------------------------------------------------------------------
%primary-font {
    font-family: $primary-font;
}

html {
    font-size: 100%;
}

body {
    font-family: serif;

    .fonts-loaded & {
        @extend %primary-font;
    }
}

@if $use-form-styles {
    button,
    input,
    select,
    textarea {
        @extend %primary-font;
    }
}

@if $use-form-advanced {
    optgroup {
        @extend %primary-font;
    }
}

body {
    line-height: $type-height;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: $type-rhythm 0;
}

h5,
h6 {
    font-size: 1rem;
}

pre,
code,
samp,
kbd {
    font-size: .875rem;
}


// QUOTES
// html5doctor.com/blockquote-q-cite/
// --------------------------------------------------------------------
q {
    quotes: '“' '”' '‘' '’';
}

:lang(de) q {
    quotes: '„' '“' '‚' '‘';
}


// HYPHENATION
// --------------------------------------------------------------------
p {
    hyphens: auto;

    // not for preformatted text (inline)
    code,<commit_msg>Fix font-sizing cascade for preformatted text<commit_after>// ELEMENT STYLES NOT COVERED BY NORMALIZE
// --------------------------------------------------------------------
// Defaults
$selection-bg:  #b3d4fc !default;
$hint-bg:       $silver !default;
$hint-fg:       $off-black !default;


::selection {
    background: $selection-bg;
    text-shadow: none;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0;
}

table {
    margin: $type-rhythm 0;
    width: 100%;

    caption {
        text-align: center;
    }
}

caption,
th {
    text-align: left;
}

li {
    ul,
    ol {
        margin: 0;
    }
}

hr {
    border: 0;
    border-top: 1px solid $silver;
    display: block;
    height: 1px;
    margin: 1.5rem 0;
    padding: 0;
}

summary {
    cursor: pointer;
}

// Remove the gap between images and the bottom of their containers
img {
    vertical-align: middle;
}

// mattstow.com/responsive-design-in-ie10-on-windows-phone-8.html
@-ms-viewport {
    width: device-width;
}


// BASIC TYPOGRAPHY
// --------------------------------------------------------------------
%primary-font {
    font-family: $primary-font;
}

html {
    font-size: 100%;
}

body {
    font-family: serif;

    .fonts-loaded & {
        @extend %primary-font;
    }
}

@if $use-form-styles {
    button,
    input,
    select,
    textarea {
        @extend %primary-font;
    }
}

@if $use-form-advanced {
    optgroup {
        @extend %primary-font;
    }
}

body {
    line-height: $type-height;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: $type-rhythm 0;
}

h5,
h6 {
    font-size: 1rem;
}

pre {
    font-size: .875rem;
}

code,
samp,
kbd {
    font-size: .875em;

    pre & {
        font-size: 1em;
    }
}


// QUOTES
// html5doctor.com/blockquote-q-cite/
// --------------------------------------------------------------------
q {
    quotes: '“' '”' '‘' '’';
}

:lang(de) q {
    quotes: '„' '“' '‚' '‘';
}


// HYPHENATION
// --------------------------------------------------------------------
p {
    hyphens: auto;

    // not for preformatted text (inline)
    code,
{'fraction_non_alphanumeric': 0.27208047105004907, 'fraction_numerical': 0.018400392541707555, 'mean_word_length': 1.392605633802817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6860445', 'n_tokens_mistral': 1538, 'n_tokens_neox': 1472, 'n_words': 311}