// Inline code
code {
  color: $code-color;
  background-color: $code-bg;

  // Streamline the style when inside anchors to avoid broken underline and more
  a > & {
    color: inherit;
    // background-color: inherit;
  }
}

// User input typically entered via keyboard
kbd {
  color: $kbd-color;
  background-color: $kbd-bg;
  @include box-shadow($kbd-box-shadow);

  kbd {
    @include box-shadow(none);
  }
}

// Blocks of code
pre {
  color: $pre-color;

  // Account for some code outputs that place code tags in pre tags
  code {
    color: inherit;
    // background-color: transparent;
  }
}
