.line-numbers .line-numbers-rows {
    position: absolute;
    pointer-events: none;
    top: 0;
    font-size: 100%;
    left: -5.3em;
    width: 5em;
    letter-spacing: -1px;
    border-right: 1px solid #999;

    -webkit-user-select: none;
    user-select: none;
}

.line-numbers-rows > span {
    display: block;
    counter-increment: linenumber;
}

.line-numbers-rows > span:before {
    content: counter(linenumber);
    color: #999;
    display: block;
    padding-right: 0.3em; /* padding right of line numbers */
    text-align: right;
}
