diff --git a/sass/_Code.sass b/sass/_Code.sass new file mode 100644 index 0000000..4903467 --- /dev/null +++ b/sass/_Code.sass @@ -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