milligram/sass/_Code.sass

24 lines
579 B
Sass
Raw Normal View History

2015-12-26 01:56:28 +00:00
// Code
//
pre
background: $color-tertiary
border-left: .3rem solid $color-primary
font-family: Menlo, Consolas, "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, monospace
code
background: $color-tertiary
border-radius: .4rem
font-size: 86%
padding: .2rem .5rem
margin: 0 .2rem
white-space: nowrap
pre > code
background: transparent
border-radius: 0
display: block
padding: 1rem 1.5rem
white-space: pre