diff --git a/themes/vanilla/assets/scss/style.scss b/themes/vanilla/assets/scss/style.scss index 857af4c..e01d7d0 100755 --- a/themes/vanilla/assets/scss/style.scss +++ b/themes/vanilla/assets/scss/style.scss @@ -39,11 +39,19 @@ pre code { display: block; padding: 0.5rem; overflow-x: auto; - background-color: $code-color; + border: $code-border; } -div.highlight table pre { - margin: 0; +div.highlight table { + border: $code-border !important; + + pre { + margin: 0; + } + + code { + border: none; + } } .container { diff --git a/themes/vanilla/assets/scss/variables.scss b/themes/vanilla/assets/scss/variables.scss index 32b5920..dbfb750 100644 --- a/themes/vanilla/assets/scss/variables.scss +++ b/themes/vanilla/assets/scss/variables.scss @@ -12,3 +12,4 @@ $font-body: "Raleway", serif; $font-code: "Inconsolata", monospace; $standard-border: $standard-border-width solid $border-color; +$code-border: 0.0375rem solid darken($code-color, 10%);