<commit_before>label.raised, .api-header label {
    border-radius: 4px;
    padding: 4px 16px;
    display: inline;
    font-size: 14px;
    color: white;
    margin-right: 8px;
    font-weight: 500;
    text-transform: uppercase;

    @media screen and (max-width: 600px) {
        display: block;
        margin: 8px 0;
    }

    &.page-label {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background-color: $mist;
        color: $mediumgray;
        margin-bottom: 8px;
        width: 140px;

        .material-icons {
            margin-right: 8px;
        }
    }

    &.property-type-label {
        font-size: 12px;
        background-color: $darkgray;
        color: $white;
        text-transform: none;
    }
}

.api-header label {

    // The API badges should be a little smaller
    padding: 2px 10px;
    font-size: 12px;

    @media screen and (max-width: 600px) {
        margin: 4px 0;
    }

    &.api-status-label {
        background-color: $mediumgray;

        &.impure-pipe {
            background-color: $brightred;
        }
    }

    &.api-type-label {
        background-color: $accentgrey;

        @each $name, $symbol in $api-symbols {
            &.#{$name} {
                background: map-get($symbol, background);
            }
        }

    }
}<commit_msg>docs(UI): Spacing Between Heading and Badges (#4018)<commit_after>label.raised, .api-header label {
    border-radius: 4px;
    padding: 4px 16px;
    display: inline;
    font-size: 14px;
    color: white;
    margin-right: 8px;
    font-weight: 500;
    text-transform: uppercase;

    @media screen and (max-width: 600px) {
        display: block;
        margin: 8px 0;
    }

    &.page-label {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background-color: $mist;
        color: $mediumgray;
        margin-bottom: 8px;
        width: 140px;

        .material-icons {
            margin-right: 8px;
        }
    }

    &.property-type-label {
        font-size: 12px;
        background-color: $darkgray;
        color: $white;
        text-transform: none;
    }
}

.api-header {

    margin-right: 10px;

    label {

        // The API badges should be a little smaller
        padding: 2px 10px;
        font-size: 12px;

        @media screen and (max-width: 600px) {
            margin: 4px 0;
        }

        &.api-status-label {
            background-color: $mediumgray;

            &.impure-pipe {
                background-color: $brightred;
            }
        }

        &.api-type-label {
            background-color: $accentgrey;

            @each $name, $symbol in $api-symbols {
                &.#{$name} {
                    background: map-get($symbol, background);
                }
            }

        }
    }
}
{'fraction_non_alphanumeric': 0.11876075731497418, 'fraction_numerical': 0.024096385542168676, 'mean_word_length': 1.5313588850174216, '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': '7545675', 'n_tokens_mistral': 1007, 'n_tokens_neox': 898, 'n_words': 208}