milligram/src/_Code.sass

23 lines
480 B
Sass
Raw Normal View History

2015-12-26 01:56:28 +00:00
// Code
//
code
background: $color-tertiary
border-radius: .4rem
font-size: 86%
margin: 0 .2rem
2016-08-01 06:04:03 +00:00
padding: .2rem .5rem
2015-12-26 01:56:28 +00:00
white-space: nowrap
2016-01-06 06:38:50 +00:00
pre
background: $color-tertiary
border-left: .3rem solid $color-primary
2016-12-07 15:36:28 +00:00
overflow-y: hidden
2016-01-06 06:38:50 +00:00
& > code
border-radius: 0
display: block
padding: 1rem 1.5rem
white-space: pre