popov.link/_scss/components/theme/_code.scss
Valentin Popov 131e332a03
Correct renaming of functions
Signed-off-by: Valentin Popov <info@valentineus.link>
2018-04-24 17:48:36 +04:00

26 lines
414 B
SCSS

@import 'utilities/borderradius';
code {
background: $color-tertiary;
font-size: 86%;
margin: 0 .2rem;
padding: .2rem .5rem;
white-space: nowrap;
@include border-radius(.4rem);
}
pre {
background: $color-tertiary;
border-left: .3rem solid $color-primary;
overflow-x: auto;
& > code {
display: block;
padding: 1rem 1.5rem;
white-space: pre;
@include border-radius(0);
}
}