<commit_before>/* ==========================================================================
   Capital Framework
   Base styles
   ========================================================================== */

//
// Webfont mixins
//
// WARNING: These mixins are deprecated and will be removed in CFv5 due to
// the implementation of family-linked webfonts in licensed-fonts.less.
// Projects should update themselves to use standard CSS font-style and
// font-weight properties from now on.
//
// TODO: Remove in CFv5.
//

.u-webfont-regular() {
    font-family: @webfont-regular, Arial, sans-serif;
    font-style: normal;
    font-weight: normal;

    & em,
    & i {
        .u-webfont-italic();
    }

    & strong,
    & b {
        .u-webfont-demi();
    }
}

.u-webfont-italic() {
    font-family: @webfont-italic, Arial, sans-serif;
    font-style: italic;
    font-weight: normal;

    .lt-ie9 & {
        font-style: normal !important;
    }
}

.u-webfont-medium() {
    font-family: @webfont-medium, Arial, sans-serif;
    font-style: normal;
    font-weight: 500;

    .lt-ie9 & {
        font-weight: normal !important;
    }
}

.u-webfont-demi() {
    font-family: @webfont-medium, Arial, sans-serif;
    font-style: normal;
    font-weight: 600;
    .lt-ie9 & {
        font-weight: normal !important;
    }
}

//
// Type hierarchy
//

body {
    color: @text;
    font-family: 'Avenir Next', Arial, sans-serif;
    font-size: unit( @base-font-size-px / 16 * 100, % );
    line-height: @base-line-height;
}

button,
input,
select,
textarea {
    // Must set these explicitly to override Normalize.css's provided default
    // of `font-family: sans-serif;`
    font-family: 'Avenir Next', Arial, sans-serif;
}

strong,
b {
    font-weight: 600;
}

.heading-1( @fs: @size-i ) {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: normal;
    line-height: 1.25;
}

.heading-2( @fs: @size-ii ) {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: normal;
    line-height: 1.25;
}

.heading-3( @fs: @size-iii )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: normal;
    line-height: 1.25;
}

.heading-4( @fs: @size-iv )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: 500;
    line-height: 1.25;
}

.heading-5( @fs: @size-v, @text-shadow: @text )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.25;
    text-shadow: 0px 0px @text-shadow;
    text-transform: uppercase;
}

.heading-6( @fs: @size-vi, @text-shadow: @text )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.25;
    text-shadow: 0px 0px @text-shadow;
    text-transform: uppercase;
}

// Resetting default browser styling for margin-top on headings
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h1,
.h1 {
    .heading-1();
<commit_msg>remove text-shadow in favor of font-weight to give demibold styling without extra weight in chrome<commit_after>/* ==========================================================================
   Capital Framework
   Base styles
   ========================================================================== */

//
// Webfont mixins
//
// WARNING: These mixins are deprecated and will be removed in CFv5 due to
// the implementation of family-linked webfonts in licensed-fonts.less.
// Projects should update themselves to use standard CSS font-style and
// font-weight properties from now on.
//
// TODO: Remove in CFv5.
//

.u-webfont-regular() {
    font-family: @webfont-regular, Arial, sans-serif;
    font-style: normal;
    font-weight: normal;

    & em,
    & i {
        .u-webfont-italic();
    }

    & strong,
    & b {
        .u-webfont-demi();
    }
}

.u-webfont-italic() {
    font-family: @webfont-italic, Arial, sans-serif;
    font-style: italic;
    font-weight: normal;

    .lt-ie9 & {
        font-style: normal !important;
    }
}

.u-webfont-medium() {
    font-family: @webfont-medium, Arial, sans-serif;
    font-style: normal;
    font-weight: 500;

    .lt-ie9 & {
        font-weight: normal !important;
    }
}

.u-webfont-demi() {
    font-family: @webfont-medium, Arial, sans-serif;
    font-style: normal;
    font-weight: 600;
    .lt-ie9 & {
        font-weight: normal !important;
    }
}

//
// Type hierarchy
//

body {
    color: @text;
    font-family: 'Avenir Next', Arial, sans-serif;
    font-size: unit( @base-font-size-px / 16 * 100, % );
    line-height: @base-line-height;
}

button,
input,
select,
textarea {
    // Must set these explicitly to override Normalize.css's provided default
    // of `font-family: sans-serif;`
    font-family: 'Avenir Next', Arial, sans-serif;
}

strong,
b {
    font-weight: 600;
}

.heading-1( @fs: @size-i ) {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: normal;
    line-height: 1.25;
}

.heading-2( @fs: @size-ii ) {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: normal;
    line-height: 1.25;
}

.heading-3( @fs: @size-iii )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: normal;
    line-height: 1.25;
}

.heading-4( @fs: @size-iv )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: 500;
    line-height: 1.25;
}

.heading-5( @fs: @size-v, @text-shadow: @text )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.25;
    text-transform: uppercase;
}

.heading-6( @fs: @size-vi, @text-shadow: @text )  {
    @font-size: @fs;

    margin-bottom: unit( 15px / @font-size, em );
    font-size: unit( @font-size / @base-font-size-px, em );
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.25;
    text-transform: uppercase;
}

// Resetting default browser styling for margin-top on headings
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h1,
.h1 {
    .heading-1();

{'fraction_non_alphanumeric': 0.20446911055936906, 'fraction_numerical': 0.022783700890901124, 'mean_word_length': 2.535363964894166, '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': '748628', 'n_tokens_mistral': 2713, 'n_tokens_neox': 2532, 'n_words': 596}