﻿
pre {
    border: solid 1px gray;
    padding: 7px; /*不要修改, 不然和hljs脚本的样式不一致, 会导致抖动*/
    overflow: auto;
} 

blockquote {
    border: solid 1px gray;
    padding: 5px;
    overflow: auto;
}

body {
    font-size: 16px;
}

em {
    color: red;
    font-style: normal;
}

/*16px以上建议使用微软雅黑, 但14px一下正文建议使用宋体*/
h1 {
    font-family: Tahoma,微软雅黑,宋体;
    font-size: 22px;
}

h2 {
    font-family: Tahoma,微软雅黑,宋体;
    font-size: 20px;
}

h3 {
    font-family: Tahoma,微软雅黑,宋体;
    font-size: 18px;
}

h4 {
    font-family: Tahoma,微软雅黑,宋体;
    font-size: 17px;
}

h5 {
    font-family: Tahoma,微软雅黑,宋体;
    font-size: 16px;
}

h6 {
    font-family: Tahoma,宋体;
    font-size: 15px;
} 


/************* highlightJs *************/
.hljs-header {
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
}


.hljs-bullet {
    color: blue;
}

.hljs-strong {
    font-weight: bold;
}

.hljs-link_label {
    color: darkviolet;
}

.hljs-link_url {
    text-decoration: underline;
    color: blue;
}

.hljs-blockquote {
    color: royalblue;
}

.hljs-code {
    color: blue;
}

/************* CodeMirror *************/

.CodeMirror {
    border: 1px solid #eee;
    width: auto;
    height: auto;
}

    .CodeMirror span.cm-header {
        font-weight: bold;
        line-height: 30px;
    }

    .CodeMirror span.cm-header-1 {
        font-size: 22px;
    }

    .CodeMirror span.cm-header-2 {
        font-size: 20px;
    }

    .CodeMirror span.cm-header-3 {
        font-size: 18px;
    }

    .CodeMirror span.cm-header-4 {
        font-size: 17px;
    }

    .CodeMirror span.cm-header-5 {
        font-size: 16px;
    }

    .CodeMirror span.cm-header-5 {
        font-size: 15px;
    }

    .CodeMirror span.cm-variable-2 {
        color: darkblue;
    }

    .CodeMirror span.cm-quote {
        color: brown;
    }

    .CodeMirror span.cm-comment {
        color: green;
    }

    .CodeMirror span.cm-atom {
        color: blue;
    }

    .CodeMirror span.cm-em {
        color: red;
        font-style: normal;
    }
