code created
This commit is contained in:
parent
1a03684c6a
commit
2fce8d56f0
23
sass/_Code.sass
Normal file
23
sass/_Code.sass
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
// 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
|
Loading…
Reference in New Issue
Block a user