forked from mCaptcha/website
43 lines
567 B
SCSS
43 lines
567 B
SCSS
pre,
|
|
code,
|
|
kbd,
|
|
samp {
|
|
font-family: $font-family-monospace;
|
|
font-size: $font-size-sm;
|
|
border-radius: $border-radius;
|
|
}
|
|
|
|
pre {
|
|
background: $beige;
|
|
color: $black;
|
|
line-height: $line-height-base;
|
|
margin: 2rem 0;
|
|
overflow: auto;
|
|
padding: 1.25rem 1.5rem;
|
|
tab-size: 4;
|
|
}
|
|
|
|
code {
|
|
background: $beige;
|
|
color: $black;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
pre code {
|
|
background: none;
|
|
font-size: inherit;
|
|
padding: 0;
|
|
}
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
pre {
|
|
margin: 2rem -1.5rem;
|
|
}
|
|
|
|
pre,
|
|
code,
|
|
kbd,
|
|
samp {
|
|
border-radius: 0;
|
|
}
|
|
}
|