105 lines
1.9 KiB
CSS
105 lines
1.9 KiB
CSS
pre.prettyprint * {
|
|
font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
|
|
}
|
|
|
|
pre.prettyprint {
|
|
white-space: pre-wrap;
|
|
white-space: -moz-pre-wrap;
|
|
white-space: -pre-wrap;
|
|
white-space: -o-pre-wrap;
|
|
word-wrap: break-word
|
|
}
|
|
|
|
code.prettyprint,pre.prettyprint {
|
|
padding: 18px;
|
|
background-color: #f7f7f9;
|
|
border: 1px solid #e1e1e8;
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
-o-border-radius: 3px;
|
|
-ms-border-radius: 3px;
|
|
-khtml-border-radius: 3px;
|
|
border-radius: 3px;
|
|
display: block
|
|
}
|
|
|
|
/*行号*/
|
|
code.prettyprint .linenums,pre.prettyprint .linenums {
|
|
/*
|
|
-webkit-box-shadow: inset 0px 0 0 #f7f7f9,inset 0px 0 0 #ececf0;
|
|
-moz-box-shadow: inset 0px 0 0 #f7f7f9,inset 0px 0 0 #ececf0;
|
|
box-shadow: inset 0px 0 0 #f7f7f9,inset 0px 0 0 #ececf0
|
|
*/
|
|
}
|
|
|
|
code.prettyprint ol.linenums,pre.prettyprint ol.linenums {
|
|
padding: 0 0 0 40px;
|
|
margin: 0;
|
|
}
|
|
|
|
code.prettyprint ol.linenums li,pre.prettyprint ol.linenums li {
|
|
padding-left: 0;
|
|
color: #bebec5;
|
|
line-height: 20px;
|
|
}
|
|
|
|
code.prettyprint .com,pre.prettyprint .com {
|
|
color: #93a1a1;
|
|
font-style: italic
|
|
}
|
|
|
|
code.prettyprint .lit,pre.prettyprint .lit {
|
|
color: #195f91
|
|
}
|
|
|
|
code.prettyprint .pun,pre.prettyprint .pun {
|
|
color: #93a1a1
|
|
}
|
|
|
|
code.prettyprint .opn,pre.prettyprint .opn {
|
|
color: #93a1a1
|
|
}
|
|
|
|
code.prettyprint .clo,pre.prettyprint .clo {
|
|
color: #93a1a1
|
|
}
|
|
|
|
code.prettyprint .fun,pre.prettyprint .fun {
|
|
color: #dc322f
|
|
}
|
|
|
|
code.prettyprint .str,pre.prettyprint .str {
|
|
color: #d14
|
|
}
|
|
|
|
code.prettyprint .atv,pre.prettyprint .atv {
|
|
color: #d14
|
|
}
|
|
|
|
code.prettyprint .kwd,pre.prettyprint .kwd {
|
|
color: #1e347b
|
|
}
|
|
|
|
code.prettyprint .tag,pre.prettyprint .tag {
|
|
color: #1e347b
|
|
}
|
|
|
|
code.prettyprint .typ,pre.prettyprint .typ {
|
|
color: #008080
|
|
}
|
|
|
|
code.prettyprint .atn,pre.prettyprint .atn {
|
|
color: #008080
|
|
}
|
|
|
|
code.prettyprint .dec,pre.prettyprint .dec {
|
|
color: #008080
|
|
}
|
|
|
|
code.prettyprint .var,pre.prettyprint .var {
|
|
color: #008080
|
|
}
|
|
|
|
code.prettyprint .pln,pre.prettyprint .pln {
|
|
color: #48484c
|
|
} |