improvement in code module
This commit is contained in:
parent
284caf64e1
commit
eaaef03d28
@ -2,11 +2,6 @@
|
|||||||
// Code
|
// 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
|
code
|
||||||
background: $color-tertiary
|
background: $color-tertiary
|
||||||
border-radius: .4rem
|
border-radius: .4rem
|
||||||
@ -15,9 +10,14 @@ code
|
|||||||
margin: 0 .2rem
|
margin: 0 .2rem
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
pre > code
|
pre
|
||||||
background: transparent
|
background: $color-tertiary
|
||||||
border-radius: 0
|
border-left: .3rem solid $color-primary
|
||||||
display: block
|
font-family: Menlo, Consolas, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, monospace
|
||||||
padding: 1rem 1.5rem
|
|
||||||
white-space: pre
|
& > code
|
||||||
|
background: transparent
|
||||||
|
border-radius: 0
|
||||||
|
display: block
|
||||||
|
padding: 1rem 1.5rem
|
||||||
|
white-space: pre
|
||||||
|
Loading…
Reference in New Issue
Block a user