Sha256: 8fd4782d17feed0468d93905f6b2d33466b161595562e971faf27bc8d77aae45

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

/**
 * @copyright   2010-2013, The Titon Project
 * @license     http://opensource.org/licenses/bsd-license.php
 * @link        http://titon.io
 */

@import "../common";

code,
var,
kbd,
pre {
    font: normal .8rem/115% Consolas, Monaco, 'Andale Mono', monospace;
}

code,
var,
kbd {
    display: inline-block;
    background: $gray-dark;
    border-radius: $round;
    padding: .2em .4em;
}

pre {
    padding: $padding;
    margin: $margin 0;
    background: $gray-light;
    border: 1px solid $gray-dark;
    text-align: left;
    direction: ltr;
    white-space: pre;
    word-spacing: normal;
    font-size: .9rem;
    overflow-x: auto;

    code {
        padding: 0;
        margin: 0;
        color: inherit;
        font: inherit;
        white-space: pre-wrap;
        background: transparent;
        border: none;
    }

    &.is-scrollable {
        max-height: 350px;
        overflow-y: auto;
    }
}

kbd {
    background: #fff;
    position: relative;
    border: 1px solid $gray-dark;
    border-top-color: $gray-dark;
    box-shadow: 0 2px 0 1px $gray-darkest;
    top: -3px;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
titon-toolkit-1.0.0 scss/toolkit/layout/code.scss
titon-toolkit-1.0.0.rc.3 scss/toolkit/layout/code.scss