updated styles of code views

This commit is contained in:
hyung-hwan 2014-05-26 01:59:28 +00:00
parent 2fc504b47f
commit f50ad4c3e1

View File

@ -315,35 +315,33 @@ body {
.content .mainarea pre.prettyprint { .content .mainarea pre.prettyprint {
/* anything that make prettyprint area different from other pres? */ /* anything that make prettyprint area different from other pres? */
background-color: #FFFFFF; /*background-color: #FFFFFF;*/
background: white;
font-size: 12px;
line-height: 1.5;
border: 1px solid #ccc;
padding: 10px;
tab-size: 5;
-moz-tab-size: 5;
-o-tab-size: 5;
} }
pre.prettyprint .str { color: #080; } pre.prettyprint .pln { color: #222222; }
pre.prettyprint .kwd { color: #008; } pre.prettyprint .str { color: #AA1111; }
pre.prettyprint .com { color: #800; } pre.prettyprint .kwd { color: #2222ff; }
pre.prettyprint .typ { color: #606; } pre.prettyprint .com { color: #888a88; font-style: italic; }
pre.prettyprint .lit { color: #066; } pre.prettyprint .typ { color: #4271ae; }
pre.prettyprint .pun { color: #660; } pre.prettyprint .lit { color: #f5871f; }
pre.prettyprint .pln { color: #000; } pre.prettyprint .pun { color: #4d4d4c; }
pre.prettyprint .tag { color: #008; } pre.prettyprint .opn { color: #4d4d4c; }
pre.prettyprint .atn { color: #606; } pre.prettyprint .clo { color: #4d4d4c; }
pre.prettyprint .atv { color: #080; } pre.prettyprint .tag { color: #c82829; }
pre.prettyprint .dec { color: #606; } pre.prettyprint .atn { color: #f5871f; }
pre.prettyprint .nocode { pre.prettyprint .atv { color: #3e999f; }
border-right: 1px solid #BBCCDD; pre.prettyprint .dec { color: #f5871f; }
color: #8888FF; pre.prettyprint .var { color: #c82829; }
} pre.prettyprint .fun { color: #4271ae; }
pre.prettyprint .nocode a,
pre.prettyprint .nocode a {
text-decoration: none;
color: #4444FF;
}
pre.prettyprint .nocode a:hover,
pre.prettyprint .nocode a:hover {
background-color: #BBCCDD;
}
/* Specify class=linenums on a pre to get line numbering */ /* Specify class=linenums on a pre to get line numbering */
pre.prettyprint ol.linenums { pre.prettyprint ol.linenums {
@ -354,28 +352,41 @@ pre.prettyprint ol.linenums {
color: #7E7EAE; color: #7E7EAE;
} /* IE indents via margin-left */ } /* IE indents via margin-left */
/*
pre.prettyprint li.L0,
pre.prettyprint li.L1,
pre.prettyprint li.L2,
pre.prettyprint li.L3,
pre.prettyprint li.L5,
pre.prettyprint li.L6,
pre.prettyprint li.L7,
pre.prettyprint li.L8 { list-style-type: none }
*/
/* Alternate shading for lines */
/*
pre.prettyprint li.L1,
pre.prettyprint li.L3,
pre.prettyprint li.L5,
pre.prettyprint li.L7,
pre.prettyprint li.L9 { background: #eee }
*/
@media print { @media print {
pre.prettyprint .str { color: #060; } pre.prettyprint .pln { color: #222222; }
pre.prettyprint .kwd { color: #006; font-weight: bold; } pre.prettyprint .str { color: #AA1111; }
pre.prettyprint .com { color: #600; font-style: italic; } pre.prettyprint .kwd { color: #2222ff; font-weight: bold; }
pre.prettyprint .typ { color: #404; font-weight: bold; } pre.prettyprint .com { color: #888a88; font-style: italic; }
pre.prettyprint .lit { color: #044; } pre.prettyprint .typ { color: #4271ae; font-weight: bold; }
pre.prettyprint .pun { color: #440; } pre.prettyprint .lit { color: #f5871f; }
pre.prettyprint .pln { color: #000; } pre.prettyprint .pun { color: #4d4d4c; }
pre.prettyprint .tag { color: #006; font-weight: bold; } pre.prettyprint .opn { color: #4d4d4c; }
pre.prettyprint .atn { color: #404; } pre.prettyprint .clo { color: #4d4d4c; }
pre.prettyprint .atv { color: #060; } pre.prettyprint .tag { color: #c82829; font-weight: bold; }
pre.prettyprint .nocode a, pre.prettyprint .atn { color: #f5871f; }
pre.prettyprint .nocode a { pre.prettyprint .atv { color: #3e999f; }
text-decoration: none; pre.prettyprint .dec { color: #f5871f; }
color: #4444FF; pre.prettyprint .var { color: #c82829; }
} pre.prettyprint .fun { color: #4271ae; }
pre.prettyprint .nocode a:hover,
pre.prettyprint .nocode a:hover {
background-color: #BBCCDD;
}
} }
.content .infostrip { .content .infostrip {
@ -413,7 +424,8 @@ pre.prettyprint ol.linenums {
display:block; display:block;
overflow: auto; overflow: auto;
background: #E5ECF9 none repeat scroll 0 0; /*background: #E5ECF9 none repeat scroll 0 0;*/
background: #EEEEEE none repeat scroll 0 0;
border: #D4DBE8 1px solid; border: #D4DBE8 1px solid;
/* background: #DDDDDD none repeat scroll 0 0; /* background: #DDDDDD none repeat scroll 0 0;
border: #CCCCCC 1px solid; */ border: #CCCCCC 1px solid; */