Sha256: 5039c4026e98b2a16ee11f43243bb504fac60367ac65bad5d33628fe504041cc

Contents?: true

Size: 1.08 KB

Versions: 58

Compression:

Stored size: 1.08 KB

Contents

//
// Code (inline and block)
// --------------------------------------------------


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

// Inline code
code {
  padding: 2px 4px;
  font-size: 90%;
  color: $code-color;
  background-color: $code-bg;
  white-space: nowrap;
  border-radius: $border-radius-base;
}

// Blocks of code
pre {
  display: block;
  padding: (($line-height-computed - 1) / 2);
  margin: 0 0 ($line-height-computed / 2);
  font-size: ($font-size-base - 1); // 14px to 13px
  line-height: $line-height-base;
  word-break: break-all;
  word-wrap: break-word;
  color: $pre-color;
  background-color: $pre-bg;
  border: 1px solid $pre-border-color;
  border-radius: $border-radius-base;

  // Account for some code outputs that place code tags in pre tags
  code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0;
  }
}

// Enable scrollable blocks of code
.pre-scrollable {
  max-height: $pre-scrollable-max-height;
  overflow-y: scroll;
}

Version data entries

58 entries across 58 versions & 9 rubygems

Version Path
praxis-0.19.0 lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_code.scss
praxis-0.18.1 lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_code.scss
praxis-0.18.0 lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_code.scss
praxis-0.17.1 lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_code.scss
praxis-0.17.0 lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_code.scss
praxis-0.16.1 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.16.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.15.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
audit_rails-2.0.10 app/assets/stylesheets/audit_rails/twitter/_code.scss
praxis-0.14.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.13.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.11.2 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.11.1 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.11 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.11pre lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.10.1 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.10.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
praxis-0.9 lib/api_browser/app/bower_components/bootstrap-sass/lib/_code.scss
audit_rails-2.0.9 app/assets/stylesheets/audit_rails/twitter/_code.scss
test_server-0.3.4 vendor/assets/components/bootstrap-sass/lib/_code.scss