From adb894869e70e5920e1ff5b6577baa1ac7618bd9 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 2 Nov 2019 17:53:31 -0700 Subject: [PATCH] Remove code border. --- themes/vanilla/assets/scss/style.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/themes/vanilla/assets/scss/style.scss b/themes/vanilla/assets/scss/style.scss index e0783a5..f527107 100755 --- a/themes/vanilla/assets/scss/style.scss +++ b/themes/vanilla/assets/scss/style.scss @@ -1,6 +1,8 @@ $container-width: 800px; $primary-color: #36e281; $primary-color-dark: darken($primary-color, 10%); +$code-color: #f0f0f0; +$code-color-dark: darken($code-color, 10%); $font-heading: "Lora", serif; $font-body: "Raleway", serif; $font-code: "Inconsolata", monospace; @@ -10,6 +12,7 @@ body { font-size: 1.0em; line-height: 1.5; margin-bottom: 1em; + text-align: justify; } h1, h2, h3, h4, h5, h6 { @@ -29,14 +32,14 @@ h1, h2, h3, h4, h5, h6 { code { font-family: $font-code; - background-color: #f0f0f0; + background-color: $code-color; } pre code { display: block; padding: 0.5em; overflow-x: auto; - background-color: #f0f0f0; + background-color: $code-color; } .container {