<commit_before>@h1-font-size: 3em;
@h2-font-size: 2.5em;
@h3-font-size: 2em;
@h4-font-size: 1.5em;
@h5-font-size: 1.25em;
@h6-font-size: 1em;

@h1-font-size-small: 2.5em ;
@h2-font-size-small: 2em;
@h3-font-size-small: 1.5em;
@h4-font-size-small: 1.25em;
@h5-font-size-small: 1.1em;
@h6-font-size-small: 1em;

@header-margin-top-factor : 1/6; 
@header-margin-bottom-factor: 1/12;

.lean-body{
    h*{ line-height: 1.4; }
    .generate-headings(@i: 1) when (@i <= 6){
        @part: "h@{i}-font-size";
        @fs:  @@part; 
        h@{i}{
            font-size: @fs;
            margin-top: @fs*@header-margin-top-factor; 
            margin-bottom: @fs*@header-margin-bottom-factor;
        }
        .generate-headings((@i+1));
    }
    .generate-headings-small(@i: 1) when (@i <= 6){
        @part: "h@{i}-font-size-small";
        @fs: @@part;
        h@{i}{
            font-size: @fs;
            margin-top: @fs*@header-margin-top-factor; 
            margin-bottom: @fs*@header-margin-bottom-factor;
        }
        .generate-headings-small((@i+1));
    }
    .generate-headings();
    // Mobile and small screens
    @media only screen and (max-width: 64em) {
        & when(@small-headings-on = true){
            .generate-headings-small();
            .lean-hn{ line-height: 1.4; }
        };
    }
}<commit_msg>fix line-height for small screens<commit_after>@h1-font-size: 3em;
@h2-font-size: 2.5em;
@h3-font-size: 2em;
@h4-font-size: 1.5em;
@h5-font-size: 1.25em;
@h6-font-size: 1em;

@h1-font-size-small: 2.5em ;
@h2-font-size-small: 2em;
@h3-font-size-small: 1.5em;
@h4-font-size-small: 1.25em;
@h5-font-size-small: 1.1em;
@h6-font-size-small: 1em;

@header-margin-top-factor : 1/6; 
@header-margin-bottom-factor: 1/12;

.lean-body{
    h*{ line-height: 1.4; }
    .generate-headings(@i: 1) when (@i <= 6){
        @part: "h@{i}-font-size";
        @fs:  @@part; 
        h@{i}{
            font-size: @fs;
            margin-top: @fs*@header-margin-top-factor; 
            margin-bottom: @fs*@header-margin-bottom-factor;
        }
        .generate-headings((@i+1));
    }
    .generate-headings-small(@i: 1) when (@i <= 6){
        @part: "h@{i}-font-size-small";
        @fs: @@part;
        h@{i}{
            font-size: @fs;
            margin-top: @fs*@header-margin-top-factor; 
            margin-bottom: @fs*@header-margin-bottom-factor;
        }
        .generate-headings-small((@i+1));
    }
    .generate-headings();
    // Mobile and small screens
    @media only screen and (max-width: 64em) {
        h*{ line-height: 1.3; }
        & when(@small-headings-on = true){
            .generate-headings-small();
        };
    }
}
{'fraction_non_alphanumeric': 0.20270270270270271, 'fraction_numerical': 0.03753753753753754, 'mean_word_length': 2.0916473317865427, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1966096', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1073, 'n_words': 170}