<commit_before>@import url('meta');

.__circleImg(@w){
    &.circle {
        border-radius: 50%;
        >img {
            border-radius: 50%;
        }
        &.landscape, &.portrait {
            overflow: hidden;
            width: @w * @padding/10;
            height: @w * @padding/10;
            >img {
                border-radius: 0;
                max-width: none;
                width: auto;
                height: 100%;
                margin-left: -1 * @w * @padding/40;
            }
        }
        &.portrait {
            >img {
                width: 100%;
                height: auto;
                margin: 0;
            }
        }
    }
}

.__calcImgSize(@size) {
    @_width: @padding * @size/10;
    width: @_width;
    &.circle {
        border-radius: @_width/2;
    }
}

.__imgSize(@group) when(@group = false) {
    & { .__calcImgSize(300); }
    &.mini { .__calcImgSize(22); }
    &.tiny { .__calcImgSize(35); }
    &.small { .__calcImgSize(60); }
    &.large { .__calcImgSize(450); }
    &.big { .__calcImgSize(600); }
    &.huge { .__calcImgSize(800); }
    &.massive { .__calcImgSize(860); }
}

.__imgSize(@group) when(@group = true) {
    & {<commit_msg>fix middle image size<commit_after>@import url('meta');

.__circleImg(@w){
    &.circle {
        border-radius: 50%;
        >img {
            border-radius: 50%;
        }
        &.landscape, &.portrait {
            overflow: hidden;
            width: @w * @padding/10;
            height: @w * @padding/10;
            >img {
                border-radius: 0;
                max-width: none;
                width: auto;
                height: 100%;
                margin-left: -1 * @w * @padding/40;
            }
        }
        &.portrait {
            >img {
                width: 100%;
                height: auto;
                margin: 0;
            }
        }
    }
}

.__calcImgSize(@size) {
    @_width: @padding * @size/10;
    width: @_width;
    &.circle {
        border-radius: @_width/2;
    }
}

.__imgSize(@group) when(@group = false) {
    &.middle { .__calcImgSize(300); }
    &.mini { .__calcImgSize(22); }
    &.tiny { .__calcImgSize(35); }
    &.small { .__calcImgSize(60); }
    &.large { .__calcImgSize(450); }
    &.big { .__calcImgSize(600); }
    &.huge { .__calcImgSize(800); }
    &.massive { .__calcImgSize(860); }
}

.__imgSize(@group) when(@group = true) {
    &.middle {
{'fraction_non_alphanumeric': 0.16363636363636364, 'fraction_numerical': 0.03553719008264463, 'mean_word_length': 1.3922924901185771, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '3254862', 'n_tokens_mistral': 886, 'n_tokens_neox': 811, 'n_words': 145}