view static/css/code.less @ 213:6f285552a9d0 default tip

Remove requirement to be logged in to see comments
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 16 Jan 2014 10:59:05 -0500
parents d14822d10833
children
line wrap: on
line source

.snippet {
    width: 670px;
    font-family: monospace;
    position: relative;

    .code-lines {
        position: relative;
        left: 40px;
        padding: 10px;
        border: 1px solid @lightGrey;
        .border-radius(7px);

        .line {
            white-space: pre-wrap;
            word-wrap: break-word;
        }
    }

    .line-counters {
        position: absolute;
        top: 0;
        font-weight: bold;

        p {
            width: 30px;
            text-align: right;
            position: absolute;
        }
    }
}