Decore code

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-04-24 17:01:09 +04:00
parent fe613b7d2b
commit b0267d5554
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -0,0 +1,25 @@
@import 'utilities/borderradius';
code {
background: $color-tertiary;
font-size: 86%;
margin: 0 .2rem;
padding: .2rem .5rem;
white-space: nowrap;
@include borderradius(.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 borderradius(0);
}
}