.CodeMirror {
    height: 15rem;
    border-radius: 3px 3px 0 0;
    border: 1px solid #eee;
    padding: 0.2rem 0.3rem;
}

.night .cm-s-default.CodeMirror {
    background: #181a1b;
    background-color: #181a1b;
    color: #eee;
}

/***************************************************/

.upfiles{
    height: 1.9rem;
    line-height: 1.9rem;
    border: 1px solid #eee;
    padding-left: 0.5rem;
    cursor: pointer;
    color: #bbb;
}

.night .upfiles{
    background-color: #181a1b;
    border:1px solid #444;
    color: #444;
}

/***************************************************/

.formsetup{
    display: none;
}

.layui-colla-content .layui-form-item:first-child{
    margin-top: 5px;
}

.layui-colla-content .layui-form-item:last-child{
    margin-bottom: 5px;
}

.formats .layui-form-select {
    width: 7.5rem;
}

.night .layui-tab-card>.layui-tab-title .layui-this:after {
    border: 1px solid #444444;
    border-top: none;
}

table{
    width: 100%;
    color: #666 !important;
    margin-top: 10px;
    font-size: 0.6rem;
}

table tr td {
    padding: 10px 10px;
    border: 1px solid #ffc8ce;
}

table tr td:first-child {
    background-color: #f8fafe;
    width: 130px;
    color: #fe5668;
    background: #fff2f4;
    text-align: right;
    padding: 10px 5px;
}

table tr td:last-child{
    width:calc(100% - 130px);
}

table tr td strong{
    font-size: 0.66rem;
    line-height: 1.4rem;
    color: #222;
    font-weight: bold;
    font-size: 0.6rem;
}

table tr td code{
    color: #2196F3;
    font-size: 0.6rem;
}

.night table{
    color: #ddd !important;
}

.night table tr td:first-child {
    color: #fff;
    background: #000000;
}

.night table tr td {
    border: 1px solid #444;
}

table p{
    line-height: 1.2rem;
    font-size: 0.6rem;
}

.night table tr td strong {
    color:#eee;
    font-size: 0.6rem;
}

@media screen and (max-width: 1920px){
    .formats .layui-form-select {
        width: 100%;
    }
}

@media screen and (max-width: 640px){
    table tr td{
        width:calc(100% - 20px);
    }
    table tr td:first-child {
        width:20px;
        padding: 10px 5px 10px 10px;
    }
}

code[class*=language-], pre[class*=language-]{
    white-space: normal !important;
    word-spacing: unset !important;
    word-break: break-all !important;
    word-wrap: normal !important;
}