improvement in code module

This commit is contained in:
CJ Patoilo 2016-01-06 03:38:50 -03:00
parent 284caf64e1
commit eaaef03d28

View File

@ -2,11 +2,6 @@
// 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
@ -15,9 +10,14 @@ code
margin: 0 .2rem
white-space: nowrap
pre > code
background: transparent
border-radius: 0
display: block
padding: 1rem 1.5rem
white-space: pre
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: transparent
border-radius: 0
display: block
padding: 1rem 1.5rem
white-space: pre