Sha256: b11b84ed3ac80ad2416a75b7f8594313b5d2ccb9d4d9d9ee16422d2528954a49

Contents?: true

Size: 761 Bytes

Versions: 3

Compression:

Stored size: 761 Bytes

Contents

//
// Code (inline and blocK)
// --------------------------------------------------


// Inline and block code styles
code,
kdb,
pre,
samp {
  font-family: @font-family-monospace;
}

// Inline code
code {
  font-size: 75%;
  color: @code-color;
  background-color: @code-bg;
  border-radius: @border-radius-base;
}

// Blocks of code
pre {
  padding: ((@line-height-computed - 6) / 3);
  margin: 0 0 (@line-height-computed / 2);
  font-size: (@font-size-base - 5); // 18px to 13px
  line-height: @line-height-base;
  color: @pre-color;
  background-color: @pre-bg;
  border: 2px solid @pre-border-color;
  border-radius: @pre-border-radius;
  white-space: pre;
}

// Enable scrollable blocks of code
.pre-scrollable {
  max-height: @pre-scrollable-max-height;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flatui-rails-less-1.3 vendor/assets/stylesheets/modules/code.less
flatui-rails-less-1.1 vendor/assets/stylesheets/modules/code.less
flatui-rails-less-1.0 vendor/assets/stylesheets/modules/code.less