@ -1,14 +1,14 @@
#normal-code {
.linenumbers {
border-left: 1px solid #ccc;
margin-left: 36px;
position: relative;
}
#normal-code code {
.linenumbers code {
counter-reset: linenumbers;
#normal-code code div:before {
.linenumbers code div:before {
content: counter(linenumbers);
counter-increment: linenumbers;
left: -36px;
@ -12,4 +12,7 @@ for (var i = 0; i < lines.length; i++) {
codeb.appendChild(div);
};
var ncode = document.getElementById("normal-code");
ncode.className = "linenumbers";
// @license-end