﻿main.vsdoc
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    word-break: break-all;

    section
    {
        display: block !important;
    }

    div
    {
        margin-bottom: 20px;
    }

        div.inheritance ul
        {
            list-style: none;
            margin-left: 0px;
        }

            div.inheritance ul > li::before
            {
                content: "↳";
                margin-right: 5px;
            }

    .table-scroll
    {
        overflow-x: auto;
        max-width: 100%;
    }

    table
    {
        min-width: 100%;
        border-collapse: collapse;
        font-size: 13px;
    }

        table th,
        table td
        {
            vertical-align: top;
            text-align: left;
            padding: 10px 12px;
            border: 1px solid var(--cui-border-color);
            min-width: 6rem;
            overflow-wrap: anywhere;
        }

        table th
        {
            background-color: var(--cui-color-neutral);
        }

        table td
        {
            background-color: var(--cui-column-bg-color) !important;
        }

    div.methods ul
    {
        list-style: none;
    }

    div.properties table,
    div.fields table,
    div.events table
    {
    }

    ul
    {
        margin: 0px;
        padding: 0px;
    }

        ul li.method > div
        {
            margin-left: 20px;
            padding-bottom: 10px;
        }

        ul li.method > h4.signature
        {
            background-color: var(--cui-color-neutral);
            color: var(--cui-color-primary-text);
            font-size: 1.3rem;
            font-weight: normal;
            font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
            margin-left: 0px;
            padding: 8px;
            margin-top: 10px;
            margin-bottom: 12px;
        }

            ul li.method > h4.signature b
            {
                color: var(--cui-color-on-surface);
                opacity: 0.6;
            }

            ul li.method > h4.signature i
            {
                opacity: 0.6;
            }

        ul li.method > div.summary
        {
            font-size: 16px;
        }

        ul li.method > div.returns
        {
            line-height: 20px;
        }

            ul li.method > div.returns i
            {
                font-weight: normal;
            }

    table td:last-child
    {
        width: 50%;
    }

    .properties:has(#properties:empty),
    .methods:has(#methods:empty),
    .fields:has(#fields:empty),
    .events:has(#events:empty),
    .inheritance:has(#inheritance:empty),
    .inherited:has(#inherited:empty)
    {
        display: none;
    }
}

@media screen and (max-width: 480px)
{
    main.vsdoc table td
    {
        width: 20%;
    }
}
