pre.prettyprint {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 0px;
    margin-left: 0px;
/*margin:20 0 7px 0;*/
/*margin:20 0 5px 0;*/
/*background:#f9f9f9;*/
    background: rgb(249,249,249);
    font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
    height: auto;
/*max-height:650px;*/
    width: auto;
    overflow: auto;
    table-layout: fixed;
    white-space: pre-wrap;
 /* css-3 */
    white-space: -moz-pre-wrap;
 /* Mozilla, since 1999 */
    white-space: -pre-wrap;
 /* Opera 4-6 */
    white-space: -o-pre-wrap;
 /* Opera 7 */
    word-wrap: break-word;
 /* Internet Explorer 5.5+ */
/*white-space:pre-wrap;*/
/*word-wrap:break-word;*/
    padding-left: 0px;
    -moz-border-radius: 3px;      /* Gecko browsers */
    -webkit-border-radius: 3px;   /* Webkit browsers */
    border-radius:3px;            /* W3C syntax */
}
/* Pretty printing styles. Used with prettify.js. */

/* SPAN elements with the classes below are added by prettyprint. */
.pln {
    color: #000;
}  /* plain text */

@media screen {
    .str {
        color: #080;
    }  /* string content */
    .kwd {
        color: #008;
    }  /* a keyword */
    .com {
        color: #800;
    }  /* a comment */
    .typ {
        color: #606;
    }  /* a type name */
    .lit {
        color: #066;
    }  /* a literal value */
  /* punctuation, lisp open bracket, lisp close bracket */
    .pun, .opn, .clo {
        color: #660;
    }

    .tag {
        color: #008;
    }  /* a markup tag name */
    .atn {
        color: #606;
    }  /* a markup attribute name */
    .atv {
        color: #080;
    }  /* a markup attribute value */
    .dec, .var {
        color: #606;
    }  /* a declaration; a variable name */
    .fun {
        color: red;
    }  /* a function name */;
}

/* Use higher contrast and text-weight for printable form. */
@media print, projection {
    .str {
        color: #060;
    }

    .kwd {
        color: #006;
        font-weight: bold;
    }

    .com {
        color: #600;
        font-style: italic;
    }

    .typ {
        color: #404;
        font-weight: bold;
    }

    .lit {
        color: #044;
    }

    .pun, .opn, .clo {
        color: #440;
    }

    .tag {
        color: #006;
        font-weight: bold;
    }

    .atn {
        color: #404;
    }

    .atv {
        color: #060;
    }
}

pre.prettyprint {
    background: #eee;
    border: 1px solid #aaa;
    padding-left: 0px;
}

ol.linenums {
    margin-top: 0px;
    margin-bottom: 0px;
    /*height:100%;*/
    padding-top: 0px;
    padding-bottom: 0px;
    /*background: #fafafa;*/

    /* IE8 IE9 */
    padding-top: 0px\0;
    padding-bottom: 0px\0;
}


/* Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    ol.linenums {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/* Firefox */
@-moz-document url-prefix() {
    ol.linenums {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

pre.prettyprint ol.linenums li {
    background: #fafafa;
    font-size: 12px;
    line-height: 150%;
    padding-right: 10px;
    padding-left: 10px;
    border-left: 2px solid #6ce26c;
}

/* 代码高亮 */
pre.prettyprint ol.linenums li.liHighlight{
    background-color:#cfc;
}


