/* Copyright (C) 2016 NooBaa */

@import (less) 'src/lib/prism-tomorrow.css';

code-viewer {
    overflow: hidden;
    > pre {
        margin: 0;
        max-height: 100%;
        min-height: 100%;
        padding-left: 0 !important;
        counter-reset: line;
    }

    .codeline::before {
        counter-increment: line;
        content: counter(line);
        display: inline-block;
        color: rgb(var(--color12));
        border-right: 1px solid rgb(var(--color12));
        padding: 0 .8em;
        margin-right: 1em;
        min-width: 24px;
        text-align: right;
    }
}
