/* 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: #2a00ff  }  /* string content */
  .kwd { color: #7f0055}  /* a keyword */
  .com { color: #3f5fbf  }  /* a comment */
  .typ { color: black; }  /* a type name */
/*  .lit { color: #066 }  /* a literal value */
  .lit { color: gray; }  /* 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: #2a00ff  }
  .kwd { color: #7f0055; font-weight: bold }
  .com { color: #3f5fbf; font-style: italic }
  .typ { color:  black; font-weight: bold }
  .lit { color: #044 }
  .pun, .opn, .clo { color: #440 }
  .tag { color: #006; font-weight: bold }
  .atn { color: #404 }
  .atv { color: #060 }
}

/* Put a border around prettyprinted code snippets. 原来的*/
pre.prettyprint { padding: 2px; border: 1px solid #888 }
/* Put a border around prettyprinted code snippets. 现在的*/
pre.prettyprint {  
 /*padding: 8px;  */
 background-color: #f7f7f9;  
 border: 1px solid #e1e1e8;  
 /*overflow: hidden; 2016年9月13日 00:32:54 为了改成和segmentfault一样*/
 margin-bottom: 10px;
}
pre ol.linenums{padding-left: 40px;}
pre ol.linenums > li{
	color:#bebec5;line-height:20px;text-shadow:0 1px 0 #fff;padding-bottom:1px;padding-top:1px;
    list-style: decimal !important;    }
pre{padding-top:10px;overflow:hidden}






/* Specify class=linenums on a pre to get line numbering */
/*ol.linenums { margin-top: 0; margin-bottom: 0 }  IE indents via margin-left */
/**增加的 开始*/
.prettyprint.linenums {  
 -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;  
 -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;  
 box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;  
}  
pre ol.linenums {  
 	margin:0;/*margin: 0 0 0 33px;把行号显示到前面去*/ /* IE indents via margin-left */  
}
ol.linenums li {  
 padding-left: 12px;  
 color: #bebec5;  
 line-height: 18px;  
 text-shadow: 0 1px 0 #fff;  
}
/**增加的结束始*/
/*
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 { list-style-type: none }
*/
/* Alternate shading for lines */
/*
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 { background: #eee }
2016年9月13日 00:32:54 为了改成和segmentfault一样*/

pre li:hover{ background: #eee}


/*2016年9月13日 00:32:54 为了改成和segmentfault一样  开始*/
 code,  pre {
    font-size: 0.93em;
}
 pre {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #f6f6f6;
    background-image: url("/tools/doc/images/blueprint.png");
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: 30px auto, 30px auto;
    border: medium none;
    line-height: 1.3;
   /* max-height: 40em; 不限制高度*/
    overflow: auto;
    padding: 1em;
    position: relative;
}
 pre code {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    font-size: 1em;
    white-space: inherit;
}
