code {
  @include border-radius($code-border-radius);

  font-size: $code-font-size;
  padding: $code-padding-y $code-padding-x;
  word-break: break-word;
}

kbd {
  @include border-radius($code-border-radius);

  font-size: $code-font-size;
  padding: $code-padding-y $code-padding-x;

  kbd {
    font-size: 100%;
    font-weight: bolder;
    padding: 0;
  }
}

pre {
  @include border-radius($code-border-radius);

  display: block;
  font-size: $code-font-size;

  code {
    background-color: transparent;
    border-radius: 0;
    font-size: inherit;
    padding: 0;
    word-break: normal;
  }
}

.pre-scrollable {
  max-height: $pre-scrollable-max-height;
  overflow-y: scroll;
}
