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


// Inline and block code styles
code,
kbd,
samp,
pre {
  padding: 0 3px 2px;
  font-family: var(--fontMono);
  border-radius: 3px;
}

// Inline code
code {
  padding: 2px 4px;
  border: 1px solid #e1e1e8;
}

// Blocks of code
pre {
  display: block;
  padding: (@baseLineHeight / 2);
  margin: 0 0 (@baseLineHeight / 2);
  white-space: pre-wrap;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 4px;

  // Account for some code outputs that place code tags in pre tags
  code {
    padding: 0;
    border: 0;
  }
}
