From c176ae37182e3a5e018dee99d138db11b3c673db Mon Sep 17 00:00:00 2001 From: Michael Parenteau Date: Sat, 12 Oct 2013 02:33:43 -0700 Subject: [PATCH] making code style contrast a little nicer on eyes and adding border/border-radius --- source/assets/stylesheets/foundation/_code.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/assets/stylesheets/foundation/_code.scss b/source/assets/stylesheets/foundation/_code.scss index 140e114..febfe1b 100644 --- a/source/assets/stylesheets/foundation/_code.scss +++ b/source/assets/stylesheets/foundation/_code.scss @@ -6,8 +6,11 @@ pre { family: $font-family-code; } white-space: pre-wrap; - background: rgba($color-background-shade, .2); + background: rgba($color-background-shade, .175); color: $color-text-strong; + @include border-radius(4px); + border: 1px solid #ebebeb; + @include box-sizing(border-box); } code { @@ -22,6 +25,7 @@ pre { display: block; // max-height: 340px; overflow-y: auto; + margin: auto 0 25px; word: { break: break-all; wrap: break-word; @@ -34,4 +38,7 @@ pre { font-size: inherit; line-height: inherit; } + &.highlight .err { + background: #fcc; + } }