pre,
code,
kbd,
samp {
  font-family: $font-family-monospace;
  font-size: $font-size-sm;
  border-radius: $border-radius;
}

pre {
  background: #282a36;
  color: #f8f8f2;
  line-height: $line-height-lg;
  margin: 2rem 0;
  overflow: auto;
  padding: 1.25rem 1.5rem;
  tab-size: 4;
}

code {
  background: #282a36;
  color: #f8f8f2;
  padding: 0.25rem 0.5rem;
}

pre code {
  background: none;
  font-size: inherit;
  padding: 0;
}

@include media-breakpoint-down(xs) {
  pre {
    margin: 2rem -1.5rem;
  }

  pre,
  code,
  kbd,
  samp {
    border-radius: 0;
  }
}
