Sha256: 6c00107f53e43c695c31d04d343a98512cf5a66fc493b707a14fb8acd7470bb5

Contents?: true

Size: 986 Bytes

Versions: 3

Compression:

Stored size: 986 Bytes

Contents

/**
 * @copyright	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: 2px;
	padding: 2px 4px;
}

pre {
	padding: $padding;
	margin: $margin 0;
	background: $gray-light;
	border: 1px solid $gray-dark;
	border-radius: 3px;
	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;
	}

	&.code--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

3 entries across 3 versions & 1 rubygems

Version Path
titon-toolkit-0.9.4 src/scss/toolkit/layout/code.scss
titon-toolkit-0.9.3 src/scss/toolkit/layout/code.scss
titon-toolkit-0.9.2 src/scss/toolkit/layout/code.scss