添加了Blogger中源代码显示的CSS


CODE {
display : block;
white-space : pre;
background:#EEEEEE none repeat scroll 0 0;
border:1px solid #CCCCCC;
color:#000000;
font-family:'lucida console',fixed,monospace,terminal,couriernew,courier;
font-size:11px;
line-height:1em;
margin:2px 2px 6px;
overflow-x:auto;
overflow-y:hidden;
padding:2px;
}
CODE:first-line { line-height : 0; }


第二种

pre.source-code {
font-family : Andale Mono, Lucida Console, Monaco, fixed, monospace;
color : #000;
background-color : #eee;
font-size : 12px;
border : 1px dashed #999999;
line-height : 14px;
padding : 5px;
overflow : auto;
width : 100%;
text-indent : 0px;
}

0 Responses to "添加了Blogger中源代码显示的CSS"