fixed css for line numbers in code views

This commit is contained in:
hyung-hwan 2011-12-15 14:48:10 +00:00
parent f2c7155bbd
commit 7908b2566a

View File

@ -345,6 +345,16 @@ pre.prettyprint .nocode a:hover {
background-color: #BBCCDD; background-color: #BBCCDD;
} }
/* Specify class=linenums on a pre to get line numbering */
pre.prettyprint ol.linenums {
margin-top: 0;
margin-bottom: 0;
margin-left: 1em;
list-style-position: outside;
color: #7E7EAE;
} /* IE indents via margin-left */
@media print { @media print {
pre.prettyprint .str { color: #060; } pre.prettyprint .str { color: #060; }
pre.prettyprint .kwd { color: #006; font-weight: bold; } pre.prettyprint .kwd { color: #006; font-weight: bold; }