﻿#code {
    background-color: #1E1E1E;
    color: #DCDCAA;
    border: solid 1px #aaa;
    border-radius: 4px;
    padding: 4px;
}

    #code, #code .blob-lines {
        word-wrap: normal;
        white-space: nowrap;
        overflow: auto;
        overflow-wrap: break-word;
        margin: 0;
    }

        #code .blob-lines {
            border: 0;
        }

            #code .blob-lines td {
                border: 0;
                padding: 2px 0 2px 0;
                line-height: 1;
                font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
                font-size: 13px;
            }

        #code td.blob-num {
            user-select: none;
            text-align: right;
            padding-right: 10px;
            color: #aaa;
            max-width: 64px;
        }

.blob-num::before {
    content: attr(data-line-number)
}

#code .Class, #code .t {
    color: #4EC9B0;
}

#code .Comment, #code .c {
    color: #79ae63;
}

#code .Keyword, #code .k {
    color: #9CDCFE;
}

#code .DocComment, #code .dc {
    color: #608b4e;
}

#code .String, #code .s {
    color: #ce9178;
}

#code .StringCode, #code .sc {
    color: #ce9178;
    font-weight: bold;
}

#code .Variable, #code .v {
    color: #43AEC6;
}

#code .Number, #code .n {
    color: #b5cea8;
}

#code .ScriptTags, #code .st {
    background-color: yellow;
    color: black;
}

#code .Operator, #code .o {
}

#code .Text, #code .x {
}

#code .Identifier, #code .i {
}

#code .Delimiter, #code .d {
}

#code .underline, #code .error {
    background: url(redwave.gif) bottom repeat-x;
}

#code .warn {
    background: url(greenwave.gif) bottom repeat-x;
}

#tooltip {
    position: absolute;
    z-index: 999999;
    display: none;
    padding: 8px;
    border: solid 1px #aaa;
    background-color: #eee;
    font-size: 12px;
    margin: 0;
    font-family: 'Segoe UI';
    color: black;
    border-radius: 2px;
}

    #tooltip summary {
        font-style: italic;
        display: inline;
    }

    #tooltip returns::before {
        content: "returns: "
    }

    #tooltip remarks::before {
        content: "remarks: "
    }

    #tooltip see::before {
        content: attr(cref)
    }

    #tooltip paramref::before {
        content: " $" attr(name)
    }

    #tooltip .method_header {
        background: url(icon_method.png) left center no-repeat;
        padding-left:24px;
    }

    #tooltip .ns_header {
        background: url(icon_ns.png) left center no-repeat;
        padding-left: 24px;
    }

    #tooltip .type_header {
        background: url(icon_class.png) left center no-repeat;
        padding-left: 24px;
    }

    #tooltip .var_header {
        background: url(icon_var.png) left center no-repeat;
        padding-left: 24px;
    }

    #tooltip .const_header {
        background: url(icon_const.png) left center no-repeat;
        padding-left: 24px;
    }

    #tooltip .err_diagnostic {
        background: url(icon_err.png) left center no-repeat;
        padding-left: 24px;
        font-weight: bold;
    }
    #tooltip .warn_diagnostic {
        background: url(icon_warn.png) left center no-repeat;
        padding-left: 24px;
        font-weight: bold;
    }
    #tooltip .info_diagnostic {
        background: url(icon_info.png) left center no-repeat;
        padding-left: 24px;
        font-weight:bold;
    }

    #tooltip .Class, #tooltip .t {
        color: #43AEC6;
    }
    #tooltip .Keyword, #tooltip .k {
        color: blue;
    }
    #tooltip .Variable, #tooltip .v {
        color: darkcyan;
    }