.api-section {
    position: relative;

    pre {
        white-space: pre-line;
    }

    table.api-table {
        min-width: 680px;
        
        tbody {
            pre {
                white-space: normal;
                margin: 4px;
                padding: 4px 16px;
            }

            td, th {
                padding: 0;
            }
        }

    }
}

.api-type-label {
    border-radius: 4px;
    padding: 4px 16px;
    background-color: $accentblue;
    display: inline;
    margin: 0 16px;

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

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

    label {
        font-size: 14px;
        color: white;
        font-weight: 500;
        text-transform: uppercase;
    }

}